summary refs log tree commit diff
path: root/pkgs/top-level/python-packages.nix
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2018-05-12 10:46:59 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2018-05-13 11:33:41 -0400
commit318ce72a050a32ba2d0f5ce1192ae7c039e9c323 (patch)
treef7a13ba36ba6cd136a6b6c3263a5a82ca27fb88d /pkgs/top-level/python-packages.nix
parent68573a61a932050815f64a1150c417f903a3dd59 (diff)
downloadnixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar.gz
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar.bz2
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar.lz
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar.xz
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.tar.zst
nixlib-318ce72a050a32ba2d0f5ce1192ae7c039e9c323.zip
gitdb2: init at 2.0.3
Also move gitdb and gitdb2 to the new python module structure.
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r--pkgs/top-level/python-packages.nix26
1 files changed, 2 insertions, 24 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 7e1ece5c77c2..f20b6d2f2473 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2820,31 +2820,9 @@ in {
 
   gpy = callPackage ../development/python-modules/gpy { };
 
-  gitdb = buildPythonPackage rec {
-    name = "gitdb-0.6.4";
+  gitdb = callPackage ../development/python-modules/gitdb { };
 
-    src = pkgs.fetchurl {
-      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;
-    };
-
-  };
+  gitdb2 = callPackage ../development/python-modules/gitdb2 { };
 
   GitPython = buildPythonPackage rec {
     version = "2.0.8";