mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
41 lines
715 B
Nix
41 lines
715 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, fcitx5
|
|
, lua5_3
|
|
, luaPackage ? lua5_3
|
|
, gettext
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-lua";
|
|
version = "5.0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-VHGHKV5KLbfIMWLErLRNl8pOQOkYkc/f6VjZUSqluFk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
luaPackage
|
|
gettext
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|