From e0d0d4bc5c340c243c79832034b46122764617f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 18 Apr 2025 22:00:24 -0700 Subject: [PATCH] python313Packages.pytradfri: 13.0.0 -> 14.0.0 Diff: https://github.com/home-assistant-libs/pytradfri/compare/refs/tags/13.0.0...14.0.0 Changelog: https://github.com/home-assistant-libs/pytradfri/releases/tag/14.0.0 --- .../python-modules/pytradfri/default.nix | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index ab7772360d65..b979daab4d2f 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -1,9 +1,7 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, - fetchpatch2, setuptools, aiocoap, dtlssocket, @@ -13,27 +11,16 @@ buildPythonPackage rec { pname = "pytradfri"; - version = "13.0.0"; + version = "14.0.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "pytradfri"; tag = version; - hash = "sha256-CWv3ebDulZuiFP+nJ2Xr7U/HTDFTqA9VYC0USLkpWR0="; + hash = "sha256-oYYi1P0Zu9PLsacUW//BlJlLmeOVvHgb/lR52KwZ7N8="; }; - patches = [ - (fetchpatch2 { - name = "pydantic2-compat.patch"; - url = "https://github.com/home-assistant-libs/pytradfri/commit/ecd099837a0b4538a56301af6260fddde77fbbb1.patch"; - excludes = [ "requirements.txt" ]; - hash = "sha256-QsvBTB9evKyE1fcfDaB0SN21kHmNmLgGPs3GJHHsMJc="; - }) - ]; - build-system = [ setuptools ]; dependencies = [ pydantic ]; @@ -52,7 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python package to communicate with the IKEA Trådfri ZigBee Gateway"; homepage = "https://github.com/home-assistant-libs/pytradfri"; - changelog = "https://github.com/home-assistant-libs/pytradfri/releases/tag/${version}"; + changelog = "https://github.com/home-assistant-libs/pytradfri/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };