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

26 lines
646 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, setuptools_scm
, more-itertools, backports_functools_lru_cache }:
buildPythonPackage rec {
pname = "jaraco.functools";
2020-06-06 07:47:14 +01:00
version = "3.0.1";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:14 +01:00
sha256 = "9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4";
};
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;
};
}