tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.hcs_utils: fix tests; disable python2
Jörg Thalheim
8 years ago
46c30b22
755e6eb2
+10
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
hcs_utils
default.nix
+10
-2
pkgs/development/python-modules/hcs_utils/default.nix
reviewed
···
1
1
-
{ stdenv, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }:
1
1
+
{ stdenv, pythonOlder, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }:
2
2
3
3
buildPythonPackage rec {
4
4
pname = "hcs_utils";
···
12
12
13
13
LC_ALL="en_US.UTF-8";
14
14
15
15
-
buildInputs = [ six glibcLocales pytest ];
15
15
+
checkPhase = ''
16
16
+
# root does not has /root as home in sandbox
17
17
+
py.test -k 'not test_expand' hcs_utils/test
18
18
+
'';
19
19
+
20
20
+
buildInputs = [ six glibcLocales ];
21
21
+
checkInputs = [ pytest ];
22
22
+
23
23
+
disabled = pythonOlder "3.4";
16
24
17
25
meta = with stdenv.lib; {
18
26
description = "Library collecting some useful snippets";