Files
nixpkgs/pkgs/development/python-modules/lit/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

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