1{ stdenv, pythonOlder, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }: 2 3buildPythonPackage rec { 4 pname = "hcs_utils"; 5 version = "2.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "04xq69hrys8lf9kp8pva0c4aphjjfw412km7c32ydkwq0i59rhp2"; 11 }; 12 13 LC_ALL="en_US.UTF-8"; 14 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"; 24 25 meta = with stdenv.lib; { 26 description = "Library collecting some useful snippets"; 27 homepage = https://pypi.python.org/pypi/hcs_utils/1.3; 28 license = licenses.isc; 29 maintainers = with maintainers; [ lovek323 ]; 30 platforms = platforms.unix; 31 }; 32}