From 68f1b4841ac0a9705c1580e9d75b7c94c4fe1aab Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 5 Jan 2026 12:34:46 +0000 Subject: [PATCH 1/2] python3Packages.meshtastic: 2.7.5 -> 2.7.6 --- pkgs/development/python-modules/meshtastic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/meshtastic/default.nix b/pkgs/development/python-modules/meshtastic/default.nix index 7dc6dc981ab0..9c318a79f9b0 100644 --- a/pkgs/development/python-modules/meshtastic/default.nix +++ b/pkgs/development/python-modules/meshtastic/default.nix @@ -33,14 +33,14 @@ buildPythonPackage rec { pname = "meshtastic"; - version = "2.7.5"; + version = "2.7.6"; pyproject = true; src = fetchFromGitHub { owner = "meshtastic"; repo = "python"; tag = version; - hash = "sha256-Vc8m5qc2vKQ4ZwP/TQWJhottBANqEaSUNFCbCNPmQnI="; + hash = "sha256-5MvIv9/v5feqbLN60PFps0xr+k+AOczVsLwnlCJJDZI="; }; pythonRelaxDeps = [ From 8e80233cad05b6587c9cbdd57345f123f5c3ad4f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Jan 2026 15:54:09 +0100 Subject: [PATCH 2/2] python313Packages.meshtastic: migrate to finalAttrs --- pkgs/development/python-modules/meshtastic/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/meshtastic/default.nix b/pkgs/development/python-modules/meshtastic/default.nix index 9c318a79f9b0..5a918b72b27e 100644 --- a/pkgs/development/python-modules/meshtastic/default.nix +++ b/pkgs/development/python-modules/meshtastic/default.nix @@ -31,7 +31,7 @@ wcwidth, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "meshtastic"; version = "2.7.6"; pyproject = true; @@ -39,7 +39,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "meshtastic"; repo = "python"; - tag = version; + tag = finalAttrs.version; hash = "sha256-5MvIv9/v5feqbLN60PFps0xr+k+AOczVsLwnlCJJDZI="; }; @@ -91,7 +91,7 @@ buildPythonPackage rec { hypothesis pytestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; preCheck = '' export PATH="$PATH:$out/bin"; @@ -123,8 +123,8 @@ buildPythonPackage rec { meta = { description = "Python API for talking to Meshtastic devices"; homepage = "https://github.com/meshtastic/python"; - changelog = "https://github.com/meshtastic/python/releases/tag/${src.tag}"; + changelog = "https://github.com/meshtastic/python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})