forked from mirrors/nixpkgs
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
26 lines
684 B
Nix
26 lines
684 B
Nix
{ 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;
|
|
|
|
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 ];
|
|
};
|
|
}
|