From 13cd3dd8f8322657f43590fd1210965048e27162 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 21 May 2025 21:00:19 +0800 Subject: [PATCH] xfce.xfce4-mailwatch-plugin: 1.3.2 -> 1.4.0 https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/compare/xfce4-mailwatch-plugin-1.3.2...xfce4-mailwatch-plugin-1.4.0 --- .../xfce4-mailwatch-plugin/default.nix | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix index 05ef1dccc0ee..aba48cca097a 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix @@ -3,6 +3,8 @@ stdenv, fetchurl, gettext, + meson, + ninja, pkg-config, xfce4-panel, libxfce4ui, @@ -15,21 +17,21 @@ gitUpdater, }: -let - category = "panel-plugins"; -in - -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "xfce4-mailwatch-plugin"; - version = "1.3.2"; + version = "1.4.0"; src = fetchurl { - url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-xHg/FTOJHNLgw0Bm2oWYZNzkWiPKpgFbWMufqdZafkQ="; + url = "mirror://xfce/src/panel-plugins/xfce4-mailwatch-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-mailwatch-plugin-${finalAttrs.version}.tar.xz"; + hash = "sha256-XCEQJdsQlmY/prjMQSE0ZKbXHyTnYyZJnYV/+B6jhh8="; }; + strictDeps = true; + nativeBuildInputs = [ gettext + meson + ninja pkg-config ]; @@ -45,15 +47,15 @@ stdenv.mkDerivation rec { ]; passthru.updateScript = gitUpdater { - url = "https://gitlab.xfce.org/panel-plugins/${pname}"; - rev-prefix = "${pname}-"; + url = "https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin"; + rev-prefix = "xfce4-mailwatch-plugin-"; }; - meta = with lib; { + meta = { homepage = "https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin"; description = "Mail watcher plugin for Xfce panel"; - license = licenses.gpl2Only; - platforms = platforms.linux; - teams = [ teams.xfce ]; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.linux; + teams = [ lib.teams.xfce ]; }; -} +})