python3Packages.aio-geojson-nsw-rfs-incidents: migrate to finalAttrs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aio-geojson-nsw-rfs-incidents";
|
||||
version = "2026.6.0";
|
||||
pyproject = true;
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
repo = "python-aio-geojson-nsw-rfs-incidents";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-oZLpmEqsZewPVCKo1HwKK1vzAF0Vr+Vw0bhWV5c0uCw=";
|
||||
};
|
||||
|
||||
@@ -46,8 +46,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module for accessing the NSW Rural Fire Service incidents feeds";
|
||||
homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user