1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/misc/gede/default.nix

34 lines
854 B
Nix
Raw Normal View History

2018-04-19 21:58:21 +01:00
{ stdenv, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
2017-02-26 21:27:31 +00:00
stdenv.mkDerivation rec {
name = "gede-${version}";
version = "2.10.9";
2017-02-26 21:27:31 +00:00
src = fetchurl {
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
sha256 = "0av9v3r6x6anjjm4hzn8wxnvrqc8zp1g7570m5ndg7cgc3sy3bg6";
2017-02-26 21:27:31 +00:00
};
2018-04-19 21:58:21 +01:00
nativeBuildInputs = [ qmake makeWrapper python ];
2018-04-19 21:58:21 +01:00
buildInputs = [ ctags ];
dontUseQmakeConfigure = true;
buildPhase = ":";
installPhase = ''
python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \
--prefix PATH : ${stdenv.lib.makeBinPath [ ctags gdb ]}
2017-02-26 21:27:31 +00:00
'';
meta = with stdenv.lib; {
description = "Graphical frontend (GUI) to GDB";
homepage = http://gede.acidron.com;
2017-02-26 21:27:31 +00:00
license = licenses.bsd2;
platforms = platforms.linux;
2017-02-26 21:27:31 +00:00
maintainers = with maintainers; [ juliendehos ];
};
}