depot/third_party/nixpkgs/pkgs/development/python-modules/lit/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

33 lines
831 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "lit";
version = "17.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-RIZ65Xa1eQVnsSC8Pw2fAh2slCTRsIQMdazYX0YQrAQ=";
};
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";
homepage = "http://llvm.org/docs/CommandGuide/lit.html";
license = lib.licenses.ncsa;
maintainers = with lib.maintainers; [ dtzWill ];
};
}