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

This commit is contained in:
Sarah Clark 2024-11-06 14:21:23 -08:00
parent 988bb62ec6
commit 31a776f347

View File

@ -1,9 +1,9 @@
{ lib {
, fetchFromGitHub lib,
, rustPlatform fetchFromGitHub,
, fetchurl rustPlatform,
, stdenv fetchurl,
, darwin stdenv,
}: }:
let let
@ -42,19 +42,20 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-lj/wmLu4cBjDjzMD8DlIz+6Rnag0h+zWiE7lfcTC7lY="; 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 # tests run in CI on the source repo
doCheck = false; doCheck = false;
# provide the list of solc versions to the `svm-rs-builds` dependency # provide the list of solc versions to the `svm-rs-builds` dependency
SVM_RELEASES_LIST_JSON = solc-versions.${stdenv.hostPlatform.system}; SVM_RELEASES_LIST_JSON = solc-versions.${stdenv.hostPlatform.system};
meta = with lib; { meta = {
description = "Solidity test generator based on the Branching Tree Technique"; description = "Solidity test generator based on the Branching Tree Technique";
homepage = "https://github.com/alexfertel/bulloak"; homepage = "https://github.com/alexfertel/bulloak";
license = with licenses; [ mit asl20 ]; license = with lib.licenses; [
mit
asl20
];
mainProgram = "bulloak"; mainProgram = "bulloak";
maintainers = with maintainers; [ beeb ]; maintainers = with lib.maintainers; [ beeb ];
}; };
} }