repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
evcc: 0.131.4 -> 0.131.5
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
cliff
/
tests.nix
blob
135cccba658a0849e150d22f9335a05f80d58058
1
{
2
buildPythonPackage,
3
cliff,
4
docutils,
5
stestr,
6
testscenarios,
7
}:
8
9
buildPythonPackage {
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
docutils
26
stestr
27
testscenarios
28
];
29
30
checkPhase = ''
31
stestr run
32
'';
33
}