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

26 lines
684 B
Nix
Raw Normal View History

2020-01-12 10:41:20 +00:00
{ callPackage, lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "rnix-lsp";
version = "0.1.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "rnix-lsp";
rev = "v${version}";
sha256 = "0fy620c34kxl27sd62x9mj0555bcdmnmbsxavmyiwb497z1m9wnn";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
2020-01-12 10:41:20 +00:00
cargoSha256 = "1wm5m7b6zr6wg1k59rmqis1zp9i2990p7y0ml852hxv34an7pp5d";
meta = with lib; {
description = "A work-in-progress language server for Nix, with syntax checking and basic completion";
license = licenses.mit;
maintainers = with maintainers; [ jD91mZM2 ];
};
}