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