Add fennel-ls
This commit is contained in:
parent
1b64474c90
commit
be8fc244ac
5 changed files with 37 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: nifoc
|
name: nifoc
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
- run: nix build '.#fennel-ls'
|
||||||
- run: nix build '.#luarocks-jsregexp'
|
- run: nix build '.#luarocks-jsregexp'
|
||||||
- run: nix build '.#q'
|
- run: nix build '.#q'
|
||||||
|
|
||||||
|
@ -34,6 +35,7 @@ jobs:
|
||||||
name: nifoc
|
name: nifoc
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- run: nix build '.#cliclick'
|
- run: nix build '.#cliclick'
|
||||||
|
- run: nix build '.#fennel-ls'
|
||||||
- run: nix build '.#luarocks-jsregexp'
|
- run: nix build '.#luarocks-jsregexp'
|
||||||
- run: nix build '.#phantomjs'
|
- run: nix build '.#phantomjs'
|
||||||
- run: nix build '.#q'
|
- run: nix build '.#q'
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
* [agilebits-op](https://app-updates.agilebits.com/product_history/CLI2)
|
* [agilebits-op](https://app-updates.agilebits.com/product_history/CLI2)
|
||||||
* [cliclick](https://github.com/BlueM/cliclick)
|
* [cliclick](https://github.com/BlueM/cliclick)
|
||||||
|
* [fennel-ls](https://git.sr.ht/~xerool/fennel-ls)
|
||||||
* [luarocks-jsregexp](https://github.com/kmarius/jsregexp)
|
* [luarocks-jsregexp](https://github.com/kmarius/jsregexp)
|
||||||
* [phantomjs](https://github.com/ariya/phantomjs)
|
* [phantomjs](https://github.com/ariya/phantomjs)
|
||||||
* [q](https://github.com/natesales/q)
|
* [q](https://github.com/natesales/q)
|
||||||
|
|
|
@ -6,6 +6,7 @@ in
|
||||||
{
|
{
|
||||||
inherit (custom) agilebits-op;
|
inherit (custom) agilebits-op;
|
||||||
inherit (custom) cliclick;
|
inherit (custom) cliclick;
|
||||||
|
inherit (custom) fennel-ls;
|
||||||
inherit (custom) luarocks-jsregexp;
|
inherit (custom) luarocks-jsregexp;
|
||||||
inherit (custom) phantomjs;
|
inherit (custom) phantomjs;
|
||||||
inherit (custom) q;
|
inherit (custom) q;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
agilebits-op = import ./packages/agilebits-op.nix { inherit system lib pkgs; };
|
agilebits-op = import ./packages/agilebits-op.nix { inherit system lib pkgs; };
|
||||||
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
|
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
|
||||||
|
fennel-ls = import ./packages/fennel-ls.nix { inherit system lib pkgs; };
|
||||||
luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; };
|
luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; };
|
||||||
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
|
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
|
||||||
q = import ./packages/q.nix { inherit system lib pkgs; };
|
q = import ./packages/q.nix { inherit system lib pkgs; };
|
||||||
|
|
32
packages/fennel-ls.nix
Normal file
32
packages/fennel-ls.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ system, lib, pkgs }:
|
||||||
|
|
||||||
|
pkgs.stdenv.mkDerivation rec {
|
||||||
|
pname = "fennel-ls";
|
||||||
|
version = "2022-11-11";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromSourcehut {
|
||||||
|
owner = "~xerool";
|
||||||
|
repo = pname;
|
||||||
|
rev = "main";
|
||||||
|
sha256 = "sha256-mYOAlSCixlWzykPeLcGyTzWksDAJjblkYwI0k1GuYvE=";
|
||||||
|
fetchSubmodules = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
lua
|
||||||
|
];
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp fennel-ls $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A language server for fennel";
|
||||||
|
homepage = "https://git.sr.ht/~xerool/fennel-ls";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue