From ffd6df8706fbf9ed01fab720b6a61155f60f0102 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 3 Jun 2026 00:16:39 +0200 Subject: [PATCH 1/2] python3Packages.btsmarthub-devicelist: migrate to pyproject --- .../python-modules/btsmarthub-devicelist/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix index 9d4e290b4b78..8549dc57909f 100644 --- a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix +++ b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix @@ -5,11 +5,12 @@ pytestCheckHook, requests, responses, + setuptools, }: buildPythonPackage rec { pname = "btsmarthub-devicelist"; version = "0.2.3"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "jxwolstenholme"; @@ -18,7 +19,9 @@ buildPythonPackage rec { hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M="; }; - propagatedBuildInputs = [ requests ]; + build-system = [ setuptools ]; + + dependencies = [ requests ]; nativeCheckInputs = [ responses From 256bcd350c198fbaa358a4e6622f4287cdfa0e7a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 3 Jun 2026 00:17:20 +0200 Subject: [PATCH 2/2] python3Packages.btsmarthub-devicelist: use finalAttrs --- .../python-modules/btsmarthub-devicelist/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix index 8549dc57909f..755042729352 100644 --- a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix +++ b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix @@ -7,7 +7,7 @@ responses, setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "btsmarthub-devicelist"; version = "0.2.3"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jxwolstenholme"; repo = "btsmarthub_devicelist"; - rev = version; + tag = finalAttrs.version; hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M="; }; @@ -37,4 +37,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ jamiemagee ]; }; -} +})