@@ -0,0 +1,22 @@
1+{ lib, python2 }:
2+
3+python2.pkgs.buildPythonApplication rec {
4+ pname = "lit";
5+ version = "0.5.0";
6+ name = "${pname}-${version}";
7+
8+ src = python2.pkgs.fetchPypi {
9+ inherit pname version;
10+ sha256 = "3ea4251e78ebeb2e07be2feb33243d1f8931d956efc96ccc2b0846ced212b58c";
11+ };
12+
13+ # Non-standard test suite. Needs custom checkPhase.
14+ doCheck = false;
15+
16+ meta = {
17+ description = "Portable tool for executing LLVM and Clang style test suites";
18+ homepage = "http://llvm.org/docs/CommandGuide/lit.html";
19+ license = lib.licenses.ncsa;
20+ maintainers = with lib.maintainers; [ dtzWill ];
21+ };
22+}