Skip to content

Commit

Permalink
pest-ide-tools: remove openssl dependency & MIT license (#320064)
Browse files Browse the repository at this point in the history
* pest-ide-tools: remove openssl dependency

openssl was dropped in favor of rustls in 0.3.9
pest-parser/pest-ide-tools@7d6d1ef

* 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
  • Loading branch information
SandaruKasa authored Nov 3, 2024
1 parent 779a848 commit b6b1e97
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pkgs/development/tools/misc/pest-ide-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
, fetchFromGitHub
, rustPlatform
, nix-update-script
, pkg-config
, openssl
, darwin
}:

Expand All @@ -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
];

Expand All @@ -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";
};
Expand Down

0 comments on commit b6b1e97

Please sign in to comment.