2019-03-03 10:23:52 -08:00
|
|
|
{ stdenv, fetchurl, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib
|
2019-06-16 12:59:06 -07:00
|
|
|
, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland
|
2019-06-24 07:44:08 -07:00
|
|
|
, libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gnome-desktop";
|
2019-10-07 19:39:24 -07:00
|
|
|
version = "3.34.1";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
2018-08-07 18:30:01 -07:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2018-02-25 12:07:20 -08:00
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-10-07 19:39:24 -07:00
|
|
|
sha256 = "0nnwc837k244gjsmx8wff5sfvm8xnhm8xr39qxk73lnscrbfpny1";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
2017-12-01 20:49:41 -08:00
|
|
|
nativeBuildInputs = [
|
2019-03-03 10:23:52 -08:00
|
|
|
pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection
|
2018-08-07 18:30:01 -07:00
|
|
|
gtk-doc docbook_xsl
|
2017-12-01 20:49:41 -08:00
|
|
|
];
|
2017-12-18 10:49:07 -08:00
|
|
|
buildInputs = [
|
|
|
|
libX11 bubblewrap xkeyboard_config isocodes wayland
|
2019-06-24 07:44:08 -07:00
|
|
|
gtk3 glib libseccomp systemd
|
2017-12-18 10:49:07 -08:00
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-04-16 17:38:26 -07:00
|
|
|
propagatedBuildInputs = [ gsettings-desktop-schemas ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2017-12-01 21:55:00 -08:00
|
|
|
patches = [
|
2018-08-12 05:28:18 -07:00
|
|
|
(substituteAll {
|
|
|
|
src = ./bubblewrap-paths.patch;
|
2018-11-17 07:06:27 -08:00
|
|
|
bubblewrap_bin = "${bubblewrap}/bin/bwrap";
|
2019-02-25 11:04:28 -08:00
|
|
|
inherit (builtins) storeDir;
|
|
|
|
})
|
2017-12-01 21:55:00 -08:00
|
|
|
];
|
|
|
|
|
2019-03-03 10:23:52 -08:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
"-Ddesktop_docs=false"
|
2018-08-07 18:30:01 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-desktop";
|
|
|
|
attrPath = "gnome3.gnome-desktop";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 12:35:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-18 10:49:07 -08:00
|
|
|
description = "Library with common API for various GNOME modules";
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2016-09-18 12:35:23 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|