summary refs log tree commit diff
path: root/gnu/packages/gnome.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-11-09 16:19:42 +0800
committer宋文武 <iyzsong@gmail.com>2015-11-09 16:25:45 +0800
commitb71793637c64dd5358324290bafb51eb707e9222 (patch)
tree5366769472944bc959571e5890fe193498451d56 /gnu/packages/gnome.scm
parent329d731b966c8e222a0997ebd4babd5f9edff3de (diff)
downloadguix-b71793637c64dd5358324290bafb51eb707e9222.tar.gz
gnu: Add zenity.
* gnu/packages/gnome.scm (zenity): New variable.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r--gnu/packages/gnome.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd6db9b664..0742255764 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3820,3 +3820,30 @@ javascript engine and the GObject introspection framework.")
     (description "While aiming at simplicity and ease of use, gedit is a
 powerful general purpose text editor.")
     (license license:gpl2+)))
+
+(define-public zenity
+  (package
+    (name "zenity")
+    (version "3.18.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "02m88dfm1rziqk2ywakwib06wl1rxangbzih6cp8wllbyl1plcg6"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("gettext" ,gnu-gettext)
+       ("itstool" ,itstool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libnotify" ,libnotify)
+       ("webkitgtk" ,webkitgtk)))
+    (synopsis "Display graphical dialog boxes from shell scripts")
+    (home-page "http://www.gnome.org")
+    (description
+     "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you
+to display dialog boxes from the commandline and shell scripts.")
+    (license license:lgpl2.0+)))