fcitx5-lotus: 3.5.7 -> 3.5.9 (#562272)

This commit is contained in:
Sizhe Zhao
2026-09-12 06:40:39 +00:00
committed by GitHub

View File

@@ -31,16 +31,30 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "fcitx5-lotus";
version = "3.5.7";
version = "3.5.9";
src = fetchFromGitHub {
owner = "LotusInputMethod";
repo = "fcitx5-lotus";
rev = "v${finalAttrs.version}";
hash = "sha256-IQFklfLrccVm/SW8dpcplbWfoYJNoS4nMMdkuOzOgdo=";
tag = "v${finalAttrs.version}";
hash = "sha256-kOIs8nLSF93xDIU7v8Wldyw+Zs5NEMJqZA/42TN4oYM=";
fetchSubmodules = true;
};
vendorDir = finalAttrs.passthru."go-modules";
passthru = {
"go-modules" =
(buildGoModule {
pname = "fcitx5-lotus-go-modules";
inherit (finalAttrs) version src;
modRoot = "bamboo";
vendorHash = "sha256-CNDYjxDfqh9nGs5vlpb/7qXZeNtkvegC5nPvBOZcDrc=";
}).goModules;
updateScript = nix-update-script { };
};
nativeBuildInputs = [
cmake
gettext
@@ -65,18 +79,11 @@ stdenv.mkDerivation (finalAttrs: {
];
strictDeps = true;
__structuredAttrs = true;
dontWrapQtApps = true;
vendorDir =
(buildGoModule {
pname = "fcitx5-lotus-go-modules";
inherit (finalAttrs) version src;
modRoot = "bamboo";
vendorHash = "sha256-Y8sh1PqmBjXko2X9YOxwCrtrGLQ565aewrq4sRvLdpw=";
}).goModules;
preConfigure = ''
export GOCACHE=$TMPDIR/go-cache
export GOPATH=$TMPDIR/go
@@ -119,8 +126,6 @@ stdenv.mkDerivation (finalAttrs: {
--prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share"
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Vietnamese input method engine for Fcitx5";
homepage = "https://github.com/LotusInputMethod/fcitx5-lotus";