1{ stdenv, buildPythonPackage, fetchPypi 2, six, pathpy, zetup, pytest 3, decorator }: 4 5buildPythonPackage rec { 6 name = "${pname}-${version}"; 7 pname = "moretools"; 8 version = "0.1.8"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "03ni7k0kcgrm3y605c29gqlyp779fx1xc3r8xb742lzd6ni30kdg"; 13 }; 14 15 checkPhase = '' 16 py.test test 17 ''; 18 19 buildInputs = [ six pathpy pytest ]; 20 propagatedBuildInputs = [ decorator zetup ]; 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.linux; 29 }; 30}