From bf96d410cc75a52abd9f5528620c8ab80bdd160e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Feb 2025 22:48:30 +0100 Subject: [PATCH 1/2] python312Packages.aioambient: 2024.08.0 -> 2025.02.0 Diff: https://github.com/bachya/aioambient/compare/refs/tags/2024.08.0...2025.02.0 Changelog: https://github.com/bachya/aioambient/releases/tag/2025.02.0 --- pkgs/development/python-modules/aioambient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioambient/default.nix b/pkgs/development/python-modules/aioambient/default.nix index f6e6bb6e0213..d3eb74689a6e 100644 --- a/pkgs/development/python-modules/aioambient/default.nix +++ b/pkgs/development/python-modules/aioambient/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "aioambient"; - version = "2024.08.0"; + version = "2025.02.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "bachya"; repo = "aioambient"; tag = version; - hash = "sha256-GedGwG4Lm28BvfSBOGcspUQ3LCmdb2IC2rLifuKGOes="; + hash = "sha256-F1c2S0c/CWHeCd24Zc8ib3aPR7yj9gCPBJpmpgoddQY="; }; build-system = [ poetry-core ]; From f611595e96dbf210a2aff2e1f1cce36a137bf683 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Feb 2025 23:02:07 +0100 Subject: [PATCH 2/2] python312Packages.aioambient: refactor --- pkgs/development/python-modules/aioambient/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioambient/default.nix b/pkgs/development/python-modules/aioambient/default.nix index d3eb74689a6e..4b3cf7666f89 100644 --- a/pkgs/development/python-modules/aioambient/default.nix +++ b/pkgs/development/python-modules/aioambient/default.nix @@ -13,6 +13,7 @@ python-socketio, pythonOlder, websockets, + yarl, }: buildPythonPackage rec { @@ -20,7 +21,7 @@ buildPythonPackage rec { version = "2025.02.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "bachya"; @@ -37,6 +38,7 @@ buildPythonPackage rec { python-engineio python-socketio websockets + yarl ]; __darwinAllowLocalNetworking = true; @@ -57,7 +59,7 @@ buildPythonPackage rec { description = "Python library for the Ambient Weather API"; homepage = "https://github.com/bachya/aioambient"; changelog = "https://github.com/bachya/aioambient/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }