1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4 pname = "cargo-criterion";
7 src = fetchFromGitHub {
11 sha256 = "sha256-RPix9DM6E32PhObvV3xPGrnXrrVHn3auxLUhysP8GM0=";
14 cargoHash = "sha256-L/ILHKWlcYTkbEi2qDu7tf/3NHfTl6GhW0s+fUlsW08=";
17 description = "Cargo extension for running Criterion.rs benchmarks";
18 mainProgram = "cargo-criterion";
19 homepage = "https://github.com/bheisler/cargo-criterion";
20 license = with licenses; [ asl20 /* or */ mit ];
21 maintainers = with maintainers; [ humancalico matthiasbeyer ];