Merge pull request #114728 from humancalico/cargo-criterion
cargo-criterion: init at 1.0.0
This commit is contained in:
commit
82f8784f6a
22
pkgs/development/tools/rust/cargo-criterion/default.nix
Normal file
22
pkgs/development/tools/rust/cargo-criterion/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -10869,6 +10869,7 @@ in
|
||||
cargo-c = callPackage ../development/tools/rust/cargo-c {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
cargo-criterion = callPackage ../development/tools/rust/cargo-criterion { };
|
||||
cargo-deb = callPackage ../tools/package-management/cargo-deb {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user