lol

python.pkgs.hcs_utils: fix tests; disable python2

+10 -2
+10 -2
pkgs/development/python-modules/hcs_utils/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }: 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 - buildInputs = [ six glibcLocales pytest ]; 15 + checkPhase = '' 16 + # root does not has /root as home in sandbox 17 + py.test -k 'not test_expand' hcs_utils/test 18 + ''; 19 + 20 + buildInputs = [ six glibcLocales ]; 21 + checkInputs = [ pytest ]; 22 + 23 + disabled = pythonOlder "3.4"; 16 24 17 25 meta = with stdenv.lib; { 18 26 description = "Library collecting some useful snippets";