nixpkgs/pkgs/development/tools/misc/gede/default.nix
2020-01-10 12:08:15 +01:00

34 lines
847 B
Nix

{ mkDerivation, lib, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
mkDerivation rec {
pname = "gede";
version = "2.15.1";
src = fetchurl {
url = "http://gede.acidron.com/uploads/source/${pname}-${version}.tar.xz";
sha256 = "0n67fiks7lbylgda8n06wfwcvl5qnb70rabk2b39g05byz7jcdcn";
};
nativeBuildInputs = [ qmake makeWrapper python ];
buildInputs = [ ctags ];
dontUseQmakeConfigure = true;
buildPhase = ":";
installPhase = ''
python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \
--prefix PATH : ${lib.makeBinPath [ ctags gdb ]}
'';
meta = with lib; {
description = "Graphical frontend (GUI) to GDB";
homepage = http://gede.acidron.com;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ juliendehos ];
};
}