nixpkgs/pkgs/desktops/gnome-3/core/zenity/default.nix

33 lines
835 B
Nix
Raw Normal View History

2019-02-13 22:47:50 +01:00
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, gnome3, gtk3
, gnome-doc-utils, intltool, libX11, which, itstool, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "zenity-${version}";
2018-10-17 10:59:36 +02:00
version = "3.30.0";
src = fetchurl {
url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-10-17 10:59:36 +02:00
sha256 = "1wipnp46pd238z9ck5rsckbaw7yla6c936fswq5w94k4c6bgcplr";
};
preBuild = ''
mkdir -p $out/include
'';
2019-02-13 22:47:50 +01:00
buildInputs = [ gtk3 libxml2 libxslt libX11 itstool ];
nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which wrapGAppsHook ];
2019-02-13 22:47:50 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "zenity";
attrPath = "gnome3.zenity";
};
};
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}