diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index dedf71ae8518..ccc5b54474f7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12615,6 +12615,12 @@ githubId = 1903418; name = "Kovacsics Robert"; }; + kpbaks = { + email = "kristoffer.pbs@gmail.com"; + github = "kpbaks"; + githubId = 57013304; + name = "Kristoffer Plagborg Bak Sørensen"; + }; kpcyrd = { email = "git@rxv.cc"; github = "kpcyrd"; diff --git a/pkgs/by-name/si/simple-completion-language-server/package.nix b/pkgs/by-name/si/simple-completion-language-server/package.nix new file mode 100644 index 000000000000..34cd78cf894d --- /dev/null +++ b/pkgs/by-name/si/simple-completion-language-server/package.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + withCitation ? true, +}: + +rustPlatform.buildRustPackage { + pname = "simple-completion-language-server"; + version = "0-unstable-2025-01-31"; + + src = fetchFromGitHub { + owner = "estin"; + repo = "simple-completion-language-server"; + rev = "f6ab8e8374d046e5c6ff36cc9804dfc708b56c02"; + hash = "sha256-ot2h85cn2ID7GAOSJvIeKcC3uUYzS3TWQ4Ql6MzPG50="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-L0Xa+B5hMkVKdOD0YAyGErbgAY68CHzzeP0CLew0BMs="; + + buildFeatures = lib.optional withCitation [ "citation" ]; + + meta = { + description = "Language server to enable word completion and snippets for Helix editor"; + homepage = "https://github.com/estin/simple-completion-language-server"; + license = [ lib.licenses.mit ]; + maintainers = [ lib.maintainers.kpbaks ]; + mainProgram = "simple-completion-language-server"; + platforms = lib.platforms.all; + }; +}