depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco-functools/default.nix

41 lines
773 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
more-itertools,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "jaraco-functools";
version = "4.0.1";
pyproject = true;
src = fetchPypi {
pname = "jaraco_functools";
inherit version;
hash = "sha256-0z+nZTdMBhG1L4s6eV+JAIaaqIyEdp1NF0bNaPsow+g=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ more-itertools ];
doCheck = false;
pythonNamespaces = [ "jaraco" ];
pythonImportsCheck = [ "jaraco.functools" ];
meta = with lib; {
description = "Additional functools in the spirit of stdlib's functools";
homepage = "https://github.com/jaraco/jaraco.functools";
license = licenses.mit;
maintainers = [ ];
};
}