2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
cliff,
|
|
|
|
docutils,
|
|
|
|
stestr,
|
|
|
|
testscenarios,
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
buildPythonPackage {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "cliff";
|
2023-07-15 17:15:38 +00:00
|
|
|
inherit (cliff) version src;
|
|
|
|
format = "other";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
cliff
|
|
|
|
docutils
|
|
|
|
stestr
|
|
|
|
testscenarios
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run
|
|
|
|
'';
|
|
|
|
}
|