3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/gede/default.nix

36 lines
866 B
Nix
Raw Normal View History

2021-03-25 13:45:18 +00:00
{ mkDerivation, lib, fetchurl, makeWrapper, python3, qmake, ctags, gdb }:
2017-02-26 21:27:31 +00:00
2020-01-08 10:48:01 +00:00
mkDerivation rec {
pname = "gede";
2021-01-25 12:59:24 +00:00
version = "2.17.1";
2017-02-26 21:27:31 +00:00
src = fetchurl {
2021-01-25 12:59:24 +00:00
url = "http://gede.dexar.se/uploads/source/${pname}-${version}.tar.xz";
sha256 = "0hbsy2ymzgl8xd9mnh43gxdfncy7g6czxfvfyh7zp3ij8yiwf8x3";
2017-02-26 21:27:31 +00:00
};
2021-03-25 13:45:18 +00:00
nativeBuildInputs = [ qmake makeWrapper python3 ];
2018-04-19 21:58:21 +01:00
buildInputs = [ ctags ];
2021-03-25 13:45:18 +00:00
strictDeps = true;
2018-04-19 21:58:21 +01:00
dontUseQmakeConfigure = true;
dontBuild = true;
installPhase = ''
python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \
--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";
2021-01-25 12:59:24 +00:00
homepage = "http://gede.dexar.se";
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 ];
};
}