Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
936 B
Nix
44 lines
936 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
lua,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "librime-lua";
|
|
version = "0-unstable-2025-07-07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hchunhui";
|
|
repo = "librime-lua";
|
|
rev = "68f9c364a2d25a04c7d4794981d7c796b05ab627";
|
|
hash = "sha256-m7/qXdIlMMHscDDcFmusNuOR0cuzPpDQdprqRci8qZw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lua ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir $out
|
|
cp --archive --verbose src/ $out
|
|
install --mode=644 --verbose --target-directory=$out CMakeLists.txt LICENSE README.md
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
|
|
|
|
meta = {
|
|
description = "Extending RIME with Lua scripts";
|
|
homepage = "https://github.com/hchunhui/librime-lua";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
linj
|
|
xddxdd
|
|
];
|
|
};
|
|
}
|