nixpkgs/pkgs/desktops/gnome/core/zenity/default.nix

51 lines
923 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
2021-01-17 03:21:50 +01:00
, pkg-config
, libxml2
, gnome
, gtk3
, yelp-tools
, gettext
, libX11
, itstool
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "zenity";
2019-03-24 15:35:56 +01:00
version = "3.32.0";
src = fetchurl {
2021-01-15 14:21:58 +01:00
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-03-24 15:35:56 +01:00
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
};
nativeBuildInputs = [
2021-01-17 03:21:50 +01:00
pkg-config
gettext
yelp-tools
itstool
libxml2
wrapGAppsHook
];
buildInputs = [
gtk3
libX11
];
2019-02-13 22:47:50 +01:00
passthru = {
updateScript = gnome.updateScript {
2019-02-13 22:47:50 +01:00
packageName = "zenity";
attrPath = "gnome.zenity";
2019-02-13 22:47:50 +01:00
};
};
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;
};
}