Bobby Rong
2025-05-20 21:47:52 +08:00
parent a0fbac25d6
commit b11e2ec94f
@@ -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;
};
}
})