nixpkgs-suyu/pkgs/desktops/gnome/core/zenity/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

50 lines
923 B
Nix

{ lib, stdenv
, fetchurl
, pkg-config
, libxml2
, gnome
, gtk3
, yelp-tools
, gettext
, libX11
, itstool
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "zenity";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
};
nativeBuildInputs = [
pkg-config
gettext
yelp-tools
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;
};
}