1{ lib, pythonOlder, buildPythonPackage, fetchPypi, six, glibcLocales, pytest }: 2 3buildPythonPackage rec { 4 pname = "hcs_utils"; 5 version = "2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "04xq69hrys8lf9kp8pva0c4aphjjfw412km7c32ydkwq0i59rhp2"; 10 }; 11 12 LC_ALL="en_US.UTF-8"; 13 14 checkPhase = '' 15 # root does not has /root as home in sandbox 16 py.test -k 'not test_expand' hcs_utils/test 17 ''; 18 19 buildInputs = [ six glibcLocales ]; 20 nativeCheckInputs = [ pytest ]; 21 22 disabled = pythonOlder "3.4"; 23 24 meta = with lib; { 25 description = "Library collecting some useful snippets"; 26 homepage = "https://pypi.python.org/pypi/hcs_utils/1.3"; 27 license = licenses.isc; 28 maintainers = with maintainers; [ lovek323 ]; 29 platforms = platforms.unix; 30 }; 31}