b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
32 lines
806 B
Nix
32 lines
806 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lit";
|
|
version = "17.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-RIZ65Xa1eQVnsSC8Pw2fAh2slCTRsIQMdazYX0YQrAQ=";
|
|
};
|
|
|
|
passthru = {
|
|
inherit python;
|
|
};
|
|
|
|
# Non-standard test suite. Needs custom checkPhase.
|
|
# Needs LLVM's `FileCheck` and `not`: `$out/bin/lit tests`
|
|
# There should be `llvmPackages.lit` since older LLVM versions may
|
|
# have the possibility of not correctly interfacing with newer lit versions
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Portable tool for executing LLVM and Clang style test suites";
|
|
homepage = "http://llvm.org/docs/CommandGuide/lit.html";
|
|
license = lib.licenses.ncsa;
|
|
maintainers = with lib.maintainers; [ dtzWill ];
|
|
};
|
|
}
|