2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2019-12-14 16:30:20 +01:00
|
|
|
, fetchurl
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2019-12-14 16:30:20 +01:00
|
|
|
, libxml2
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2019-12-14 16:30:20 +01:00
|
|
|
, gtk3
|
|
|
|
, yelp-tools
|
|
|
|
, gettext
|
|
|
|
, libX11
|
|
|
|
, itstool
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "zenity";
|
2019-03-24 15:35:56 +01:00
|
|
|
version = "3.32.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
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";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2019-12-14 16:30:20 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2019-12-14 16:30:20 +01:00
|
|
|
gettext
|
|
|
|
yelp-tools
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2019-12-14 16:30:20 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libX11
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2019-02-13 22:47:50 +01:00
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2019-02-13 22:47:50 +01:00
|
|
|
packageName = "zenity";
|
2021-05-07 23:18:14 +02:00
|
|
|
attrPath = "gnome.zenity";
|
2019-02-13 22:47:50 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-12-14 16:30:20 +01:00
|
|
|
description = "Tool to display dialogs from the commandline and shell scripts";
|
|
|
|
homepage = "https://wiki.gnome.org/Projects/Zenity";
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
}
|