2017-08-29 08:32:42 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, six, pathpy, zetup, pytest
|
|
|
|
, decorator }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "moretools";
|
|
|
|
version = "0.1.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "03ni7k0kcgrm3y605c29gqlyp779fx1xc3r8xb742lzd6ni30kdg";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test
|
|
|
|
'';
|
|
|
|
|
2019-03-15 21:52:37 +01:00
|
|
|
nativeBuildInputs = [ zetup ];
|
|
|
|
checkInputs = [ six pathpy pytest ];
|
|
|
|
propagatedBuildInputs = [ decorator ];
|
2017-08-29 08:32:42 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''
|
|
|
|
Many more basic tools for python 2/3 extending itertools, functools, operator and collections
|
|
|
|
'';
|
|
|
|
homepage = https://bitbucket.org/userzimmermann/python-moretools;
|
|
|
|
license = licenses.gpl3Plus;
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2017-08-29 08:32:42 +02:00
|
|
|
};
|
|
|
|
}
|