Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchPypi,
|
|
gdb,
|
|
eventlet,
|
|
flask-compress,
|
|
flask-socketio,
|
|
pygdbmi,
|
|
pygments,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "gdbgui";
|
|
|
|
version = "0.15.3.0";
|
|
format = "setuptools";
|
|
|
|
buildInputs = [ gdb ];
|
|
propagatedBuildInputs = [
|
|
eventlet
|
|
flask-compress
|
|
flask-socketio
|
|
pygdbmi
|
|
pygments
|
|
];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y=";
|
|
};
|
|
|
|
postPatch = ''
|
|
echo ${version} > gdbgui/VERSION.txt
|
|
# relax version requirements
|
|
sed -i 's/==.*$//' requirements.txt
|
|
'';
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/gdbgui \
|
|
--prefix PATH : ${lib.makeBinPath [ gdb ]}
|
|
'';
|
|
|
|
# tests do not work without stdout/stdin
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Browser-based frontend for GDB";
|
|
mainProgram = "gdbgui";
|
|
homepage = "https://www.gdbgui.com/";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [
|
|
yrashk
|
|
dump_stack
|
|
];
|
|
};
|
|
}
|