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

26 lines
600 B
Nix
Raw Normal View History

2020-03-31 18:41:19 +02:00
{ lib, python3 }:
2017-03-08 18:00:11 +01:00
2020-03-31 18:41:19 +02:00
python3.pkgs.buildPythonApplication rec {
2017-03-08 18:00:11 +01:00
pname = "lit";
2020-06-03 18:49:21 +02:00
version = "0.10.0";
2017-03-08 18:00:11 +01:00
2020-03-31 18:41:19 +02:00
src = python3.pkgs.fetchPypi {
2017-03-08 18:00:11 +01:00
inherit pname version;
2020-06-03 18:49:21 +02:00
sha256 = "13s8v9s2f284fnh47xdyc75gq2i9pndl39q8v4wl7v7lwri2hv8r";
2017-03-08 18:00:11 +01:00
};
2020-03-31 19:34:04 +02:00
passthru = {
python = python3;
};
2017-03-08 18:00:11 +01: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 06:47:15 +02:00
homepage = "http://llvm.org/docs/CommandGuide/lit.html";
2017-03-08 18:00:11 +01:00
license = lib.licenses.ncsa;
maintainers = with lib.maintainers; [ dtzWill ];
};
}