75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
22 lines
631 B
Nix
22 lines
631 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-criterion";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bheisler";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0czagclrn4yhlvlh06wsyiybz69r7mmk3182fywzn9vd0xlclxpi";
|
|
};
|
|
|
|
cargoSha256 = "sha256-XZuZ81hB/GQDopJyfSkxQiehSwJz7VWoJR6/m3WLil8=";
|
|
|
|
meta = with lib; {
|
|
description = "Cargo extension for running Criterion.rs benchmarks";
|
|
homepage = "https://github.com/bheisler/cargo-criterion";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ humancalico ];
|
|
};
|
|
}
|