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