depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco-functools/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

40 lines
773 B
Nix

{
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 = [ ];
};
}