Unverified Commit c6bc29bd authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

ron-lsp: init at 0.1.1 (#471146)

parents 9aa5cc9e 92c64b53
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6612,6 +6612,12 @@
    github = "dietmarw";
    githubId = 9332;
  };
  Dietr1ch = {
    name = "Dietrich Daroch";
    github = "Dietr1ch";
    githubId = 2096594;
    email = "Dietrich@Daroch.me";
  };
  different-name = {
    name = "different-name";
    email = "hello@different-name.dev";
+37 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "ron-lsp";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "jasonjmcghee";
    repo = "ron-lsp";
    tag = "v${finalAttrs.version}";
    hash = "sha256-c+cJrXINuoK+NR1rMSrOeZqZzrEcg/brSTKSTu5mNr4=";
  };

  cargoHash = "sha256-eEoxgnfc9s59b0SNozEIj/1wHv+OWDmd4bniBbGsgSQ=";

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "RON, Rusty Object Notation, Language Server";
    longDescription = ''
      An LSP and CLI for RON files that provides autocomplete,
      diagnostics, go to definition, code actions, and hover support
      based on Rust type annotations
    '';
    homepage = "https://github.com/jasonjmcghee/ron-lsp";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [
      Dietr1ch
    ];
    mainProgram = "ron-lsp";
  };
})