mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 02:51:18 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
36 lines
867 B
Nix
36 lines
867 B
Nix
{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gede-${version}";
|
|
version = "2.0.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
|
|
sha256 = "0ip86ss35sc330p4aykv5qj74jbdwh38i928w1bxb6g3w0xmfqba";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper python ];
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
postPatch = ''
|
|
sed -i build.py -e 's,qmake-qt4,qmake,'
|
|
'';
|
|
|
|
buildPhase = ":";
|
|
|
|
installPhase = ''
|
|
python build.py install --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.unix;
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
};
|
|
}
|