forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
34 lines
856 B
Nix
34 lines
856 B
Nix
{ stdenv, fetchurl, makeWrapper, python, qmake, ctags, gdb }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gede";
|
|
version = "2.14.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://gede.acidron.com/uploads/source/${pname}-${version}.tar.xz";
|
|
sha256 = "1z7577zwz7h03d58as93hyx99isi3p4i3rhxr8l01zgi65mz0mr9";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake makeWrapper python ];
|
|
|
|
buildInputs = [ ctags ];
|
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
buildPhase = ":";
|
|
|
|
installPhase = ''
|
|
python build.py install --verbose --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.linux;
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
};
|
|
}
|