about summary refs log tree commit diff
path: root/pkgs/development/libraries/gnome-menus
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-12-25 18:29:06 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-12-25 20:14:32 -0500
commit51088d7d96cbb38260aeda24d1599e1997e5ec86 (patch)
treed60dc1270e4a5bf7d16211888ca0a5e567fed429 /pkgs/development/libraries/gnome-menus
parent2c76519900eb2955de74b68db9c8e2446a47ca37 (diff)
downloadnixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar.gz
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar.bz2
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar.lz
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar.xz
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.tar.zst
nixlib-51088d7d96cbb38260aeda24d1599e1997e5ec86.zip
gnome-menus: rename from gnome3.gnome-menus
Diffstat (limited to 'pkgs/development/libraries/gnome-menus')
-rw-r--r--pkgs/development/libraries/gnome-menus/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnome-menus/default.nix b/pkgs/development/libraries/gnome-menus/default.nix
new file mode 100644
index 000000000000..0538b8ec06be
--- /dev/null
+++ b/pkgs/development/libraries/gnome-menus/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, intltool, pkgconfig, glib, gobject-introspection }:
+
+stdenv.mkDerivation rec {
+  pname = "gnome-menus";
+  version = "3.10.1";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+    sha256 = "0wcacs1vk3pld8wvrwq7fdrm11i56nrajkrp6j1da6jc4yx0m5a6";
+  };
+
+  makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ intltool glib gobject-introspection ];
+
+  meta = {
+    homepage = https://www.gnome.org;
+    description = "Library that implements freedesktops's Desktop Menu Specification in GNOME";
+    platforms = stdenv.lib.platforms.linux;
+  };
+}