crates-lsp: init at 0.4.2 (#442055)

authored by

jopejoe1 and committed by
GitHub
26ac4fbd f40cae81

+37
+37
pkgs/by-name/cr/crates-lsp/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + rustPlatform.buildRustPackage (finalAttrs: { 8 + pname = "crates-lsp"; 9 + version = "0.4.2"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "MathiasPius"; 13 + repo = "crates-lsp"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-s42nWQC2tD7vhQNPdTQNRokwXqeBhELidVYTlos+No0="; 16 + }; 17 + 18 + cargoHash = "sha256-XqUWcbaOZXRWzIvL9Kbo6Unl0rmeGxHO4+674uHukAs="; 19 + 20 + passthru.updateScript = nix-update-script { }; 21 + 22 + meta = { 23 + description = "Language Server implementation for Cargo.toml"; 24 + homepage = "https://github.com/MathiasPius/crates-lsp"; 25 + license = with lib.licenses; [ mit ]; 26 + 27 + platforms = [ 28 + "x86_64-linux" 29 + "aarch64-linux" 30 + "aarch64-darwin" 31 + "x86_64-darwin" 32 + "x86_64-windows" 33 + ]; 34 + maintainers = with lib.maintainers; [ steveej ]; 35 + mainProgram = "crates-lsp"; 36 + }; 37 + })