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