tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.graphviz: fix tests
Robert Schütz
4 years ago
c4ae1753
fc4cc6ca
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
graphviz
default.nix
+9
-2
pkgs/development/python-modules/graphviz/default.nix
···
8
8
, mock
9
9
, pytestCheckHook
10
10
, pytest-mock
11
11
-
, pytestcov
12
11
}:
13
12
14
13
buildPythonPackage rec {
···
30
29
})
31
30
];
32
31
32
32
+
postPatch = ''
33
33
+
sed -i "/--cov/d" setup.cfg
34
34
+
'';
35
35
+
33
36
# Fontconfig error: Cannot load default config file
34
37
FONTCONFIG_FILE = makeFontsConf {
35
38
fontDirectories = [ freefont_ttf ];
36
39
};
37
40
38
38
-
checkInputs = [ mock pytestCheckHook pytest-mock pytestcov ];
41
41
+
checkInputs = [ mock pytestCheckHook pytest-mock ];
42
42
+
43
43
+
preCheck = ''
44
44
+
export HOME=$TMPDIR
45
45
+
'';
39
46
40
47
meta = with lib; {
41
48
description = "Simple Python interface for Graphviz";