python312Packages.aiogithubapi: refactor
This commit is contained in:
@@ -33,24 +33,25 @@ buildPythonPackage rec {
|
||||
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
|
||||
# are not in their focus
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0"' 'version = "${version}"' \
|
||||
--replace 'backoff = "^1.10.0"' 'backoff = "*"' \
|
||||
--replace 'sigstore = "<2"' 'sigstore = "*"'
|
||||
--replace-fail 'version = "0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
backoff
|
||||
sigstore
|
||||
];
|
||||
|
||||
# Optional dependencies for deprecated-verify are not added
|
||||
# Only sigstore < 2 is supported
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
sigstore
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--asyncio-mode=auto" ];
|
||||
@@ -70,7 +71,7 @@ buildPythonPackage rec {
|
||||
description = "Python client for the GitHub API";
|
||||
homepage = "https://github.com/ludeeus/aiogithubapi";
|
||||
changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user