diff --git a/pkgs/desktops/xfce/applications/xfce4-dict/default.nix b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix index 59862d182a86..e5adef9a0bb3 100644 --- a/pkgs/desktops/xfce/applications/xfce4-dict/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix @@ -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; }; -} +})