about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/3.24/devtools/nemiver/default.nix
blob: cf200cb3292553d49bda27772998c4e409b8e501 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, fetchpatch, pkgconfig, gnome3, gtk3, libxml2, intltool, itstool, gdb,
  boost, sqlite, gconf, libgtop, glibmm, gtkmm, vte, gtksourceview,
  gtksourceviewmm, wrapGAppsHook }:

stdenv.mkDerivation rec {
  inherit (import ./src.nix fetchurl) name src;

  nativeBuildInputs = [ pkgconfig wrapGAppsHook ];

  buildInputs = [ gtk3 libxml2 intltool itstool gdb boost sqlite gconf libgtop
    glibmm gtkmm vte gtksourceview gtksourceviewmm ];

  patches = [
    ./bool_slot.patch ./safe_ptr.patch
    (fetchpatch {
      url = "https://git.gnome.org/browse/nemiver/patch/src/persp/dbgperspective/nmv-dbg-perspective.cc?id=262cf9657f9c2727a816972b348692adcc666008";
      sha256 = "03jv6z54b8nzvplplapk4aj206zl1gvnv6iz0mad19g6yvfbw7a7";
    })
  ];

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Apps/Nemiver;
    description = "Easy to use standalone C/C++ debugger";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.juliendehos ];
  };
}