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