2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, gnome3
|
2018-02-25 03:23:58 +01:00
|
|
|
, gnome-doc-utils, intltool, libX11, which, itstool, wrapGAppsHook }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "zenity-${version}";
|
2018-04-13 23:52:39 +02:00
|
|
|
version = "3.28.1";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/zenity/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-04-13 23:52:39 +02:00
|
|
|
sha256 = "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "zenity"; attrPath = "gnome3.zenity"; };
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ gnome3.gtk libxml2 libxslt libX11 itstool ];
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which wrapGAppsHook ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|