summary refs log tree commit diff
path: root/pkgs/development/tools/misc/lit/default.nix
blob: 8a36c52e7ae31608ecb37ff396e46c1f5a5a34b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, python3 }:

python3.pkgs.buildPythonApplication rec {
  pname = "lit";
  version = "13.0.0";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    sha256 = "4da976f3d114e4ba6ba06cbe660ce1393230f4519c4df15b90bc1840f00e4195";
  };

  passthru = {
    python = python3;
  };

  # Non-standard test suite. Needs custom checkPhase.
  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 ];
  };
}