From 24f794e55b3a05623e41a917410b0a7f55f28c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 1 Nov 2025 10:25:49 -0700 Subject: [PATCH] python3Packages.zigpy-xbee: 0.21.0 -> 0.21.1 Diff: https://github.com/zigpy/zigpy-xbee/compare/0.21.0...0.21.1 Changelog: https://github.com/zigpy/zigpy-xbee/releases/tag/0.21.1 --- .../python-modules/zigpy-xbee/default.nix | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/zigpy-xbee/default.nix b/pkgs/development/python-modules/zigpy-xbee/default.nix index 409a9fa1bd11..a144dbc63a97 100644 --- a/pkgs/development/python-modules/zigpy-xbee/default.nix +++ b/pkgs/development/python-modules/zigpy-xbee/default.nix @@ -2,40 +2,33 @@ lib, buildPythonPackage, fetchFromGitHub, - pyserial, - pyserial-asyncio, pytest-asyncio, pytestCheckHook, - pythonOlder, setuptools, zigpy, }: buildPythonPackage rec { pname = "zigpy-xbee"; - version = "0.21.0"; + version = "0.21.1"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "zigpy"; repo = "zigpy-xbee"; tag = version; - hash = "sha256-Ep7pP2vcH9YpSrGPVDi3nc+WkQgBVS+NLmoQU0o0aQQ="; + hash = "sha256-ALwhl9WUDkv0POufF/G/rZrn+ITbMdh6y86lShy6ZTg="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace ', "setuptools-git-versioning<2"' "" \ - --replace 'dynamic = ["version"]' 'version = "${version}"' + --replace-fail ', "setuptools-git-versioning<2"' "" \ + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ - pyserial - pyserial-asyncio + dependencies = [ zigpy ]; @@ -44,11 +37,6 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # fixed in https://github.com/zigpy/zigpy-xbee/commit/f85233fc28ae01c08267965e99a29e43b00e1561 - "test_shutdown" - ]; - meta = with lib; { changelog = "https://github.com/zigpy/zigpy-xbee/releases/tag/${version}"; description = "Library which communicates with XBee radios for zigpy";