1{
2 buildPythonPackage,
3 cliff,
4 sphinx,
5 stestr,
6 testscenarios,
7}:
8
9buildPythonPackage {
10 pname = "cliff";
11 inherit (cliff) version src;
12 format = "other";
13
14 postPatch = ''
15 # only a small portion of the listed packages are actually needed for running the tests
16 # so instead of removing them one by one remove everything
17 rm test-requirements.txt
18 '';
19
20 dontBuild = true;
21 dontInstall = true;
22
23 nativeCheckInputs = [
24 cliff
25 sphinx
26 stestr
27 testscenarios
28 ];
29
30 checkPhase = ''
31 stestr run
32 '';
33}