3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/gede/default.nix
2017-07-01 21:41:35 +02:00

36 lines
869 B
Nix

{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:
stdenv.mkDerivation rec {
name = "gede-${version}";
version = "2.0.3";
src = fetchurl {
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
};
nativeBuildInputs = [ makeWrapper python ];
buildInputs = [ qt4 ];
postPatch = ''
sed -i build.py -e 's,qmake-qt4,qmake,'
'';
buildPhase = ":";
installPhase = ''
python build.py install --prefix="$out"
wrapProgram $out/bin/gede \
--prefix PATH : ${stdenv.lib.makeBinPath [ ctags gdb ]}
'';
meta = with stdenv.lib; {
description = "Graphical frontend (GUI) to GDB";
homepage = "http://gede.acidron.com";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ juliendehos ];
};
}