2017-08-29 07:32:42 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, six, pathpy, zetup, pytest
|
|
|
|
, decorator }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "moretools";
|
2019-08-20 15:02:06 +01:00
|
|
|
version = "0.1.10";
|
2017-08-29 07:32:42 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 15:02:06 +01:00
|
|
|
sha256 = "1rvd9kl0163gm5kqwsb2m44x87sp72k5pirvcmhy2ffix4pzadqp";
|
2017-08-29 07:32:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test
|
|
|
|
'';
|
|
|
|
|
2019-03-15 20:52:37 +00:00
|
|
|
nativeBuildInputs = [ zetup ];
|
|
|
|
checkInputs = [ six pathpy pytest ];
|
|
|
|
propagatedBuildInputs = [ decorator ];
|
2017-08-29 07:32:42 +01: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 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-08-29 07:32:42 +01:00
|
|
|
};
|
|
|
|
}
|