nixpkgs/pkgs/development/python-modules/jaraco_functools/default.nix

26 lines
642 B
Nix
Raw Normal View History

{ 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";
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:18 +00:00
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;
};
}