1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

PyGithub: init at 1.32

This commit is contained in:
Jörg Thalheim 2017-03-16 00:48:34 +01:00
parent 00addcb95e
commit 09cfbc8cc3
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 30 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -20339,6 +20339,8 @@ in {
};
};
PyGithub = callPackage ../development/python-modules/pyGithub {};
pyglet = buildPythonPackage rec {
name = "pyglet-${version}";
version = "1.2.4";