5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
41 lines
789 B
Nix
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; [ ];
|
|
};
|
|
}
|