2018-07-23 19:47:18 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, more-itertools, backports_functools_lru_cache }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.functools";
|
2019-02-14 07:37:18 +00:00
|
|
|
version = "2.0";
|
2018-07-23 19:47:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:18 +00:00
|
|
|
sha256 = "35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345";
|
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;
|
|
|
|
};
|
|
|
|
}
|