1{ stdenv, fetchurl, pkgconfig, intltool, gtk2 }:
2
3stdenv.mkDerivation rec {
4
5 name = "yad-0.25.1";
6
7 src = fetchurl {
8 url = "http://yad.googlecode.com/files/${name}.tar.xz";
9 sha256 = "1pljs9799xa2w3y2vjg93gqkv76z0pjh947djd7179yq3kryb57a";
10 };
11
12 configureFlags = [
13 "--enable-icon-browser"
14 ];
15
16 buildInputs = [ gtk2 ];
17
18 nativeBuildInputs = [ pkgconfig intltool ];
19
20 preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
21
22 meta = {
23 homepage = "http://code.google.com/p/yad/";
24 description = "GUI dialog tool for shell scripts";
25 longDescription = ''
26 Yad (yet another dialog) is a GUI dialog tool for shell scripts. It is a
27 fork of Zenity with many improvements, such as custom buttons, additional
28 dialogs, pop-up menu in notification icon and more.
29 '';
30
31 platforms = with stdenv.lib.platforms; linux;
32 maintainers = with stdenv.lib.maintainers; [ smironov ];
33 };
34}
35