git.iko.soy/typeable/nixpkgs
on master help sign in
PyGithub: init at 1.32
commit09cfbc8cc33bb00c14bede0ee8f941200d0c69be authorJörg Thalheim <joerg@thalheim.io> dateThu 16 Mar 2017, 00:48 (10 years ago) parent00addcb
2 files changed+30
pkgs/development/python-modules/pyGithub/default.nix+28 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pyGithub/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub
2+, cacert
3+, buildPythonPackage, python-jose }:
4+
5+buildPythonPackage rec {
6+ name = "PyGithub-${version}";
7+ version = "1.32";
8+
9+ src = fetchFromGitHub {
10+ owner = "PyGithub";
11+ repo = "PyGithub";
12+ rev = "v${version}";
13+ sha256 = "15dr9ja63zdxax9lg6q2kcakqa82dpffyhgpjr13wq3sfkcy5pdw";
14+ };
15+
16+ postPatch = ''
17+ # requires network
18+ echo "" > github/tests/Issue142.py
19+ '';
20+ propagatedBuildInputs = [ python-jose ];
21+ meta = with stdenv.lib; {
22+ homepage = "https://github.com/PyGithub/PyGithub";
23+ description = "A Python (2 and 3) library to access the GitHub API v3";
24+ platforms = platforms.all;
25+ license = licenses.gpl3;
26+ maintainers = with maintainers; [ jhhuh ];
27+ };
28+}
pkgs/top-level/python-packages.nix+2
@@ -20339,6 +20339,8 @@ in {
2033920339 };
2034020340 };
2034120341
20342+ PyGithub = callPackage ../development/python-modules/pyGithub {};
20343+
2034220344 pyglet = buildPythonPackage rec {
2034320345 name = "pyglet-${version}";
2034420346 version = "1.2.4";