1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5}:
6
7buildPythonPackage rec {
8 pname = "lit";
9 version = "17.0.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-RIZ65Xa1eQVnsSC8Pw2fAh2slCTRsIQMdazYX0YQrAQ=";
14 };
15
16 passthru = {
17 inherit python;
18 };
19
20 # Non-standard test suite. Needs custom checkPhase.
21 # Needs LLVM's `FileCheck` and `not`: `$out/bin/lit tests`
22 # There should be `llvmPackages.lit` since older LLVM versions may
23 # have the possibility of not correctly interfacing with newer lit versions
24 doCheck = false;
25
26 meta = {
27 description = "Portable tool for executing LLVM and Clang style test suites";
28 homepage = "http://llvm.org/docs/CommandGuide/lit.html";
29 license = lib.licenses.ncsa;
30 maintainers = with lib.maintainers; [ dtzWill ];
31 };
32}