depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco-functools/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

41 lines
789 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 = with maintainers; [ ];
};
}