From b11e2ec94f3cfbe7a10030831af84d3c08d1b99c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 20 May 2025 20:55:33 +0800 Subject: [PATCH] xfce.xfce4-clipman-plugin: 1.6.7 -> 1.7.0 https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin/-/compare/xfce4-clipman-plugin-1.6.7...xfce4-clipman-plugin-1.7.0 --- .../xfce4-clipman-plugin/default.nix | 45 +++++++++++++++---- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix index 85c21e0b5071..91228bf7e6ba 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix @@ -1,7 +1,13 @@ { + stdenv, lib, - mkXfceDerivation, + fetchFromGitLab, + gettext, + meson, + ninja, + pkg-config, wayland-scanner, + wrapGAppsHook3, glib, gtk3, libX11, @@ -13,16 +19,34 @@ xfconf, wayland, wlr-protocols, + gitUpdater, }: -mkXfceDerivation { - category = "panel-plugins"; +stdenv.mkDerivation (finalAttrs: { pname = "xfce4-clipman-plugin"; - version = "1.6.7"; - sha256 = "sha256-kbcA1X5LBnk1FcrhVqpCENp5bleJga2jnCh1RltN72o="; + version = "1.7.0"; + + src = fetchFromGitLab { + domain = "gitlab.xfce.org"; + owner = "panel-plugins"; + repo = "xfce4-clipman-plugin"; + tag = "xfce4-clipman-plugin-${finalAttrs.version}"; + hash = "sha256-w9axHJJnTQrkN9s3RQyvkOcK0FOqsvWpoJ+UCDntnZk="; + }; + + strictDeps = true; + + depsBuildBuild = [ + pkg-config + ]; nativeBuildInputs = [ + gettext + meson + ninja + pkg-config wayland-scanner + wrapGAppsHook3 ]; buildInputs = [ @@ -39,8 +63,13 @@ mkXfceDerivation { wlr-protocols ]; - meta = with lib; { + passthru.updateScript = gitUpdater { rev-prefix = "xfce4-clipman-plugin-"; }; + + meta = { description = "Clipboard manager for Xfce panel"; - teams = [ teams.xfce ]; + homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin"; + license = lib.licenses.gpl2Plus; + teams = [ lib.teams.xfce ]; + platforms = lib.platforms.linux; }; -} +})