2018-07-23 21:47:18 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-06-03 12:09:11 +02:00
|
|
|
, setuptools-scm, toml
|
2018-07-23 21:47:18 +02:00
|
|
|
, more-itertools, backports_functools_lru_cache }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.functools";
|
2021-06-18 23:47:23 +02:00
|
|
|
version = "3.3.0";
|
2018-07-23 21:47:18 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:23 +02:00
|
|
|
sha256 = "bfcf7da71e2a0e980189b0744b59dba6c1dcf66dcd7a30f8a4413e478046b314";
|
2018-07-23 21:47:18 +02:00
|
|
|
};
|
|
|
|
|
2021-06-03 12:09:11 +02:00
|
|
|
nativeBuildInputs = [ setuptools-scm toml ];
|
2020-06-12 19:33:39 +02:00
|
|
|
|
2018-07-23 21:47:18 +02:00
|
|
|
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-11-20 19:51:30 +01:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2018-07-23 21:47:18 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Additional functools in the spirit of stdlib's functools";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jaraco/jaraco.functools";
|
2018-07-23 21:47:18 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|