{ lib, fetchFromGitHub, rustPlatform, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "pest-ide-tools"; version = "0.3.11"; cargoHash = "sha256-wLdVIAwrnAk8IRp4RhO3XgfYtNw2S07uAHB1mokZ2lk="; src = fetchFromGitHub { owner = "pest-parser"; repo = "pest-ide-tools"; rev = "v${version}"; sha256 = "sha256-12/FndzUbUlgcYcwMT1OfamSKgy2q+CvtGyx5YY4IFQ="; }; passthru = { updateScript = nix-update-script { }; }; meta = with lib; { description = "IDE support for Pest, via the LSP"; homepage = "https://pest.rs"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ nickhu ]; mainProgram = "pest-language-server"; }; }