From e98de2644669c7b6226cd419e03432c2c92a7963 Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Sun, 14 Jun 2026 11:26:56 +0200 Subject: [PATCH] gdbgui: reorder --- .../development/tools/misc/gdbgui/default.nix | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/pkgs/development/tools/misc/gdbgui/default.nix b/pkgs/development/tools/misc/gdbgui/default.nix index af8aeda8b00a..83caba33ede6 100644 --- a/pkgs/development/tools/misc/gdbgui/default.nix +++ b/pkgs/development/tools/misc/gdbgui/default.nix @@ -7,10 +7,20 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "gdbgui"; - version = "0.15.3.0"; pyproject = true; + src = fetchPypi { + inherit (finalAttrs) pname version; + hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y="; + }; + + postPatch = '' + echo ${finalAttrs.version} > gdbgui/VERSION.txt + # relax version requirements + sed -i 's/==.*$//' requirements.txt + ''; + build-system = with python3Packages; [ setuptools ]; buildInputs = [ gdb ]; @@ -23,17 +33,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pygments ]; - src = fetchPypi { - inherit (finalAttrs) pname version; - hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y="; - }; - - postPatch = '' - echo ${finalAttrs.version} > gdbgui/VERSION.txt - # relax version requirements - sed -i 's/==.*$//' requirements.txt - ''; - postInstall = '' wrapProgram $out/bin/gdbgui \ --prefix PATH : ${lib.makeBinPath [ gdb ]}