1{ lib, buildPythonPackage, fetchPypi 2, six, path, zetup, pytest 3, decorator }: 4 5buildPythonPackage rec { 6 pname = "moretools"; 7 version = "0.1.12"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22"; 12 }; 13 14 checkPhase = '' 15 py.test test 16 ''; 17 18 nativeBuildInputs = [ zetup ]; 19 nativeCheckInputs = [ six path pytest ]; 20 propagatedBuildInputs = [ decorator ]; 21 22 meta = with 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}