1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

fennel-ls: init at 0.1.0

fennel-ls: init at 0.1.0

add fennel-ls package

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

Update pkgs/development/tools/language-servers/fennel-ls/default.nix

Co-authored-by: h7x4 <h7x4@nani.wtf>

fixes from code review

switch to 'by-name'
This commit is contained in:
Yisrael Dov Lebow 2024-01-18 01:50:04 +02:00
parent 40b3614410
commit 8c746b5ba9
No known key found for this signature in database
GPG key ID: 2DE3BC5F52D9C1D3

View file

@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchFromSourcehut
, lua
, luaPackages
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fennel-ls";
version = "0.1.0";
src = fetchFromSourcehut {
owner = "~xerool";
repo = "fennel-ls";
rev = finalAttrs.version;
hash = "sha256-RW3WFJGwascD4YnnrAm/2LFnVigzgtfzVubLMDW9J5s=";
};
buildInputs = [ lua luaPackages.fennel ];
makeFlags = [ "PREFIX=$(out)" ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A language server for intelligent editing of the Fennel Programming Language";
homepage = "https://git.sr.ht/~xerool/fennel-ls/";
license = licenses.mit;
maintainers = with maintainers; [ yisraeldov ];
platforms = lua.meta.platforms;
mainProgram = "fennel-ls";
};
})