python3Packages.aio-geojson-usgs-earthquakes: migrate to finalAttrs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aio-geojson-usgs-earthquakes";
|
||||
version = "2026.6.0";
|
||||
pyproject = true;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
repo = "python-aio-geojson-usgs-earthquakes";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UzLnctft/D38bqClqyyJ4b5GvVXM4CFSd6TypuLo0Y4=";
|
||||
};
|
||||
|
||||
@@ -44,8 +44,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds";
|
||||
homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user