gnome3.gnome-applets: 3.36.4 -> 3.37.2

Add patch to set gnome panel's modules dir, during configurePhase.
This commit is contained in:
Piotr Bogdan 2020-08-25 08:33:12 +01:00 committed by Jan Tojnar
parent c8394b82ec
commit 51597e6435
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 12 additions and 17 deletions

View File

@ -1,10 +1,9 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, intltool , gettext
, itstool , itstool
, libxml2 , libxml2
, libxslt , pkg-config
, pkgconfig
, gnome-panel , gnome-panel
, gtk3 , gtk3
, glib , glib
@ -17,28 +16,25 @@
, adwaita-icon-theme , adwaita-icon-theme
, libgweather , libgweather
, gucharmap , gucharmap
, tracker , tracker_2
, polkit , polkit
, gnome3 , gnome3
}: }:
let stdenv.mkDerivation rec {
pname = "gnome-applets"; pname = "gnome-applets";
version = "3.36.4"; version = "3.37.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1cd7y2air9cjznqmnynadbsayvq4dpsi39avnz46vv0bavx1aiwz"; sha256 = "0l1mc9ymjg0bgk92a08zd85hx1vaqrzdj0dwzmna20rp51vf0l4a";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
intltool gettext
itstool itstool
pkgconfig pkg-config
libxml2 libxml2
libxslt
]; ];
buildInputs = [ buildInputs = [
@ -53,7 +49,7 @@ in stdenv.mkDerivation rec {
adwaita-icon-theme adwaita-icon-theme
libgweather libgweather
gucharmap gucharmap
tracker tracker_2
polkit polkit
wirelesstools wirelesstools
linuxPackages.cpupower linuxPackages.cpupower
@ -63,9 +59,8 @@ in stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
configureFlags = [ # Don't try to install modules to gnome panel's directory, as it's read only
"--with-libpanel-applet-dir=${placeholder "out"}/share/gnome-panel/applets" PKG_CONFIG_LIBGNOME_PANEL_MODULESDIR = "${placeholder "out"}/lib/gnome-panel/modules";
];
passthru = { passthru = {
updateScript = gnome3.updateScript { updateScript = gnome3.updateScript {