1{ lib, buildPythonPackage, fetchPypi
2, setuptools-scm
3, more-itertools, backports_functools_lru_cache }:
4
5buildPythonPackage rec {
6 pname = "jaraco.functools";
7 version = "2.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "0ickpwvvdrlbm477gdzfjfcbgmfia9ksm9a3i3pbx9xia97r9fim";
12 };
13
14 propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
15
16 doCheck = false;
17
18 buildInputs = [ setuptools-scm ];
19
20 meta = with lib; {
21 description = "Additional functools in the spirit of stdlib's functools";
22 homepage = "https://github.com/jaraco/jaraco.functools";
23 license = licenses.mit;
24 };
25}