Bobby Rong
2025-05-21 21:04:12 +08:00
parent e7326d809a
commit 204a4f6052
@@ -3,29 +3,32 @@
stdenv,
fetchurl,
gettext,
meson,
ninja,
pkg-config,
libxfce4util,
xfce4-panel,
libxfce4ui,
xfconf,
glib,
gtk3,
gitUpdater,
}:
let
category = "panel-plugins";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xfce4-eyes-plugin";
version = "4.6.2";
version = "4.7.0";
src = fetchurl {
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-ArSsY3YEoLkmJhbLlhPg/meX+2sPH8KImnfh4K1KAaU=";
url = "mirror://xfce/src/panel-plugins/xfce4-eyes-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-eyes-plugin-${finalAttrs.version}.tar.xz";
hash = "sha256-h/m5eMp1q7OqXtsTFetl75hlSmYsFGIYR93/6KpldK0=";
};
strictDeps = true;
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
];
@@ -33,20 +36,20 @@ stdenv.mkDerivation rec {
libxfce4util
libxfce4ui
xfce4-panel
xfconf
glib
gtk3
];
passthru.updateScript = gitUpdater {
url = "https://gitlab.xfce.org/panel-plugins/${pname}";
rev-prefix = "${pname}-";
url = "https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin";
rev-prefix = "xfce4-eyes-plugin-";
};
meta = with lib; {
meta = {
homepage = "https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin";
description = "Rolling eyes (following mouse pointer) plugin for the Xfce panel";
license = licenses.gpl2Plus;
platforms = platforms.linux;
teams = [ teams.xfce ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
}
})