nixpkgs/pkgs/desktops/gnome-3/core/zenity/default.nix
2019-04-05 12:14:05 +02:00

33 lines
835 B
Nix

{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, gnome3, gtk3
, gnome-doc-utils, intltool, libX11, which, itstool, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "zenity-${version}";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
};
preBuild = ''
mkdir -p $out/include
'';
buildInputs = [ gtk3 libxml2 libxslt libX11 itstool ];
nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which wrapGAppsHook ];
passthru = {
updateScript = gnome3.updateScript {
packageName = "zenity";
attrPath = "gnome3.zenity";
};
};
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}