summary refs log blame commit diff
path: root/pkgs/development/tools/misc/gede/default.nix
blob: 71a34886bc35b55e8a3b7593126bac7dc7d6f53b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                    



                                           

















                                                    
{stdenv, fetchurl, ctags, qt4, python}:

stdenv.mkDerivation rec {

  version = "2.0.3";
  name = "gede-${version}";
  src = fetchurl {
    url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
    sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
  };

  buildInputs = [ ctags qt4 python ];

  postPatch = ''
    sed -i build.py -e 's,qmake-qt4,qmake,'
  '';

  unpackPhase = ''
    tar xf ${src}
    cd ${name}
  '';
  configurePhase = "";
  buildPhase = "";
  installPhase = "./build.py install --prefix=$out";

  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 ];
  };
}