1{ stdenv, buildPythonPackage, fetchPypi
2, six, pathpy, zetup, pytest
3, decorator }:
4
5buildPythonPackage rec {
6 pname = "moretools";
7 version = "0.1.10";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "1rvd9kl0163gm5kqwsb2m44x87sp72k5pirvcmhy2ffix4pzadqp";
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}