depot/third_party/nixpkgs/pkgs/development/tools/misc/gede/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

59 lines
1 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 = with lib; {
description = "Graphical frontend (GUI) to GDB";
mainProgram = "gede";
homepage = "http://gede.dexar.se";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ juliendehos ];
};
}