mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
b69ed4249d
It is widely used outside gnome, not much inside.
57 lines
1015 B
Nix
57 lines
1015 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, help2man
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, libxml2
|
|
, gnome
|
|
, gtk4
|
|
, gettext
|
|
, libadwaita
|
|
, itstool
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "zenity";
|
|
version = "4.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor finalAttrs.version}/zenity-${finalAttrs.version}.tar.xz";
|
|
sha256 = "DC9TeBOxD3KEcNnQXWyVcT2yUS+clQluHoWxpnOWBeY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
help2man
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "zenity";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
mainProgram = "zenity";
|
|
description = "Tool to display dialogs from the commandline and shell scripts";
|
|
homepage = "https://gitlab.gnome.org/GNOME/zenity";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
})
|