3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyGithub/default.nix

26 lines
715 B
Nix
Raw Normal View History

2017-03-15 23:48:34 +00:00
{ stdenv, fetchFromGitHub
, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
2017-03-15 23:48:34 +00:00
buildPythonPackage rec {
pname = "PyGithub";
version = "1.44";
2017-03-15 23:48:34 +00:00
src = fetchFromGitHub {
owner = "PyGithub";
repo = "PyGithub";
rev = "v${version}";
sha256 = "067iyarllgdp40bzjxskzrixvmz350yj1qf8wvbddka504bcbh9r";
2017-03-15 23:48:34 +00:00
};
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
doCheck = false;
2017-03-15 23:48:34 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/PyGithub/PyGithub;
2017-03-15 23:48:34 +00:00
description = "A Python (2 and 3) library to access the GitHub API v3";
platforms = platforms.all;
license = licenses.gpl3;
maintainers = with maintainers; [ jhhuh ];
};
}