python311Packages.pygithub: 1.59.0 -> 1.59.0
Diff: https://github.com/PyGithub/PyGithub/compare/refs/tags/v1.59.0...v1.59.0 Changelog: https://github.com/PyGithub/PyGithub/raw/v1.59.0/doc/changes.rst
This commit is contained in:
parent
dd05cbb4bd
commit
b3585af9d5
1 changed files with 24 additions and 11 deletions
|
@ -1,38 +1,51 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cryptography
|
|
||||||
, deprecated
|
, deprecated
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pynacl
|
, pynacl
|
||||||
|
, typing-extensions
|
||||||
, pyjwt
|
, pyjwt
|
||||||
|
, python-dateutil
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygithub";
|
pname = "pygithub";
|
||||||
version = "1.58.0";
|
version = "1.59.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyGithub";
|
owner = "PyGithub";
|
||||||
repo = "PyGithub";
|
repo = "PyGithub";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-DZmKF0C5zexTQ/kbDtTg0FLEocNU4dYMOFCJyvuiV98=";
|
hash = "sha256-bfXf1lwTpoyf6Pn4J0KR99xUh28VPszlbcYSbqKfyFQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
cryptography
|
|
||||||
deprecated
|
nativeBuildInputs = [
|
||||||
pynacl
|
setuptools-scm
|
||||||
pyjwt
|
|
||||||
requests
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
deprecated
|
||||||
|
pyjwt
|
||||||
|
pynacl
|
||||||
|
python-dateutil
|
||||||
|
requests
|
||||||
|
typing-extensions
|
||||||
|
] ++ pyjwt.optional-dependencies.crypto;
|
||||||
|
|
||||||
# Test suite makes REST calls against github.com
|
# Test suite makes REST calls against github.com
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "github" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"github"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library to access the GitHub API v3";
|
description = "Python library to access the GitHub API v3";
|
||||||
|
|
Loading…
Reference in a new issue