about summary refs log tree commit diff
path: root/pkgs/development/python-modules
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/development/python-modules
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/development/python-modules')
-rw-r--r--pkgs/development/python-modules/gitdb/default.nix23
-rw-r--r--pkgs/development/python-modules/gitdb2/default.nix23
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gitdb/default.nix b/pkgs/development/python-modules/gitdb/default.nix
new file mode 100644
index 000000000000..ceca6e3719b4
--- /dev/null
+++ b/pkgs/development/python-modules/gitdb/default.nix
@@ -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;
+  };
+}
diff --git a/pkgs/development/python-modules/gitdb2/default.nix b/pkgs/development/python-modules/gitdb2/default.nix
new file mode 100644
index 000000000000..1ebbd3de7850
--- /dev/null
+++ b/pkgs/development/python-modules/gitdb2/default.nix
@@ -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;
+  };
+}