Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 30 lines 732 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, six, pathpy, zetup, pytest 3, decorator }: 4 5buildPythonPackage rec { 6 pname = "moretools"; 7 version = "0.1.8"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "03ni7k0kcgrm3y605c29gqlyp779fx1xc3r8xb742lzd6ni30kdg"; 12 }; 13 14 checkPhase = '' 15 py.test test 16 ''; 17 18 nativeBuildInputs = [ zetup ]; 19 checkInputs = [ six pathpy pytest ]; 20 propagatedBuildInputs = [ decorator ]; 21 22 meta = with stdenv.lib; { 23 description = '' 24 Many more basic tools for python 2/3 extending itertools, functools, operator and collections 25 ''; 26 homepage = https://bitbucket.org/userzimmermann/python-moretools; 27 license = licenses.gpl3Plus; 28 platforms = platforms.unix; 29 }; 30}