nixpkgs/pkgs/development/tools/misc/gede/default.nix

34 lines
849 B
Nix
Raw Normal View History

2020-01-08 10:48:01 +00:00
{ mkDerivation, lib, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
2017-02-26 21:27:31 +00:00
2020-01-08 10:48:01 +00:00
mkDerivation rec {
pname = "gede";
2020-03-25 13:30:45 +00:00
version = "2.16.2";
2017-02-26 21:27:31 +00:00
src = fetchurl {
url = "http://gede.acidron.com/uploads/source/${pname}-${version}.tar.xz";
2020-03-25 13:30:45 +00:00
sha256 = "18a8n9yvhgkbc97p2995j7b5ncfdzy1fy13ahdafqmcpkl4r1hrj";
2017-02-26 21:27:31 +00:00
};
2018-04-19 20:58:21 +00:00
nativeBuildInputs = [ qmake makeWrapper python ];
2018-04-19 20:58:21 +00:00
buildInputs = [ ctags ];
dontUseQmakeConfigure = true;
buildPhase = ":";
installPhase = ''
python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \
2020-01-08 10:48:01 +00:00
--prefix PATH : ${lib.makeBinPath [ ctags gdb ]}
2017-02-26 21:27:31 +00:00
'';
2020-01-08 10:48:01 +00:00
meta = with lib; {
2017-02-26 21:27:31 +00:00
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 ];
};
}