From 256bcd350c198fbaa358a4e6622f4287cdfa0e7a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 3 Jun 2026 00:17:20 +0200 Subject: [PATCH] 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 ]; }; -} +})