python311Packages.georss-ingv-centro-nazionale-terremoti-client: refactor

This commit is contained in:
Fabian Affolter 2024-01-31 22:16:55 +01:00
parent a927ecc6bd
commit 054f836628

View file

@ -4,22 +4,27 @@
, georss-client
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "georss-ingv-centro-nazionale-terremoti-client";
version = "0.6";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-ingv-centro-nazionale-terremoti-client";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-zqjo70NzpUt5zNEar0P1sl/gMb+ZcS+7GX7QGuFjMYY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
georss-client
];
@ -35,6 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for accessing the INGV Centro Nazionale Terremoti GeoRSS feed";
homepage = "https://github.com/exxamalte/python-georss-ingv-centro-nazionale-terremoti-client";
changelog = "https://github.com/exxamalte/python-georss-ingv-centro-nazionale-terremoti-client/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};