2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2022-04-27 09:35:20 +00:00
|
|
|
, six, path, zetup, pytest
|
2020-04-24 23:36:52 +00:00
|
|
|
, decorator }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "moretools";
|
|
|
|
version = "0.1.12";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ zetup ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ six path pytest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ decorator ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|