summary refs log tree commit diff
path: root/pkgs/development/python-modules/jaraco_functools/default.nix
blob: cbff3f8b45a8713bfcdd7c6dc96f12525549ccdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi
, setuptools_scm
, more-itertools, backports_functools_lru_cache }:

buildPythonPackage rec {
  pname = "jaraco.functools";
  version = "1.20";

  src = fetchPypi {
    inherit pname version;
    sha256 = "bad775f06e58bb8de5563bc2a8bf704168919e6779d6e849b1ca58b443e97f3b";
  };

  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;
  };
}