pest-ide-tools: init at 0.3.3 (#249102)

This commit is contained in:
Nick Hu 2023-08-21 22:23:39 +01:00 committed by GitHub
parent dfa87519af
commit b79f7ccd52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, rustPlatform
, nix-update-script
, pkg-config
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "pest-ide-tools";
version = "0.3.3";
cargoSha256 = "sha256-TXsRGkhswxxLCPOk1qMTvDjs4de1sClRJMr/0o6u4Pg=";
src = fetchFromGitHub {
owner = "pest-parser";
repo = "pest-ide-tools";
rev = "v${version}";
sha256 = "sha256-XAdQQFU8ZF0zarqCB6WlhpZVNqNyX6e4np4Wjalhobo=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "IDE support for Pest, via the LSP.";
homepage = "https://pest.rs";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ nickhu ];
mainProgram = "pest-language-server";
};
}

View file

@ -17259,6 +17259,8 @@ with pkgs;
opensycl = darwin.apple_sdk_11_0.callPackage ../development/compilers/opensycl { };
opensyclWithRocm = opensycl.override { rocmSupport = true; };
pest-ide-tools = callPackage ../development/tools/misc/pest-ide-tools { };
ravedude = callPackage ../development/tools/rust/ravedude { };
ra-multiplex = callPackage ../development/tools/rust/ra-multiplex {};