From 71efa22e55c6fa00eace7c89e51fff0e977824b7 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 11 Jun 2024 14:09:47 +0200 Subject: [PATCH] =?UTF-8?q?cargo-bolero:=200.9.0=20=E2=86=92=200.11.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to newly introduced `random` engine, it is possible to use it on rustc from Nixpkgs with `--sanitizer NONE --engine random`. Other engines do not work because of https://www.github.com/camshaft/bolero/issues/79. Honggfuzz is still disabled by default, and it got broken by binutils bump anyway https://www.github.com/camshaft/bolero/issues/233. - 0.10.0: https://github.com/camshaft/bolero/compare/v0.9.0...36d41b8fea358b30afbc63f2c189ca608470c1fb - 0.11.0: https://github.com/camshaft/bolero/compare/36d41b8fea358b30afbc63f2c189ca608470c1fb...be95281871ef6ba4bc95f10947af554dfe1aa1a4 - 0.11.1: https://www.github.com/camshaft/bolero/pull/230 https://github.com/camshaft/bolero/compare/be95281871ef6ba4bc95f10947af554dfe1aa1a4...004acbf825a14c02e70da9811ce99e5514d68c4f - 0.11.2: https://github.com/camshaft/bolero/compare/004acbf825a14c02e70da9811ce99e5514d68c4f...b2f578f843714824b51e814e0dcecb71766ca314 Also add update script. --- pkgs/development/tools/rust/cargo-bolero/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-bolero/default.nix b/pkgs/development/tools/rust/cargo-bolero/default.nix index c242732b237bb..550ced495ef20 100644 --- a/pkgs/development/tools/rust/cargo-bolero/default.nix +++ b/pkgs/development/tools/rust/cargo-bolero/default.nix @@ -1,18 +1,22 @@ -{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind }: +{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind, nix-update-script }: rustPlatform.buildRustPackage rec { pname = "cargo-bolero"; - version = "0.9.0"; + version = "0.11.2"; src = fetchCrate { inherit pname version; - sha256 = "sha256-BuqbM55P/st+4XUSCwrqILUUCfwvSlxhKQFO+IZLa8U="; + sha256 = "sha256-Xcu91CbIDBLSojWQJjvdFWJiqjMteAxF105lemCAipk="; }; - cargoSha256 = "sha256-+TxMOKoId13meXqmr1QjDZMNqBnPEDQF1VSPheq8Ji0="; + cargoSha256 = "sha256-QLtf42Il+XHWeaUdh8jNNWU1sXaVe82sYOKiHLoXw2M="; buildInputs = [ libbfd libopcodes libunwind ]; + passthru = { + updateScript = nix-update-script { }; + }; + meta = with lib; { description = "Fuzzing and property testing front-end framework for Rust"; mainProgram = "cargo-bolero";