depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_functools/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
644 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;
};
}