mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
e4412ac273
ChangeLog: https://github.com/nix-community/rnix-lsp/blob/release-0.2.x/CHANGELOG.md#v023---2021-12-24 * Update `rnix` to 0.10.1 for support of new Nix 2.4 language features. * Fix test-suite on Darwin.
24 lines
610 B
Nix
24 lines
610 B
Nix
{ lib, fetchFromGitHub, rustPlatform, nix }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rnix-lsp";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = "rnix-lsp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-D2ItR8z4LqEH1IL53vq/wPh9Pfe3eB0KsA79aLM/BWM=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-71vH8oc8DmwbwM2PgxjGmWAbyC4AByx7waHxLsr2koI=";
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
}
|