gnome-panel: 3.56.0 → 3.58.1
https://gitlab.gnome.org/GNOME/gnome-panel/-/compare/3.56.0...3.58.1 Co-authored-by: Bobby Rong <rjl931189261@126.com> Changelog-Reviewed-By: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-panel";
|
||||
version = "3.56.0";
|
||||
version = "3.58.1";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-panel/${lib.versions.majorMinor finalAttrs.version}/gnome-panel-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-UoptZ92E7a5sgKXuZW+E+9lC87Nx1g+XottgZc9P0XA=";
|
||||
hash = "sha256-fovKQ6gaE0xmazp4uvKv+wxdMO+xvKZTiH/EGzHdXmQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -39,6 +39,8 @@ stdenv.mkDerivation {
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
# $output/lib/systemd/user is already a symlink
|
||||
dontMoveSystemdUserUnits = true;
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
@@ -52,10 +54,10 @@ stdenv.mkDerivation {
|
||||
rm -r $out/lib/gnome-panel/modules
|
||||
${xorg.lndir}/bin/lndir -silent ${panelModulesEnv} $out
|
||||
|
||||
rm $out/share/applications/gnome-panel.desktop
|
||||
|
||||
ln -s ${gnome-panel}/share/applications/gnome-panel.desktop \
|
||||
$out/share/applications/gnome-panel.desktop
|
||||
rm $out/share/systemd/user/gnome-panel.service
|
||||
substitute ${gnome-panel}/share/systemd/user/gnome-panel.service \
|
||||
$out/share/systemd/user/gnome-panel.service \
|
||||
--replace-fail "ExecStart=${gnome-panel}/bin/gnome-panel" "ExecStart=$out/bin/gnome-panel"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user