python3Packages.aiogithubapi: fix build
This commit is contained in:
@@ -51,27 +51,24 @@ buildPythonPackage rec {
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
sigstore
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--asyncio-mode=auto" ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
|
||||
# Need sigstore is an optional dependencies and need <2
|
||||
rm -rf tests/test_helper.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aiogithubapi" ];
|
||||
|
||||
disabledTests = [
|
||||
# sigstore.errors.TUFError: Failed to refresh TUF metadata
|
||||
"test_sigstore"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python client for the GitHub API";
|
||||
homepage = "https://github.com/ludeeus/aiogithubapi";
|
||||
changelog = "https://github.com/ludeeus/aiogithubapi/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user