From b6b1e9774eb456e645418e204410ffad865a0cfc Mon Sep 17 00:00:00 2001 From: SandaruKasa Date: Mon, 4 Nov 2024 01:32:39 +0300 Subject: [PATCH] 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 https://github.com/pest-parser/pest-ide-tools/commit/7d6d1ef59a386e30d5e7bb7ced4d7bd1c75101b7 * 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 --- pkgs/development/tools/misc/pest-ide-tools/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/misc/pest-ide-tools/default.nix b/pkgs/development/tools/misc/pest-ide-tools/default.nix index d71155bd67117..4e0fdaebdb33e 100644 --- a/pkgs/development/tools/misc/pest-ide-tools/default.nix +++ b/pkgs/development/tools/misc/pest-ide-tools/default.nix @@ -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"; };