summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-02 06:20:03 +0000
committerGitHub <noreply@github.com>2021-02-02 06:20:03 +0000
commitefee2df4c47b310290d5ddd4f60ca288c1b7ebcc (patch)
treed0d59388eca0046eba66ee86637a003dd04cbcdf /pkgs/development/python-modules/GitPython
parent4c1eae91767133dfb4d80d835820d6c71842bb75 (diff)
parent7b5879cbd55dac245382550bd1ad3e4d1420c45a (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
-rw-r--r--pkgs/development/python-modules/GitPython/default.nix22
1 files changed, 15 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
index 2edb8c51e3a0..dad4a3de383d 100644
--- a/pkgs/development/python-modules/GitPython/default.nix
+++ b/pkgs/development/python-modules/GitPython/default.nix
@@ -1,13 +1,21 @@
-{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }:
+{ lib
+, buildPythonPackage
+, fetchPypi
+, isPy27
+, substituteAll
+, git
+, gitdb
+, ddt
+}:
buildPythonPackage rec {
- version = "3.1.11";
pname = "GitPython";
+ version = "3.1.12";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
- sha256 = "befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8";
+ sha256 = "sha256-Qtvv2NniV2xJbtAFnzED3O9xJbnOFvnV+cg0rtRKHaw=";
};
patches = [
@@ -17,16 +25,16 @@ buildPythonPackage rec {
})
];
- checkInputs = [ nose ] ++ lib.optional isPy27 mock;
propagatedBuildInputs = [ gitdb ddt ];
# Tests require a git repo
doCheck = false;
+ pythonImportsCheck = [ "git" ];
- meta = {
+ meta = with lib; {
description = "Python Git Library";
- maintainers = [ ];
homepage = "https://github.com/gitpython-developers/GitPython";
- license = lib.licenses.bsd3;
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ fab ];
};
}