Bobby Rong
2025-05-14 22:46:56 +08:00
parent d89fc19e40
commit 40f2099de3

View File

@@ -1,19 +1,40 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
glib,
gtk3,
libxfce4ui,
libxfce4util,
xfce4-panel,
gitUpdater,
}:
mkXfceDerivation {
category = "apps";
stdenv.mkDerivation (finalAttrs: {
pname = "xfce4-dict";
version = "0.8.8";
version = "0.8.9";
sha256 = "sha256-nVpEeOSSfXCIxuIj0qie+oi8FVRiVUmDMPZZwIZ9L/k=";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "apps";
repo = "xfce4-dict";
tag = "xfce4-dict-${finalAttrs.version}";
hash = "sha256-cl5TnPlgGUZ4esdkptyXO+LagdAboSzR4m0cCre9RHA=";
};
strictDeps = true;
nativeBuildInputs = [
glib # glib-compile-resources
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs = [
glib
@@ -23,9 +44,14 @@ mkXfceDerivation {
xfce4-panel
];
meta = with lib; {
passthru.updateScript = gitUpdater { rev-prefix = "xfce4-dict-"; };
meta = {
description = "Dictionary Client for the Xfce desktop environment";
homepage = "https://gitlab.xfce.org/apps/xfce4-dict";
license = lib.licenses.gpl2Plus;
mainProgram = "xfce4-dict";
teams = [ teams.xfce ];
teams = [ lib.teams.xfce ];
platforms = lib.platforms.linux;
};
}
})