2021-02-18 07:10:37 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-criterion";
|
2021-03-11 07:37:18 +01:00
|
|
|
version = "1.0.1";
|
2021-02-18 07:10:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bheisler";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-03-11 07:37:18 +01:00
|
|
|
sha256 = "sha256-NiuK+PexfF2wmA8drqqkv/RQlVwYLT3q2QWvV0ghJwg=";
|
2021-02-18 07:10:37 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "sha256-5Z9Oz8jjyM3+cHAZ++thRDdNlb0Kj54Mg7JjF9JrLdw=";
|
2021-02-18 07:10:37 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|