mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
28 lines
482 B
Nix
28 lines
482 B
Nix
{
|
|
buildPythonPackage,
|
|
cliff,
|
|
sphinx,
|
|
stestrCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "cliff";
|
|
inherit (cliff) version src;
|
|
pyproject = false;
|
|
|
|
postPatch = ''
|
|
# only a small portion of the listed packages are actually needed for running the tests
|
|
# so instead of removing them one by one remove everything
|
|
rm test-requirements.txt
|
|
'';
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
nativeCheckInputs = [
|
|
cliff
|
|
sphinx
|
|
stestrCheckHook
|
|
];
|
|
}
|