depot/third_party/nixpkgs/pkgs/by-name/fe/fennel-ls/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
885 B
Nix

{
lib,
stdenv,
fetchFromSourcehut,
lua,
luaPackages,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fennel-ls";
version = "0.1.2";
src = fetchFromSourcehut {
owner = "~xerool";
repo = "fennel-ls";
rev = finalAttrs.version;
hash = "sha256-8TDJ03x9dkfievbovzMN3JRfIKba3CfzbcRAZOuPbKs=";
};
buildInputs = [
lua
luaPackages.fennel
];
makeFlags = [ "PREFIX=$(out)" ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Language server for intelligent editing of the Fennel Programming Language";
homepage = "https://git.sr.ht/~xerool/fennel-ls/";
license = licenses.mit;
changelog = "https://git.sr.ht/~xerool/fennel-ls/refs/${version}";
maintainers = with maintainers; [
luftmensch-luftmensch
yisraeldov
];
inherit (lua.meta) platforms;
mainProgram = "fennel-ls";
};
})