Bobby Rong
2025-05-22 23:21:00 +08:00
parent 49a720663d
commit 38ef6d1f8d
@@ -1,20 +1,39 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
gettext,
meson,
ninja,
pkg-config,
glib,
gtk3,
libxfce4ui,
libxfce4util,
xfce4-panel,
gitUpdater,
}:
mkXfceDerivation {
category = "panel-plugins";
stdenv.mkDerivation (finalAttrs: {
pname = "xfce4-netload-plugin";
version = "1.4.2";
rev-prefix = "xfce4-netload-plugin-";
odd-unstable = false;
sha256 = "sha256-g4pkNzggVjC0AuUnJeleR3RQCrneetjDyv8eCXmrYzI=";
version = "1.5.0";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "panel-plugins";
repo = "xfce4-netload-plugin";
tag = "xfce4-netload-plugin-${finalAttrs.version}";
hash = "sha256-iZnfPCOHg0+eo8ubfIsweH2T/DSLeL2Q+giWK/Vkpko=";
};
strictDeps = true;
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
];
buildInputs = [
glib
@@ -24,8 +43,13 @@ mkXfceDerivation {
xfce4-panel
];
meta = with lib; {
passthru.updateScript = gitUpdater { rev-prefix = "xfce4-netload-plugin-"; };
meta = {
description = "Internet load speed plugin for Xfce4 panel";
teams = [ teams.xfce ];
homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-netload-plugin";
license = lib.licenses.gpl2Plus;
teams = [ lib.teams.xfce ];
platforms = lib.platforms.linux;
};
}
})