fcitx5-mcbopomofo: init at 2.7 (#348712)
This commit is contained in:
commit
398f660bb8
@ -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";
|
||||
|
54
pkgs/by-name/fc/fcitx5-mcbopomofo/package.nix
Normal file
54
pkgs/by-name/fc/fcitx5-mcbopomofo/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user