Merge pull request #155193 from fabaff/bump-aiogithubapi

python3Packages.aiogithubapi: 21.11.0 -> 22.1.0
This commit is contained in:
Fabian Affolter 2022-01-16 23:41:15 +01:00 committed by GitHub
commit 3f1121cbde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@
buildPythonPackage rec {
pname = "aiogithubapi";
version = "21.11.0";
version = "22.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -20,16 +21,9 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "sha256-sxWgLd+oQv9qNOpyAYXsBcqGbo/ugNXzGF5nbdcNLFw=";
sha256 = "sha256-rzZtf3xrbNg9VaOAOM6ux1A9S1WqUKBMKxWfHDo7/VM=";
};
postPatch = ''
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus
substituteInPlace setup.py \
--replace 'version="main",' 'version="${version}",'
'';
propagatedBuildInputs = [
aiohttp
async-timeout
@ -42,7 +36,16 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "aiogithubapi" ];
postPatch = ''
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus
substituteInPlace setup.py \
--replace 'version="main",' 'version="${version}",'
'';
pythonImportsCheck = [
"aiogithubapi"
];
meta = with lib; {
description = "Python client for the GitHub API";