python3Packages.aiogithubapi: 25.5.0 -> 26.0.0 (#495475)
This commit is contained in:
@@ -2,27 +2,26 @@
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
async-timeout,
|
||||
backoff,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
hatchling,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
sigstore,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiogithubapi";
|
||||
version = "25.5.0";
|
||||
version = "26.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ludeeus";
|
||||
repo = "aiogithubapi";
|
||||
tag = version;
|
||||
hash = "sha256-zl9QpFpkvSTs0BUDMBmwTeLY1YvNRSqbkIZ5LDUP3zw=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-LQFOmg59kusqYtaLQaFePh+4aM25MaXVNkYy3PIeZ5A=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
@@ -31,16 +30,13 @@ buildPythonPackage rec {
|
||||
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
|
||||
# are not in their focus
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "0"' 'version = "${version}"'
|
||||
--replace-fail 'version = "0"' 'version = "${finalAttrs.version}"'
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [ "async-timeout" ];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
backoff
|
||||
];
|
||||
|
||||
@@ -66,8 +62,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python client for the GitHub API";
|
||||
homepage = "https://github.com/ludeeus/aiogithubapi";
|
||||
changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${version}";
|
||||
changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user