about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyGithub
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-03-16 00:48:34 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-03-16 00:59:56 +0100
commit09cfbc8cc33bb00c14bede0ee8f941200d0c69be (patch)
tree43475db7c1c9048f966f32c6605e5080ce338f8e /pkgs/development/python-modules/pyGithub
parent00addcb95e67ea9e6c2a6429216233a9fa96b45d (diff)
PyGithub: init at 1.32
Diffstat (limited to 'pkgs/development/python-modules/pyGithub')
-rw-r--r--pkgs/development/python-modules/pyGithub/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyGithub/default.nix b/pkgs/development/python-modules/pyGithub/default.nix
new file mode 100644
index 0000000000000..75fb75f931857
--- /dev/null
+++ b/pkgs/development/python-modules/pyGithub/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub
+, cacert
+, buildPythonPackage, python-jose }:
+
+buildPythonPackage rec {
+  name = "PyGithub-${version}";
+  version = "1.32";
+
+  src = fetchFromGitHub {
+    owner = "PyGithub";
+    repo = "PyGithub";
+    rev = "v${version}";
+    sha256 = "15dr9ja63zdxax9lg6q2kcakqa82dpffyhgpjr13wq3sfkcy5pdw";
+  };
+
+  postPatch = ''
+    # requires network
+    echo "" > github/tests/Issue142.py
+  '';
+  propagatedBuildInputs = [ python-jose ];
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/PyGithub/PyGithub";
+    description = "A Python (2 and 3) library to access the GitHub API v3";
+    platforms = platforms.all;
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ jhhuh ];
+  };
+}