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

26 lines
599 B
Nix
Raw Normal View History

2020-03-31 16:41:19 +00:00
{ lib, python3 }:
2017-03-08 17:00:11 +00:00
2020-03-31 16:41:19 +00:00
python3.pkgs.buildPythonApplication rec {
2017-03-08 17:00:11 +00:00
pname = "lit";
2020-03-31 04:47:15 +00:00
version = "0.9.0";
2017-03-08 17:00:11 +00:00
2020-03-31 16:41:19 +00:00
src = python3.pkgs.fetchPypi {
2017-03-08 17:00:11 +00:00
inherit pname version;
2020-03-31 04:47:15 +00:00
sha256 = "0vkqv0ijjkfg70j26cxqz75bpn2p78all5j5cw2gfcrn4c5aldf0";
2017-03-08 17:00:11 +00:00
};
2020-03-31 17:34:04 +00: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 04:47:15 +00: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 ];
};
}