2019-12-14 07:30:20 -08:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, libxml2
|
|
|
|
, gnome3
|
|
|
|
, gtk3
|
|
|
|
, yelp-tools
|
|
|
|
, gettext
|
|
|
|
, libX11
|
|
|
|
, itstool
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "zenity";
|
2019-03-24 07:35:56 -07:00
|
|
|
version = "3.32.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-03-24 07:35:56 -07:00
|
|
|
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
2019-12-14 07:30:20 -08:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
yelp-tools
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-12-14 07:30:20 -08:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libX11
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "zenity";
|
|
|
|
attrPath = "gnome3.zenity";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 12:35:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-14 07:30:20 -08:00
|
|
|
description = "Tool to display dialogs from the commandline and shell scripts";
|
|
|
|
homepage = "https://wiki.gnome.org/Projects/Zenity";
|
2016-09-18 12:35:23 -07:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
};
|
|
|
|
}
|