2017-01-20 01:38:50 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, gnome3, gtk3, libxml2, intltool, itstool, gdb,
|
2018-07-09 23:34:32 +01:00
|
|
|
boost, sqlite, libgtop, glibmm, gtkmm, vte, gtksourceview, gsettings-desktop-schemas,
|
2016-09-18 20:35:23 +01:00
|
|
|
gtksourceviewmm, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "nemiver-${version}";
|
|
|
|
version = "0.9.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/nemiver/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2";
|
|
|
|
};
|
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
nativeBuildInputs = [ libxml2 intltool itstool pkgconfig wrapGAppsHook ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk3 gdb boost sqlite libgtop
|
|
|
|
glibmm gtkmm vte gtksourceview gtksourceviewmm
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-01-20 01:38:50 +00:00
|
|
|
patches = [
|
2018-07-09 23:34:32 +01:00
|
|
|
./bool_slot.patch
|
|
|
|
./safe_ptr.patch
|
2017-01-20 01:38:50 +00:00
|
|
|
(fetchpatch {
|
2018-05-29 09:13:36 +01:00
|
|
|
url = https://gitlab.gnome.org/GNOME/nemiver/commit/262cf9657f9c2727a816972b348692adcc666008.patch;
|
2017-01-20 01:38:50 +00:00
|
|
|
sha256 = "03jv6z54b8nzvplplapk4aj206zl1gvnv6iz0mad19g6yvfbw7a7";
|
|
|
|
})
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-gsettings"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "nemiver";
|
|
|
|
attrPath = "gnome3.nemiver";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Nemiver;
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Easy to use standalone C/C++ debugger";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|