nixpkgs/pkgs/development/tools/misc/lit/default.nix

26 lines
600 B
Nix
Raw Normal View History

2020-03-31 17:41:19 +01:00
{ lib, python3 }:
2017-03-08 17:00:11 +00:00
2020-03-31 17:41:19 +01:00
python3.pkgs.buildPythonApplication rec {
2017-03-08 17:00:11 +00:00
pname = "lit";
2020-06-03 17:49:21 +01:00
version = "0.10.0";
2017-03-08 17:00:11 +00:00
2020-03-31 17:41:19 +01:00
src = python3.pkgs.fetchPypi {
2017-03-08 17:00:11 +00:00
inherit pname version;
2020-06-03 17:49:21 +01:00
sha256 = "13s8v9s2f284fnh47xdyc75gq2i9pndl39q8v4wl7v7lwri2hv8r";
2017-03-08 17:00:11 +00:00
};
2020-03-31 18:34:04 +01:00
passthru = {
python = python3;
};
2017-03-08 17:00:11 +00:00
# Non-standard test suite. Needs custom checkPhase.
doCheck = false;
meta = {
description = "Portable tool for executing LLVM and Clang style test suites";
2020-03-31 05:47:15 +01:00
homepage = "http://llvm.org/docs/CommandGuide/lit.html";
2017-03-08 17:00:11 +00:00
license = lib.licenses.ncsa;
maintainers = with lib.maintainers; [ dtzWill ];
};
}