diff options
Diffstat (limited to 'pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix b/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix index d97070df5907a..35e558fdc2625 100644 --- a/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix +++ b/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix @@ -1,20 +1,22 @@ { lib , aio-geojson-client , aiohttp -, aresponses +, aioresponses , mock , buildPythonPackage , fetchFromGitHub , pytest-asyncio +, pytest-xdist , pytestCheckHook , pytz , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "aio-geojson-geonetnz-volcano"; - version = "0.8"; - format = "setuptools"; + version = "0.9"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -22,9 +24,13 @@ buildPythonPackage rec { owner = "exxamalte"; repo = "python-aio-geojson-geonetnz-volcano"; rev = "refs/tags/v${version}"; - hash = "sha256-wJVFjy6QgYb6GX9pZTylYFvCRWmD2lAFZKnodsa8Yqo="; + hash = "sha256-ZmGDO9EROFMlxdj5txNh719M+3l/0jRFbB2h2AyZAdI="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aio-geojson-client aiohttp @@ -34,9 +40,10 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; nativeCheckInputs = [ - aresponses + aioresponses mock pytest-asyncio + pytest-xdist pytestCheckHook ]; @@ -46,7 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds"; - homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-volcano"; + homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano"; changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; |