depot/third_party/nixpkgs/pkgs/development/tools/rnix-lsp/default.nix
Default email 84cb9d505d Project import generated by Copybara.
GitOrigin-RevId: 51bcdc4cdaac48535dabf0ad4642a66774c609ed
2021-09-23 17:35:13 +02:00

23 lines
626 B
Nix

{ lib, fetchFromGitHub, rustPlatform, nixUnstable }:
rustPlatform.buildRustPackage rec {
pname = "rnix-lsp";
version = "0.2.1";
src = fetchFromGitHub {
owner = "nix-community";
repo = "rnix-lsp";
rev = "v${version}";
sha256 = "sha256-54dtLkGAbQ4Sln/bs/sI0GaCbXyK8+vDD8QBgxaiCXg=";
};
cargoSha256 = "sha256-Tw05eOIMJj+zX0fqtn6wJwolKNkYqfVuo/WO/WvYu2k=";
checkInputs = [ nixUnstable ];
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 ];
};
}