diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c841ad38cbc9..81ee57fd9104 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14964,6 +14964,12 @@ githubId = 61395246; name = "Lampros Pitsillos"; }; + landreussi = { + email = "lucasandreussi@gmail.com"; + github = "landreussi"; + githubId = 5938518; + name = "Lucas Andreussi"; + }; langsjo = { name = "langsjo"; github = "langsjo"; diff --git a/pkgs/by-name/fs/fs-watcher-lsp/package.nix b/pkgs/by-name/fs/fs-watcher-lsp/package.nix new file mode 100644 index 000000000000..fee31476a362 --- /dev/null +++ b/pkgs/by-name/fs/fs-watcher-lsp/package.nix @@ -0,0 +1,46 @@ +{ + lib, + fetchCrate, + openssl, + pkg-config, + rustPlatform, + nix-update-script, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "fs-watcher-lsp"; + version = "0.1.0"; + + __structuredAttrs = true; + + src = fetchCrate { + version = finalAttrs.version; + crateName = "fs_watcher_lsp"; + hash = "sha256-zahbi8RK8aDHcVOzIk5fCIh57+SjMGAVtUvtKhpMvF0="; + }; + + cargoHash = "sha256-w1i19IV/tjyl+W0NIjjbB0R9UpGrAUuK/yWbOZUKPUA="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + ]; + + buildNoDefaultFeatures = false; + doCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Little file system watcher LSP to reload your editor"; + changelog = "https://codeberg.org/Zentropivity/fs_watcher_lsp/releases/tag/v${finalAttrs.version}"; + license = with lib.licenses; [ + mit + asl20 + ]; + maintainers = with lib.maintainers; [ landreussi ]; + mainProgram = "fs_watcher_lsp"; + }; +})