Skip to content

Commit

Permalink
fennel-ls: init at 0.1.0
Browse files Browse the repository at this point in the history
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 <[email protected]>

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

Co-authored-by: h7x4 <[email protected]>

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

Co-authored-by: h7x4 <[email protected]>

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

Co-authored-by: h7x4 <[email protected]>

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

Co-authored-by: h7x4 <[email protected]>

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

Co-authored-by: h7x4 <[email protected]>

fixes from code review

switch to 'by-name'
  • Loading branch information
yisraeldov committed Jan 21, 2024
1 parent 754a55c commit 85ab5f8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/by-name/fe/fennel-ls/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
})

0 comments on commit 85ab5f8

Please sign in to comment.