fcitx5-mcbopomofo: init at 2.7 (#348712)

This commit is contained in:
Aleksana 2024-10-27 12:42:28 +08:00 committed by GitHub
commit 398f660bb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 60 additions and 0 deletions

View File

@ -19745,6 +19745,12 @@
github = "shikanime";
githubId = 22115108;
};
shiphan = {
email = "timlin940511@gmail.com";
name = "Shiphan";
github = "Shiphan";
githubId = 140245703;
};
shiryel = {
email = "contact@shiryel.com";
name = "Shiryel";

View File

@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
extra-cmake-modules,
gettext,
json_c,
icu,
fmt,
gtest,
fcitx5,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "fcitx5-mcbopomofo";
version = "2.7";
src = fetchFromGitHub {
owner = "openvanilla";
repo = "fcitx5-mcbopomofo";
rev = version;
hash = "sha256-7AuH/Ns5syMmcGeIPxi0KepMn2VzOnqopqKuQ2zxucc=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
json_c
icu
fmt
gtest
];
buildInputs = [
fcitx5
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "McBopomofo for fcitx5";
homepage = "https://github.com/openvanilla/fcitx5-mcbopomofo";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ shiphan ];
platforms = lib.platforms.linux;
};
}