diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix b/nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix new file mode 100644 index 000000000000..ef8259e9e82e --- /dev/null +++ b/nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix @@ -0,0 +1,53 @@ +{ 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; + }; +} |