Files
nixpkgs/pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
1.2 KiB
Nix

{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
mock,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-xdist,
pytestCheckHook,
pytz,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aio-geojson-geonetnz-volcano";
version = "0.10";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-geonetnz-volcano";
tag = "v${version}";
hash = "sha256-B+jULYeel7efk7fB26zXQyS1ZCsmFVKlOkfnKWFQFJ4=";
};
build-system = [ setuptools ];
dependencies = [
aio-geojson-client
aiohttp
pytz
];
nativeCheckInputs = [
aioresponses
mock
pytest-asyncio
pytest-xdist
pytestCheckHook
];
pythonImportsCheck = [ "aio_geojson_geonetnz_volcano" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
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 = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}