summary refs log tree commit diff
path: root/pkgs/development/tools/misc/lit/default.nix
blob: 1e511cc0f0b026b116c5a619ee05a265d045570b (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 = "0.9.0";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    sha256 = "0vkqv0ijjkfg70j26cxqz75bpn2p78all5j5cw2gfcrn4c5aldf0";
  };

  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 ];
  };
}