1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 more-itertools,
6 setuptools,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "jaraco-functools";
12 version = "4.0.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "jaraco_functools";
17 inherit version;
18 hash = "sha256-0z+nZTdMBhG1L4s6eV+JAIaaqIyEdp1NF0bNaPsow+g=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 setuptools-scm
24 ];
25
26 propagatedBuildInputs = [ more-itertools ];
27
28 doCheck = false;
29
30 pythonNamespaces = [ "jaraco" ];
31
32 pythonImportsCheck = [ "jaraco.functools" ];
33
34 meta = with lib; {
35 description = "Additional functools in the spirit of stdlib's functools";
36 homepage = "https://github.com/jaraco/jaraco.functools";
37 license = licenses.mit;
38 maintainers = with maintainers; [ ];
39 };
40}