nixpkgs/pkgs/development/python-modules/moretools/default.nix
Martin Weinelt 5ee7d17afc python3Packages.path: rename from path.py; 12.0.1 -> 16.4.0
The project had been renamed after 12.5.0 back in 2020, which is why we
didn't receive further updates.

Created an alias and renamed all existing references.
2022-04-15 01:39:54 +02:00

31 lines
733 B
Nix

{ lib, buildPythonPackage, fetchPypi
, six, path, zetup, pytest
, decorator }:
buildPythonPackage rec {
pname = "moretools";
version = "0.1.12";
src = fetchPypi {
inherit pname version;
sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
};
checkPhase = ''
py.test test
'';
nativeBuildInputs = [ zetup ];
checkInputs = [ six path 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;
};
}