2021-10-14 00:43:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
2024-01-02 11:29:13 +00:00
|
|
|
, help2man
|
2021-10-14 00:43:12 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxml2
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2023-04-12 12:48:02 +00:00
|
|
|
, gtk4
|
2020-04-24 23:36:52 +00:00
|
|
|
, gettext
|
2023-04-12 12:48:02 +00:00
|
|
|
, libadwaita
|
2020-04-24 23:36:52 +00:00
|
|
|
, itstool
|
2023-04-12 12:48:02 +00:00
|
|
|
, wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "zenity";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "4.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-01-02 11:29:13 +00:00
|
|
|
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor finalAttrs.version}/zenity-${finalAttrs.version}.tar.xz";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-wW3K5G4p4iwvoLlegOBslrKuyThAFhNpyVyF7Z8JMVM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
help2man
|
2021-10-14 00:43:12 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
2023-04-12 12:48:02 +00:00
|
|
|
wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-04-12 12:48:02 +00:00
|
|
|
gtk4
|
|
|
|
libadwaita
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = "zenity";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "zenity";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tool to display dialogs from the commandline and shell scripts";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/zenity";
|
2024-10-04 16:56:33 +00:00
|
|
|
changelog = "https://gitlab.gnome.org/GNOME/zenity/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2022-12-17 10:02:37 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
2024-01-02 11:29:13 +00:00
|
|
|
})
|