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
40 lines
938 B
Nix
40 lines
938 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromSourcehut,
|
|
lua,
|
|
luaPackages,
|
|
pandoc,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fennel-ls";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~xerool";
|
|
repo = "fennel-ls";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-6ZbGRTBBRktudGVBZ+UMn8l0+wKa8f5dg7UOwLhOT7E=";
|
|
};
|
|
buildInputs = [
|
|
lua
|
|
luaPackages.fennel
|
|
];
|
|
nativeBuildInputs = [ pandoc ];
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
description = "Language server for intelligent editing of the Fennel Programming Language";
|
|
homepage = "https://git.sr.ht/~xerool/fennel-ls/";
|
|
license = lib.licenses.mit;
|
|
changelog = "https://git.sr.ht/~xerool/fennel-ls/refs/${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [
|
|
luftmensch-luftmensch
|
|
yisraeldov
|
|
];
|
|
inherit (lua.meta) platforms;
|
|
mainProgram = "fennel-ls";
|
|
};
|
|
})
|