9 rustPlatform.buildRustPackage rec {
10 pname = "cargo-benchcmp";
13 src = fetchFromGitHub {
15 repo = "cargo-benchcmp";
17 hash = "sha256-J8KFI0V/mOhUlYtVnFAQgPIpXL9/dLhOFxSly4bR00I=";
20 cargoHash = "sha256-2V9ILHnDsUI+x3f5o+V7p8rPUKf33PAkpyTabCPdd0g=";
23 # patch the binary path so tests can find the binary when `--target` is present
25 src = ./fix-test-binary-path.patch;
26 shortTarget = stdenv.hostPlatform.rust.rustcTarget;
31 # thread 'different_input_colored' panicked at 'assertion failed: `(left == right)`
32 "--skip=different_input_colored"
36 description = "Small utility to compare Rust micro-benchmarks";
37 mainProgram = "cargo-benchcmp";
38 homepage = "https://github.com/BurntSushi/cargo-benchcmp";
39 license = with licenses; [
43 maintainers = with maintainers; [ figsoda ];