pest-ide-tools: remove openssl dependency & MIT license (#320064)

* pest-ide-tools: remove openssl dependency

openssl was dropped in favor of rustls in 0.3.9
7d6d1ef59a

* pest-ide-tools: remove erroneous MIT license

Despite the common practise among rustaceans to use a dual Apache-2.0/MIT license,
`pest-ide-tools` has only ever been licensed under Apache-2.0
https://github.com/pest-parser/pest-ide-tools/commits/v0.3.11/LICENSE
This commit is contained in:
SandaruKasa 2024-11-04 01:32:39 +03:00 committed by GitHub
parent 779a8486a7
commit b6b1e9774e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,8 +3,6 @@
, fetchFromGitHub
, rustPlatform
, nix-update-script
, pkg-config
, openssl
, darwin
}:
@ -19,10 +17,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "sha256-12/FndzUbUlgcYcwMT1OfamSKgy2q+CvtGyx5YY4IFQ=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
@ -33,7 +28,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "IDE support for Pest, via the LSP";
homepage = "https://pest.rs";
license = with licenses; [ mit asl20 ];
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ nickhu ];
mainProgram = "pest-language-server";
};