nixpkgs/pkgs/development/python-modules/moretools/default.nix

31 lines
737 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, six, pathpy, zetup, pytest
, decorator }:
buildPythonPackage rec {
pname = "moretools";
2019-10-16 10:43:09 +01:00
version = "0.1.12";
src = fetchPypi {
inherit pname version;
2019-10-16 10:43:09 +01:00
sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
};
checkPhase = ''
py.test test
'';
2019-03-15 20:52:37 +00:00
nativeBuildInputs = [ zetup ];
checkInputs = [ six pathpy pytest ];
propagatedBuildInputs = [ decorator ];
meta = with 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;
platforms = platforms.unix;
};
}