Commit 28f552fa authored by figsoda's avatar figsoda
Browse files

tarmac: update Cargo.lock and unpin openssl

parent 1e5e280d
Loading
Loading
Loading
Loading
+2212 −0

File added.

Preview size limit exceeded, changes collapsed.

+12 −5
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl_1_1
, openssl
, stdenv
, Security
}:

@@ -18,18 +18,25 @@ rustPlatform.buildRustPackage rec {
    sha256 = "sha256-O6qrAzGiAxiE56kpuvH/jDKHRXxHZ2SlDL5nwOOd4EU=";
  };

  cargoSha256 = "sha256-QnpowYv/TBXjPHK8z6KAzN3gSsfNOf9POybqsyugeWc=";
  cargoLock = {
    lockFile = ./Cargo.lock;
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl_1_1
    openssl
  ] ++ lib.optionals stdenv.isDarwin [
    Security
  ];

  # update Cargo.lock to work with openssl 3
  postPatch = ''
    ln -sf ${./Cargo.lock} Cargo.lock
  '';

  meta = with lib; {
    description = "Resource compiler and asset manager for Roblox";
    longDescription = ''