nixpkgs-suyu/pkgs/development/tools/rust/cargo-criterion/default.nix

23 lines
630 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-criterion";
2021-07-30 16:01:35 +02:00
version = "1.1.0";
src = fetchFromGitHub {
owner = "bheisler";
repo = pname;
rev = version;
2021-07-30 16:01:35 +02:00
sha256 = "sha256-RPix9DM6E32PhObvV3xPGrnXrrVHn3auxLUhysP8GM0=";
};
2021-07-30 16:01:35 +02:00
cargoSha256 = "sha256-L/ILHKWlcYTkbEi2qDu7tf/3NHfTl6GhW0s+fUlsW08=";
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 ];
};
}