Commit 31a776f3 authored by Sarah Clark's avatar Sarah Clark
Browse files

bulloak: migrate to new apple sdk, elide "with lib"

parent 988bb62e
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, rustPlatform
, fetchurl
, stdenv
, darwin
{
  lib,
  fetchFromGitHub,
  rustPlatform,
  fetchurl,
  stdenv,
}:

let
@@ -42,19 +42,20 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-lj/wmLu4cBjDjzMD8DlIz+6Rnag0h+zWiE7lfcTC7lY=";

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];

  # tests run in CI on the source repo
  doCheck = false;

  # provide the list of solc versions to the `svm-rs-builds` dependency
  SVM_RELEASES_LIST_JSON = solc-versions.${stdenv.hostPlatform.system};

  meta = with lib; {
  meta = {
    description = "Solidity test generator based on the Branching Tree Technique";
    homepage = "https://github.com/alexfertel/bulloak";
    license = with licenses; [ mit asl20 ];
    license = with lib.licenses; [
      mit
      asl20
    ];
    mainProgram = "bulloak";
    maintainers = with maintainers; [ beeb ];
    maintainers = with lib.maintainers; [ beeb ];
  };
}