create package for and install simple-completion-language-server for helix

This commit is contained in:
Lillian Violet 2024-05-01 23:05:24 +02:00
parent 589da4b4fa
commit f5bc182956
4 changed files with 27 additions and 0 deletions

View file

@ -22,6 +22,7 @@
install-nix install-nix
update update
upgrade upgrade
simple-completion-language-server
# System tools # System tools
age age

View file

@ -13,4 +13,5 @@ pkgs: {
restart = pkgs.callPackage ./restart {}; restart = pkgs.callPackage ./restart {};
phanpy = pkgs.callPackage ./phanpy {}; phanpy = pkgs.callPackage ./phanpy {};
# auto-mount = pkgs.callPackage ./auto-mount {}; # auto-mount = pkgs.callPackage ./auto-mount {};
simple-completion-language-server = pkgs.callPackage ./simple-completion-language-server {};
} }

View file

@ -0,0 +1,24 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "simple-completion-language-server";
version = "ff9f90bc96c347f284571bc6310bc31f95508d55";
src = fetchFromGitHub {
owner = "estin";
repo = pname;
rev = version;
hash = "sha256-qybbZXjKzKcc6UXfAjwmkkB+qEUuGQXABRbMj7bNksM=";
};
cargoHash = "sha256-VTz2Fm+PRUPM5+u9D+2TzGGIEQwb1j0Lz0WRaQ5/Yzo=";
meta = with lib; {
description = "Language server to enable word completion and snippets for Helix editor";
homepage = "https://github.com/estin/simple-completion-language-server";
license = licenses.mit;
maintainers = ["Lillian-Violet"];
};
}

View file

@ -0,0 +1 @@
/nix/store/3l0wgxsvf5sz2q9sgyj0blc1ivzg808b-simple-completion-language-server-ff9f90bc96c347f284571bc6310bc31f95508d55