Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 six, 6 glibcLocales, 7 pytest, 8}: 9 10buildPythonPackage rec { 11 pname = "hcs-utils"; 12 version = "2.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 pname = "hcs_utils"; 17 inherit version; 18 sha256 = "04xq69hrys8lf9kp8pva0c4aphjjfw412km7c32ydkwq0i59rhp2"; 19 }; 20 21 LC_ALL = "en_US.UTF-8"; 22 23 checkPhase = '' 24 # root does not has /root as home in sandbox 25 py.test -k 'not test_expand' hcs_utils/test 26 ''; 27 28 buildInputs = [ 29 six 30 glibcLocales 31 ]; 32 nativeCheckInputs = [ pytest ]; 33 34 meta = with lib; { 35 description = "Library collecting some useful snippets"; 36 homepage = "https://pypi.python.org/pypi/hcs_utils/1.3"; 37 license = licenses.isc; 38 maintainers = with maintainers; [ lovek323 ]; 39 platforms = platforms.unix; 40 }; 41}