nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-hangul.nix
2022-07-11 21:45:31 +08:00

41 lines
705 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, gettext
, fcitx5
, libhangul
}:
stdenv.mkDerivation rec {
pname = "fcitx5-hangul";
version = "5.0.10";
src = fetchFromGitHub {
owner = "fcitx";
repo = pname;
rev = version;
sha256 = "sha256-Hjnt9E24u1ycKreZf6Nb8cH7S3JKRlLSYAxhA11DMjs=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
];
buildInputs = [
fcitx5
libhangul
];
meta = with lib; {
description = "Hangul wrapper for Fcitx5";
homepage = "https://github.com/fcitx/fcitx5-hangul";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}