From c4e99d99e8d0f841eadc7ceb3636402387bc49c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 Feb 2026 10:18:29 +0100 Subject: [PATCH] python313Packages.bhopengraph: migrate to finalAttrs --- pkgs/development/python-modules/bhopengraph/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/bhopengraph/default.nix b/pkgs/development/python-modules/bhopengraph/default.nix index 1bf15c4be2ff..6c2ab08ed346 100644 --- a/pkgs/development/python-modules/bhopengraph/default.nix +++ b/pkgs/development/python-modules/bhopengraph/default.nix @@ -5,7 +5,7 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "bhopengraph"; version = "1.3.1"; pyproject = true; @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "p0dalirius"; repo = "bhopengraph"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-pT+xdcxFLQUrXpZxS0gmXjyhtR1jqDsBAPHgEhxX2R8="; }; @@ -27,8 +27,8 @@ buildPythonPackage rec { meta = { description = "Library to create BloodHound OpenGraphs"; homepage = "https://github.com/p0dalirius/bhopengraph"; - changelog = "https://github.com/p0dalirius/bhopengraph/releases/tag/${src.tag}"; + changelog = "https://github.com/p0dalirius/bhopengraph/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})