From 70ace1402a238326f4f04166cfaf4906dbbf5e7a Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Wed, 10 Jun 2026 18:42:02 -0400 Subject: [PATCH] python3Packages.pipdeptree: rec -> finalAttrs --- pkgs/development/python-modules/pipdeptree/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pipdeptree/default.nix b/pkgs/development/python-modules/pipdeptree/default.nix index c9a977fdd914..1bae5e6dae8a 100644 --- a/pkgs/development/python-modules/pipdeptree/default.nix +++ b/pkgs/development/python-modules/pipdeptree/default.nix @@ -14,7 +14,7 @@ virtualenv, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pipdeptree"; version = "3.1.0"; pyproject = true; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "tox-dev"; repo = "pipdeptree"; - tag = version; + tag = finalAttrs.version; hash = "sha256-poUults9ev+5aryrZPxnxF/X9u0iivnlc1ceLxB7dys="; }; @@ -49,7 +49,7 @@ buildPythonPackage rec { pytestCheckHook virtualenv ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pythonImportsCheck = [ "pipdeptree" ]; @@ -61,7 +61,7 @@ buildPythonPackage rec { meta = { description = "Command line utility to show dependency tree of packages"; homepage = "https://github.com/tox-dev/pipdeptree"; - changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${src.tag}"; + changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ charlesbaynham @@ -69,4 +69,4 @@ buildPythonPackage rec { ]; mainProgram = "pipdeptree"; }; -} +})