1{ buildPythonPackage
2, cliff
3, docutils
4, stestr
5, testscenarios
6}:
7
8buildPythonPackage rec {
9 pname = "cliff";
10 inherit (cliff) version;
11
12 src = cliff.src;
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 checkInputs = [
24 cliff
25 docutils
26 stestr
27 testscenarios
28 ];
29
30 checkPhase = ''
31 stestr run
32 '';
33}