at 22.05-pre 40 lines 723 B view raw
1{ lib, stdenv 2, fetchFromGitHub 3, cmake 4, extra-cmake-modules 5, fcitx5 6, lua5_3 7, luaPackage ? lua5_3 8, gettext 9}: 10 11stdenv.mkDerivation rec { 12 pname = "fcitx5-lua"; 13 version = "5.0.5"; 14 15 src = fetchFromGitHub { 16 owner = "fcitx"; 17 repo = "fcitx5-lua"; 18 rev = version; 19 sha256 = "0x7b78rz9mdyhm3y8yi7kihah7fgqzjyfgqwjyfx3i90wxflnmmc"; 20 }; 21 22 nativeBuildInputs = [ 23 cmake 24 extra-cmake-modules 25 ]; 26 27 buildInputs = [ 28 fcitx5 29 luaPackage 30 gettext 31 ]; 32 33 meta = with lib; { 34 description = "Lua support for Fcitx 5"; 35 homepage = "https://github.com/fcitx/fcitx5-lua"; 36 license = licenses.lgpl21Plus; 37 maintainers = with maintainers; [ poscat ]; 38 platforms = platforms.linux; 39 }; 40}