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