python3Packages.GitPython: add pythonImportsCheck
This commit is contained in:
parent
c87f48b70a
commit
ee0f592bb0
@ -1,8 +1,16 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
|
, substituteAll
|
||||||
|
, git
|
||||||
|
, gitdb
|
||||||
|
, ddt
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "3.1.12";
|
|
||||||
pname = "GitPython";
|
pname = "GitPython";
|
||||||
|
version = "3.1.12";
|
||||||
disabled = isPy27; # no longer supported
|
disabled = isPy27; # no longer supported
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -17,16 +25,16 @@ buildPythonPackage rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
|
|
||||||
propagatedBuildInputs = [ gitdb ddt ];
|
propagatedBuildInputs = [ gitdb ddt ];
|
||||||
|
|
||||||
# Tests require a git repo
|
# Tests require a git repo
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "git" ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Python Git Library";
|
description = "Python Git Library";
|
||||||
maintainers = [ ];
|
|
||||||
homepage = "https://github.com/gitpython-developers/GitPython";
|
homepage = "https://github.com/gitpython-developers/GitPython";
|
||||||
license = lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user