mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
885 B
Nix
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";
|
|
};
|
|
})
|