From bf0e223a7b832cb96a32895a70d5446028cbbc30 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 26 Mar 2025 20:44:56 +0100 Subject: [PATCH] python313Packages.meteofrance-api: 1.3.0 -> 1.4.0 Diff: https://github.com/hacf-fr/meteofrance-api/compare/refs/tags/v1.3.0...v1.4.0 Changelog: https://github.com/hacf-fr/meteofrance-api/releases/tag/v1.4.0 --- .../meteofrance-api/default.nix | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/meteofrance-api/default.nix b/pkgs/development/python-modules/meteofrance-api/default.nix index 9894770ae392..7435395da31a 100644 --- a/pkgs/development/python-modules/meteofrance-api/default.nix +++ b/pkgs/development/python-modules/meteofrance-api/default.nix @@ -8,35 +8,27 @@ pytz, requests, requests-mock, - typing-extensions, - urllib3, }: buildPythonPackage rec { pname = "meteofrance-api"; - version = "1.3.0"; + version = "1.4.0"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "hacf-fr"; repo = "meteofrance-api"; tag = "v${version}"; - hash = "sha256-uSrVK6LwCDyvsjzGl4xQd8585Hl6sp2Ua9ly0wqnC1Y="; + hash = "sha256-5zqmzPbzC9IUZ+y1FRh+u1gds/ZdGeRm5/ajQf8UKTQ="; }; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - pythonRelaxDeps = [ "urllib3" ]; - - propagatedBuildInputs = [ + dependencies = [ pytz requests - typing-extensions - urllib3 ]; nativeCheckInputs = [ @@ -64,10 +56,10 @@ buildPythonPackage rec { meta = with lib; { description = "Module to access information from the Meteo-France API"; - mainProgram = "meteofrance-api"; homepage = "https://github.com/hacf-fr/meteofrance-api"; changelog = "https://github.com/hacf-fr/meteofrance-api/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "meteofrance-api"; }; }