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