gitdb2: init at 2.0.3
Also move gitdb and gitdb2 to the new python module structure.
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, smmap }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "gitdb";
|
||||||
|
version = "0.6.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0n4n2c7rxph9vs2l6xlafyda5x1mdr8xy16r9s3jwnh3pqkvrsx3";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ smmap ];
|
||||||
|
|
||||||
|
# Bunch of tests fail because they need an actual git repo
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Git Object Database";
|
||||||
|
maintainers = [ ];
|
||||||
|
homepage = https://github.com/gitpython-developers/gitdb;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, smmap2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "gitdb2";
|
||||||
|
version = "2.0.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02azg62mr99b7cllyjrly77np3vw32y8nrxpa2xjapiyaga2j3mn";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ smmap2 ];
|
||||||
|
|
||||||
|
# Bunch of tests fail because they need an actual git repo
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Git Object Database";
|
||||||
|
maintainers = [ ];
|
||||||
|
homepage = https://github.com/gitpython-developers/gitdb;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -2820,31 +2820,9 @@ in {
|
|||||||
|
|
||||||
gpy = callPackage ../development/python-modules/gpy { };
|
gpy = callPackage ../development/python-modules/gpy { };
|
||||||
|
|
||||||
gitdb = buildPythonPackage rec {
|
gitdb = callPackage ../development/python-modules/gitdb { };
|
||||||
name = "gitdb-0.6.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
gitdb2 = callPackage ../development/python-modules/gitdb2 { };
|
||||||
url = "mirror://pypi/g/gitdb/${name}.tar.gz";
|
|
||||||
sha256 = "0n4n2c7rxph9vs2l6xlafyda5x1mdr8xy16r9s3jwnh3pqkvrsx3";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
|
||||||
propagatedBuildInputs = with self; [ smmap ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false; # Bunch of tests fail because they need an actual git repo
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Git Object Database";
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
homepage = https://github.com/gitpython-developers/gitdb;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
GitPython = buildPythonPackage rec {
|
GitPython = buildPythonPackage rec {
|
||||||
version = "2.0.8";
|
version = "2.0.8";
|
||||||
|
|||||||
Reference in New Issue
Block a user