2020-06-07 08:50:43 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-06-03 11:09:11 +01:00
|
|
|
, setuptools-scm
|
2020-06-07 08:50:43 +01:00
|
|
|
, more-itertools, backports_functools_lru_cache }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.functools";
|
|
|
|
version = "2.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0ickpwvvdrlbm477gdzfjfcbgmfia9ksm9a3i3pbx9xia97r9fim";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-06-03 11:09:11 +01:00
|
|
|
buildInputs = [ setuptools-scm ];
|
2020-06-07 08:50:43 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Additional functools in the spirit of stdlib's functools";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.functools";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|