504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
33 lines
831 B
Nix
33 lines
831 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lit";
|
|
version = "17.0.1";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|