summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-06-10 11:10:11 -0400
committerGitHub <noreply@github.com>2018-06-10 11:10:11 -0400
commit7996889cf0cb8d339893d2b880d565a099c4df35 (patch)
tree8cc8cccd27f811085d8de1a1905372dcd67bc189 /pkgs/development/python-modules/GitPython
parent1441806c27f3775db580360e072ead2afbe00ae9 (diff)
parentfc9ffe790f5f0c3c378b1af25f3a45333145fded (diff)
Merge branch 'master' into nixos-evaluate
Diffstat (limited to 'pkgs/development/python-modules/GitPython')
-rw-r--r--pkgs/development/python-modules/GitPython/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
new file mode 100644
index 000000000000..c2f3706923a3
--- /dev/null
+++ b/pkgs/development/python-modules/GitPython/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchPypi, gitdb2, mock, nose, ddt }:
+
+buildPythonPackage rec {
+ version = "2.1.9";
+ pname = "GitPython";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0a9in1jfv9ssxhckl6sasw45bhm762y2r5ikgb2pk2g8yqdc6z64";
+ };
+
+ checkInputs = [ mock nose ddt ];
+ propagatedBuildInputs = [ gitdb2 ];
+
+ # Tests require a git repo
+ doCheck = false;
+
+ meta = {
+ description = "Python Git Library";
+ maintainers = [ ];
+ homepage = https://github.com/gitpython-developers/GitPython;
+ license = lib.licenses.bsd3;
+ };
+}