2022-02-10 20:34:41 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, nix }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rnix-lsp";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "unstable-2022-11-27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "rnix-lsp";
|
2023-01-11 07:51:40 +00:00
|
|
|
rev = "95d40673fe43642e2e1144341e86d0036abd95d9";
|
|
|
|
sha256 = "sha256-F0s0m62S5bHNVWNHLZD6SeHiLrsDx98VQbRjDyIu+qQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
cargoSha256 = "sha256-RKHBp+/bEH9FEPLcf1MKmTugk1A8rQU447mNm9Le3DE=";
|
2021-09-23 15:35:13 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = lib.optional (!stdenv.isDarwin) nix;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A work-in-progress language server for Nix, with syntax checking and basic completion";
|
|
|
|
license = licenses.mit;
|
2023-01-20 10:41:00 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|