depot/third_party/nixpkgs/pkgs/development/tools/misc/gede/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

35 lines
866 B
Nix

{ mkDerivation, lib, fetchurl, makeWrapper, python3, qmake, ctags, gdb }:
mkDerivation rec {
pname = "gede";
version = "2.17.1";
src = fetchurl {
url = "http://gede.dexar.se/uploads/source/${pname}-${version}.tar.xz";
sha256 = "0hbsy2ymzgl8xd9mnh43gxdfncy7g6czxfvfyh7zp3ij8yiwf8x3";
};
nativeBuildInputs = [ qmake makeWrapper python3 ];
buildInputs = [ ctags ];
strictDeps = true;
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.dexar.se";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ juliendehos ];
};
}