From 3298b5421728029205136b3b259316911053a67c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 24 Nov 2024 08:08:50 +0000 Subject: [PATCH] python312Packages.pymeteireann: 2021.8.0 -> 2024.11.0 --- .../python-modules/pymeteireann/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pymeteireann/default.nix b/pkgs/development/python-modules/pymeteireann/default.nix index e3d251f99d73..22eba34cb4a1 100644 --- a/pkgs/development/python-modules/pymeteireann/default.nix +++ b/pkgs/development/python-modules/pymeteireann/default.nix @@ -1,5 +1,6 @@ { lib, + setuptools, aiohttp, async-timeout, buildPythonPackage, @@ -10,21 +11,25 @@ buildPythonPackage rec { pname = "pymeteireann"; - version = "2021.8.0"; - format = "setuptools"; + version = "2024.11.0"; + pyproject = true; src = fetchFromGitHub { owner = "DylanGore"; repo = "PyMetEireann"; - rev = version; - sha256 = "1xcfb3f2a2q99i8anpdzq8s743jgkk2a3rpar48b2dhs7l15rbsd"; + rev = "refs/tags/${version}"; + sha256 = "sha256-b59I2h9A3QoXEBUYhbR0vsGGpQpOvFrqhHZnVCS8fLo="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ + xmltodict aiohttp async-timeout pytz - xmltodict ]; # Project has no tests @@ -32,10 +37,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "meteireann" ]; - meta = with lib; { + meta = { description = "Python module to communicate with the Met Éireann Public Weather Forecast API"; homepage = "https://github.com/DylanGore/PyMetEireann/"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ fab ]; }; }