2017-03-15 23:48:34 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
2019-07-22 12:57:04 +01:00
|
|
|
, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
|
2017-03-15 23:48:34 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "PyGithub";
|
2019-10-23 18:58:17 +01:00
|
|
|
version = "1.44";
|
2017-03-15 23:48:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PyGithub";
|
|
|
|
repo = "PyGithub";
|
|
|
|
rev = "v${version}";
|
2019-10-23 18:58:17 +01:00
|
|
|
sha256 = "067iyarllgdp40bzjxskzrixvmz350yj1qf8wvbddka504bcbh9r";
|
2017-03-15 23:48:34 +00:00
|
|
|
};
|
|
|
|
|
2019-07-22 12:57:04 +01:00
|
|
|
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-03-15 23:48:34 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|