2019-04-25 07:46:07 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, 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";
|
2019-03-12 20:14:21 +00:00
|
|
|
version = "3.32.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";
|
2019-03-12 20:14:21 +00:00
|
|
|
sha256 = "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2019-01-28 17:07:09 +00:00
|
|
|
makeFlags = [
|
|
|
|
"INTROSPECTION_GIRDIR=${placeholder ''out''}/share/gir-1.0/"
|
|
|
|
"INTROSPECTION_TYPELIBDIR=${placeholder ''out''}/lib/girepository-1.0"
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-03-12 20:14:21 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig 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
|
|
|
};
|
|
|
|
}
|