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 buildInputs = [ six pathpy pytest ];
19 propagatedBuildInputs = [ decorator zetup ];
20
21 meta = with stdenv.lib; {
22 description = ''
23 Many more basic tools for python 2/3 extending itertools, functools, operator and collections
24 '';
25 homepage = https://bitbucket.org/userzimmermann/python-moretools;
26 license = licenses.gpl3Plus;
27 platforms = platforms.linux;
28 };
29}