Files
nixpkgs/pkgs/development/python-modules/lit/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

39 lines
880 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
python,
}:
buildPythonPackage rec {
pname = "lit";
version = "18.1.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Ld2b4mvcxtoDrqPsRWxpRetaCdveVI01AL/5uO1HY7s=";
};
nativeBuildInputs = [ setuptools ];
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";
mainProgram = "lit";
homepage = "http://llvm.org/docs/CommandGuide/lit.html";
license = lib.licenses.ncsa;
maintainers = [ ];
};
}