587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
45 lines
777 B
Nix
45 lines
777 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, gettext
|
|
, fcitx5
|
|
, libhangul
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-hangul";
|
|
version = "5.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-S5TGjb5vD0rk7V88b4yRziszLrwO1pgVFWuEGMp48oY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
libhangul
|
|
];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) fcitx5;
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|