summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2021-06-26 14:45:48 +0200
committerGitHub <noreply@github.com>2021-06-26 14:45:48 +0200
commit40bb731ec71bdd7e85ae8c00208d90042e98ce21 (patch)
tree9c69fa2ab80d4fd3e8ea6ee0cf435ee9035e234b /pkgs/development/python-modules/GitPython
parent69015ede61fc27b7efa2a2f6241286a0b7e64720 (diff)
parent45003ba5f9ca91e9f9c30202bc4865e050586377 (diff)
Merge pull request #127151 from NixOS/staging-next
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
-rw-r--r--pkgs/development/python-modules/GitPython/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
index 547be5dc4dc5..eda574e69cb8 100644
--- a/pkgs/development/python-modules/GitPython/default.nix
+++ b/pkgs/development/python-modules/GitPython/default.nix
@@ -6,16 +6,18 @@
, git
, gitdb
, ddt
+, pythonOlder
+, typing-extensions
}:
buildPythonPackage rec {
pname = "GitPython";
- version = "3.1.14";
+ version = "3.1.18";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
- sha256 = "be27633e7509e58391f10207cd32b2a6cf5b908f92d9cd30da2e514e1137af61";
+ sha256 = "b838a895977b45ab6f0cc926a9045c8d1c44e2b653c1fcc39fe91f42c6e8f05b";
};
patches = [
@@ -25,7 +27,12 @@ buildPythonPackage rec {
})
];
- propagatedBuildInputs = [ gitdb ddt ];
+ propagatedBuildInputs = [
+ gitdb
+ ddt
+ ] ++ lib.optionals (pythonOlder "3.8") [
+ typing-extensions
+ ];
# Tests require a git repo
doCheck = false;