Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
880 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchPypi, setuptools, python,}:
buildPythonPackage rec { pname = "lit"; version = "18.1.8"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-R8F0oYaUGugw8E3tdqNERgC+Z9Xl+4KCw3g/umccTts="; };
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 = [ ]; };}