Files
nixpkgs/pkgs/development/tools/misc/gede/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

60 lines
1.0 KiB
Nix

{
mkDerivation,
lib,
fetchFromGitHub,
makeWrapper,
python3,
qtbase,
qmake,
qtserialport,
ctags,
gdb,
}:
mkDerivation rec {
pname = "gede";
version = "2.22.1";
src = fetchFromGitHub {
owner = "jhn98032";
repo = "gede";
tag = "v${version}";
hash = "sha256-6YSrqLDuV4G/uvtYy4vzbwqrMFftMvZdp3kr3R436rs=";
};
nativeBuildInputs = [
ctags
makeWrapper
python3
qmake
qtserialport
];
strictDeps = true;
dontUseQmakeConfigure = true;
dontBuild = true;
installPhase = ''
python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \
--prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix} \
--prefix PATH : ${
lib.makeBinPath [
ctags
gdb
]
}
'';
meta = {
description = "Graphical frontend (GUI) to GDB";
mainProgram = "gede";
homepage = "http://gede.dexar.se";
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ juliendehos ];
};
}