create package for and install simple-completion-language-server for helix
This commit is contained in:
parent
589da4b4fa
commit
f5bc182956
|
@ -22,6 +22,7 @@
|
||||||
install-nix
|
install-nix
|
||||||
update
|
update
|
||||||
upgrade
|
upgrade
|
||||||
|
simple-completion-language-server
|
||||||
|
|
||||||
# System tools
|
# System tools
|
||||||
age
|
age
|
||||||
|
|
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
24
pkgs/simple-completion-language-server/default.nix
Normal file
24
pkgs/simple-completion-language-server/default.nix
Normal 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"];
|
||||||
|
};
|
||||||
|
}
|
1
pkgs/simple-completion-language-server/result
Symbolic link
1
pkgs/simple-completion-language-server/result
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/3l0wgxsvf5sz2q9sgyj0blc1ivzg808b-simple-completion-language-server-ff9f90bc96c347f284571bc6310bc31f95508d55
|
Loading…
Reference in a new issue