e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
36 lines
713 B
Nix
36 lines
713 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, fcitx5
|
|
, lua
|
|
, gettext
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-lua";
|
|
version = "5.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-tnGPjMc8oL/P6Vyt7eNYWcPMhYhdpFWtCF4E3dJYGPw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ fcitx5 lua gettext ];
|
|
|
|
passthru = {
|
|
extraLdLibraries = [ lua ];
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Lua support for Fcitx 5";
|
|
homepage = "https://github.com/fcitx/fcitx5-lua";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ poscat ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|