mate.mate-panel: 1.28.4 -> 1.28.5

https://github.com/mate-desktop/mate-panel/compare/v1.28.4...v1.28.5

Upstream is (still) experiencing problems releasing tarballs, so switch to
fetchFromGitHub for now.
This commit is contained in:
Bobby Rong 2025-08-09 11:11:46 +08:00
parent 5b09dc45f2
commit 9a38419734
No known key found for this signature in database

View File

@ -1,9 +1,12 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
autoconf-archive,
autoreconfHook,
pkg-config,
gettext,
gtk-doc,
itstool,
glib,
gtk-layer-shell,
@ -14,32 +17,42 @@
libxml2,
dconf,
dconf-editor,
mate-common,
mate-desktop,
mate-menus,
hicolor-icon-theme,
wayland,
gobject-introspection,
wrapGAppsHook3,
yelp-tools,
marco,
mateUpdateScript,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "mate-panel";
version = "1.28.4";
version = "1.28.5";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-AvCesDFMKsGXtvCJlQpXHNujm/0D1sOguP13JSqWiHQ=";
src = fetchFromGitHub {
owner = "mate-desktop";
repo = "mate-panel";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-P1zrOH1xTbKXIoP13azAFDv2Q05dubR1AfmuLbgh250=";
};
nativeBuildInputs = [
autoconf-archive
autoreconfHook
gobject-introspection
gettext
gtk-doc
itstool
libxml2 # xmllint
mate-common # mate-common.m4 macros
pkg-config
wrapGAppsHook3
yelp-tools
];
buildInputs = [
@ -81,7 +94,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
passthru.updateScript = gitUpdater {
rev-prefix = "v";
odd-unstable = true;
};
meta = with lib; {
description = "MATE panel";