e6548105b7
Follow-up to #144197 since nixUnstable is no longer needed for flake support.
24 lines
610 B
Nix
24 lines
610 B
Nix
{ lib, fetchFromGitHub, rustPlatform, nix }:
|
|
|
|
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 = [ 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 ];
|
|
};
|
|
}
|