aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix b/nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix
new file mode 100644
index 00000000000..e0bbde47d25
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/jaraco_functools/2.nix
@@ -0,0 +1,25 @@
+{ 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 = "0ickpwvvdrlbm477gdzfjfcbgmfia9ksm9a3i3pbx9xia97r9fim";
+ };
+
+ 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;
+ };
+}