2021-11-09 19:35:41 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, nix }:
|
2020-01-12 10:41:20 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rnix-lsp";
|
2021-12-24 12:11:12 +00:00
|
|
|
version = "0.2.3";
|
2020-01-12 10:41:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "rnix-lsp";
|
|
|
|
rev = "v${version}";
|
2021-12-24 12:11:12 +00:00
|
|
|
sha256 = "sha256-D2ItR8z4LqEH1IL53vq/wPh9Pfe3eB0KsA79aLM/BWM=";
|
2020-01-12 10:41:20 +00:00
|
|
|
};
|
|
|
|
|
2021-12-24 12:11:12 +00:00
|
|
|
cargoSha256 = "sha256-71vH8oc8DmwbwM2PgxjGmWAbyC4AByx7waHxLsr2koI=";
|
2021-09-23 13:27:47 +01:00
|
|
|
|
2021-11-09 19:35:41 +00:00
|
|
|
checkInputs = [ nix ];
|
2020-01-12 10:41:20 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A work-in-progress language server for Nix, with syntax checking and basic completion";
|
|
|
|
license = licenses.mit;
|
2021-09-23 13:27:47 +01:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2020-01-12 10:41:20 +00:00
|
|
|
};
|
|
|
|
}
|