nixpkgs/pkgs/development/python-modules/moretools/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

32 lines
764 B
Nix

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