26 lines
642 B
Nix
26 lines
642 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, setuptools_scm
|
|
, more-itertools, backports_functools_lru_cache }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco.functools";
|
|
version = "2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|