1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 path,
7 zetup,
8 pytest,
9 decorator,
10}:
11
12buildPythonPackage rec {
13 pname = "moretools";
14 version = "0.1.12";
15 format = "setuptools";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
20 };
21
22 checkPhase = ''
23 py.test test
24 '';
25
26 nativeBuildInputs = [ zetup ];
27 nativeCheckInputs = [
28 six
29 path
30 pytest
31 ];
32 propagatedBuildInputs = [ decorator ];
33
34 meta = with lib; {
35 description = ''
36 Many more basic tools for python 2/3 extending itertools, functools, operator and collections
37 '';
38 homepage = "https://bitbucket.org/userzimmermann/python-moretools";
39 license = licenses.gpl3Plus;
40 platforms = platforms.unix;
41 };
42}