2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config, gettext, glib, gobject-introspection, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 23:29:06 +00:00
|
|
|
pname = "gnome-menus";
|
2020-02-09 00:41:23 +00:00
|
|
|
version = "3.36.0";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 23:29:06 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-09 00:41:23 +00:00
|
|
|
sha256 = "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2019-01-28 17:07:09 +00:00
|
|
|
makeFlags = [
|
2019-09-03 17:38:57 +01:00
|
|
|
"INTROSPECTION_GIRDIR=${placeholder "out"}/share/gir-1.0/"
|
|
|
|
"INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0"
|
2019-01-28 17:07:09 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gettext ];
|
2019-01-28 17:07:09 +00:00
|
|
|
buildInputs = [ glib gobject-introspection ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-04-25 07:46:07 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-05-04 14:59:55 +01:00
|
|
|
versionPolicy = "none";
|
2019-04-25 07:46:07 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-05-04 14:59:55 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-menus";
|
2018-12-25 23:29:06 +00:00
|
|
|
description = "Library that implements freedesktops's Desktop Menu Specification in GNOME";
|
2019-05-04 14:59:55 +01:00
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
|
|
|
platforms = platforms.linux;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|