forked from mirrors/nixpkgs
Merge pull request #111491 from fabaff/bump-gitpython
python3Packages.GitPython: 3.1.11 -> 3.1.12
This commit is contained in:
commit
a0dc0f6f2c
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue