python3Packages.aio-geojson-geonetnz-volcano: migrate to finalAttrs
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aio-geojson-geonetnz-volcano";
|
||||
version = "2026.6.0";
|
||||
pyproject = true;
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
repo = "python-aio-geojson-geonetnz-volcano";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BA8ejjzwonIYsLrBP3MGBfZ3bKoj2h/Qe4TcjL16FOA=";
|
||||
};
|
||||
|
||||
@@ -50,8 +50,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
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";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user