Merge pull request #285371 from fabaff/georss-client-bump

python311Packages.georss-client: 0.15 -> 0.17,  python311Packages.georss-ingv-centro-nazionale-terremoti-client: 0.6 -> 0.7
This commit is contained in:
Fabian Affolter
2024-02-01 08:16:31 +01:00
committed by GitHub
2 changed files with 21 additions and 9 deletions

View File

@@ -6,23 +6,28 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, requests , requests
, setuptools
, xmltodict , xmltodict
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "georss-client"; pname = "georss-client";
version = "0.15"; version = "0.17";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "exxamalte"; owner = "exxamalte";
repo = "python-georss-client"; repo = "python-georss-client";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-D1ggfEDU+vlFmi1USwdHj1due0PrCQCpKF4zaarHCFs="; hash = "sha256-DvQifO/jirpacWZccK4WPxnm/iYs1qT5nAYQUDoleO4=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
haversine haversine
xmltodict xmltodict
@@ -41,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python library for accessing GeoRSS feeds"; description = "Python library for accessing GeoRSS feeds";
homepage = "https://github.com/exxamalte/python-georss-client"; homepage = "https://github.com/exxamalte/python-georss-client";
changelog = "https://github.com/exxamalte/python-georss-client/releases/tag/v${version}";
license = with licenses; [ asl20 ]; license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

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