Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcitx5-mcbopomofo: init at 2.7 #348712

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19569,6 +19569,12 @@
github = "shikanime";
githubId = 22115108;
};
shiphan = {
email = "[email protected]";
name = "Shiphan";
github = "Shiphan";
githubId = 140245703;
};
shiryel = {
email = "[email protected]";
name = "Shiryel";
Expand Down
54 changes: 54 additions & 0 deletions pkgs/by-name/fc/fcitx5-mcbopomofo/package.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}