36a7b1ee2e
https://ftp.gnome.org/pub/GNOME/sources/zenity/3.41/zenity-3.41.0.news
yelp-tools not actually needed, meson uses itstool and gettext:
3feaea6b29/mesonbuild/scripts/yelphelper.py
54 lines
924 B
Nix
54 lines
924 B
Nix
{ 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;
|
|
};
|
|
}
|