python.pkgs.hcs_utils: fix tests; disable python2
This commit is contained in:
parent
755e6eb22e
commit
46c30b2232
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }:
|
{ stdenv, pythonOlder, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hcs_utils";
|
pname = "hcs_utils";
|
||||||
@ -12,7 +12,15 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
buildInputs = [ six glibcLocales pytest ];
|
checkPhase = ''
|
||||||
|
# root does not has /root as home in sandbox
|
||||||
|
py.test -k 'not test_expand' hcs_utils/test
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ six glibcLocales ];
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Library collecting some useful snippets";
|
description = "Library collecting some useful snippets";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user