6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
23 lines
689 B
Nix
23 lines
689 B
Nix
{ stdenv, lib, fetchFromGitHub, rustPlatform, nix }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rnix-lsp";
|
|
version = "unstable-2022-11-27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = "rnix-lsp";
|
|
rev = "95d40673fe43642e2e1144341e86d0036abd95d9";
|
|
sha256 = "sha256-F0s0m62S5bHNVWNHLZD6SeHiLrsDx98VQbRjDyIu+qQ=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-RKHBp+/bEH9FEPLcf1MKmTugk1A8rQU447mNm9Le3DE=";
|
|
|
|
checkInputs = lib.optional (!stdenv.isDarwin) nix;
|
|
|
|
meta = with lib; {
|
|
description = "A work-in-progress language server for Nix, with syntax checking and basic completion";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|