@@ -1,12 +1,12 @@
1−{ stdenv, fetchurl, pkgconfig, intltool, gtk2 }:
1+{ stdenv, fetchurl, pkgconfig, intltool, gtk2, hicolor_icon_theme
2+, wrapGAppsHook }:
23
34stdenv.mkDerivation rec {
4−
5− name = "yad-0.25.1";
5+ name = "yad-0.37.0";
66
77 src = fetchurl {
8− url = "http://yad.googlecode.com/files/${name}.tar.xz";
9− sha256 = "1pljs9799xa2w3y2vjg93gqkv76z0pjh947djd7179yq3kryb57a";
8+ url = "http://sourceforge.net/projects/yad-dialog/files/${name}.tar.xz";
9+ sha256 = "0fhqsgml1axaa9avd0hbam5wm77c2c7q1bz4hs7fvyvdnljazvwi";
1010 };
1111
1212 configureFlags = [
@@ -16,19 +16,17 @@ stdenv.mkDerivation rec {
1616 # for gcc5: c11 inline semantics breaks the build
1717 NIX_CFLAGS_COMPILE = "-fgnu89-inline";
1818
19− buildInputs = [ gtk2 ];
19+ buildInputs = [ gtk2 hicolor_icon_theme ];
2020
21− nativeBuildInputs = [ pkgconfig intltool ];
21+ nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
2222
2323 postPatch = ''
2424 sed -i src/file.c -e '21i#include <glib/gprintf.h>'
2525 sed -i src/form.c -e '21i#include <stdlib.h>'
2626 '';
2727
28− preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
29−
3028 meta = {
31− homepage = "http://code.google.com/p/yad/";
29+ homepage = "http://yad-dialog.sourceforge.net/";
3230 description = "GUI dialog tool for shell scripts";
3331 longDescription = ''
3432 Yad (yet another dialog) is a GUI dialog tool for shell scripts. It is a