From 69e57f56b4d5cc76f755fcf97c19d58350ac24b6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Aug 2026 12:00:33 +0200 Subject: [PATCH] python3Packages.georss-nrcan-earthquakes-client: 0.4 -> 2026.6.0 Diff: https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/compare/v0.4...v2026.6.0 Changelog: https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/releases/tag/v2026.6.0 --- .../default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/georss-nrcan-earthquakes-client/default.nix b/pkgs/development/python-modules/georss-nrcan-earthquakes-client/default.nix index d616150857c8..c4bf7b50e960 100644 --- a/pkgs/development/python-modules/georss-nrcan-earthquakes-client/default.nix +++ b/pkgs/development/python-modules/georss-nrcan-earthquakes-client/default.nix @@ -4,21 +4,24 @@ fetchFromGitHub, georss-client, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "georss-nrcan-earthquakes-client"; - version = "0.4"; - format = "setuptools"; + version = "2026.6.0"; + pyproject = true; src = fetchFromGitHub { owner = "exxamalte"; repo = "python-georss-nrcan-earthquakes-client"; - rev = "v${version}"; - hash = "sha256-FFm37+dCkdoZXgvAjYhcHOYFf0oQ37bxJb7vzbWDTro="; + tag = "v${finalAttrs.version}"; + hash = "sha256-JRU+ncPRbkA/fQ6aIOX6J09ErMpgH2Rk8AF+eWR5WXg="; }; - propagatedBuildInputs = [ georss-client ]; + build-system = [ setuptools ]; + + dependencies = [ georss-client ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -27,7 +30,8 @@ buildPythonPackage rec { meta = { description = "Python library for accessing Natural Resources Canada Earthquakes feed"; homepage = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client"; + changelog = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})