python3Packages.aiogithubapi: 22.2.4 -> 22.3.1

This commit is contained in:
Fabian Affolter 2022-03-28 21:20:05 +02:00
parent e025b7b588
commit 20e5f8f6a3

View file

@ -5,6 +5,7 @@
, backoff , backoff
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -12,8 +13,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiogithubapi"; pname = "aiogithubapi";
version = "22.2.4"; version = "22.3.1";
format = "setuptools"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,9 +22,13 @@ buildPythonPackage rec {
owner = "ludeeus"; owner = "ludeeus";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-2RYpeyX88+eEilK/wLDJ6Ock1JBgIUPWbm/ZBJSQ2pg="; hash = "sha256-5gKANZtDhIoyfyLdS15JDWTxHBFkaHDUlbVVhRs7MSE=";
}; };
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
async-timeout async-timeout
@ -39,7 +44,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
# Upstream is releasing with the help of a CI to PyPI, GitHub releases # Upstream is releasing with the help of a CI to PyPI, GitHub releases
# are not in their focus # are not in their focus
substituteInPlace setup.py \ substituteInPlace pyproject.toml \
--replace 'version="main",' 'version="${version}",' --replace 'version="main",' 'version="${version}",'
''; '';