2018-07-23 19:47:18 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, more-itertools, backports_functools_lru_cache }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.functools";
|
2018-07-23 21:59:43 +00:00
|
|
|
version = "1.20";
|
2018-07-23 19:47:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-23 21:59:43 +00:00
|
|
|
sha256 = "bad775f06e58bb8de5563bc2a8bf704168919e6779d6e849b1ca58b443e97f3b";
|
2018-07-23 19:47:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Additional functools in the spirit of stdlib's functools";
|
|
|
|
homepage = https://github.com/jaraco/jaraco.functools;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|