{ stdenv , lib , fetchurl , meson , ninja , pkg-config , libxml2 , gnome , gtk3 , gettext , libX11 , itstool , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "zenity"; version = "3.41.0"; src = fetchurl { url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "GbZ2w1EOIrrfzDIEBi1DK6U3QC9eCuJhKMDZDJVAN+E="; }; nativeBuildInputs = [ meson ninja pkg-config gettext itstool libxml2 wrapGAppsHook ]; buildInputs = [ gtk3 libX11 ]; passthru = { updateScript = gnome.updateScript { packageName = "zenity"; attrPath = "gnome.zenity"; }; }; meta = with lib; { description = "Tool to display dialogs from the commandline and shell scripts"; homepage = "https://wiki.gnome.org/Projects/Zenity"; platforms = platforms.linux; maintainers = teams.gnome.members; }; }