2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-09-08 23:46:22 +01:00
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2019-09-08 23:46:22 +01:00
|
|
|
, gtk3
|
|
|
|
, libxml2
|
|
|
|
, intltool
|
|
|
|
, itstool
|
|
|
|
, gdb
|
|
|
|
, boost
|
|
|
|
, sqlite
|
|
|
|
, libgtop
|
|
|
|
, glibmm
|
|
|
|
, gtkmm3
|
|
|
|
, vte
|
|
|
|
, gtksourceview
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtksourceviewmm
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nemiver";
|
2018-02-25 20:07:20 +00:00
|
|
|
version = "0.9.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-23 12:26:19 +00:00
|
|
|
url = "mirror://gnome/sources/nemiver/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2";
|
|
|
|
};
|
|
|
|
|
2019-09-08 23:46:22 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
libxml2
|
|
|
|
intltool
|
|
|
|
itstool
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-09-08 23:46:22 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
buildInputs = [
|
2019-09-08 23:46:22 +01:00
|
|
|
gtk3
|
|
|
|
gdb
|
|
|
|
boost
|
|
|
|
sqlite
|
|
|
|
libgtop
|
|
|
|
glibmm
|
|
|
|
gtkmm3
|
|
|
|
vte
|
|
|
|
gtksourceview
|
|
|
|
gtksourceviewmm
|
2018-07-09 23:34:32 +01:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-01-20 01:38:50 +00:00
|
|
|
patches = [
|
2018-07-20 14:55:28 +01:00
|
|
|
# build fixes
|
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://gitlab.gnome.org/GNOME/nemiver/commit/e0e42221ceb77d88be64fac1c09792dc5c9e2f43.patch";
|
2018-07-20 14:55:28 +01:00
|
|
|
sha256 = "1g0ixll6yqfj6ysf50p0c7nmh3lgmb6ds15703q7ibnw7dyidvj8";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://gitlab.gnome.org/GNOME/nemiver/commit/7005393a8c4d914eac9705e7f47818d0f4de3578.patch";
|
2018-07-20 14:55:28 +01:00
|
|
|
sha256 = "1mxb1sdqdj7dm204gja8cdygx8579bjriqqbb7cna9rj0m9c8pjg";
|
|
|
|
})
|
2017-01-20 01:38:50 +00:00
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +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 = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2018-07-09 23:34:32 +01:00
|
|
|
packageName = "nemiver";
|
2018-11-20 19:56:00 +00:00
|
|
|
versionPolicy = "none";
|
2018-07-09 23:34:32 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|