2021-12-06 16:07:01 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, nix }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rnix-lsp";
|
2021-12-25 05:07:40 +00:00
|
|
|
version = "0.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "rnix-lsp";
|
|
|
|
rev = "v${version}";
|
2021-12-25 05:07:40 +00:00
|
|
|
sha256 = "sha256-D2ItR8z4LqEH1IL53vq/wPh9Pfe3eB0KsA79aLM/BWM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-25 05:07:40 +00:00
|
|
|
cargoSha256 = "sha256-71vH8oc8DmwbwM2PgxjGmWAbyC4AByx7waHxLsr2koI=";
|
2021-09-23 15:35:13 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
checkInputs = [ 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;
|
2021-09-23 15:35:13 +00:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|