@@ -1,13 +1,21 @@
1−{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, isPy27
5+, substituteAll
6+, git
7+, gitdb
8+, ddt
9+}:
210
311buildPythonPackage rec {
4− version = "3.1.11";
512 pname = "GitPython";
13+ version = "3.1.12";
614 disabled = isPy27; # no longer supported
715
816 src = fetchPypi {
917 inherit pname version;
10− sha256 = "befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8";
18+ sha256 = "sha256-Qtvv2NniV2xJbtAFnzED3O9xJbnOFvnV+cg0rtRKHaw=";
1119 };
1220
1321 patches = [
@@ -17,16 +25,16 @@ buildPythonPackage rec {
1725 })
1826 ];
1927
20− checkInputs = [ nose ] ++ lib.optional isPy27 mock;
2128 propagatedBuildInputs = [ gitdb ddt ];
2229
2330 # Tests require a git repo
2431 doCheck = false;
32+ pythonImportsCheck = [ "git" ];
2533
26− meta = {
34+ meta = with lib; {
2735 description = "Python Git Library";
28− maintainers = [ ];
2936 homepage = "https://github.com/gitpython-developers/GitPython";
30− license = lib.licenses.bsd3;
37+ license = licenses.bsd3;
38+ maintainers = with maintainers; [ fab ];
3139 };
3240}