567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
45 lines
747 B
Nix
45 lines
747 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
extra-cmake-modules,
|
|
fcitx5,
|
|
lua,
|
|
gettext,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-lua";
|
|
version = "5.0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-BhsckLi6FSrRw+QZ8pTEgjV4BaTKSKAJtmcRCFoOUwU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
lua
|
|
];
|
|
|
|
passthru = {
|
|
extraLdLibraries = [ lua ];
|
|
};
|
|
|
|
meta = {
|
|
description = "Lua support for Fcitx 5";
|
|
homepage = "https://github.com/fcitx/fcitx5-lua";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ poscat ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|