nixpkgs/pkgs/development/tools/rnix-lsp/default.nix

24 lines
626 B
Nix
Raw Normal View History

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