depot/third_party/nixpkgs/pkgs/by-name/ca/cargo-criterion/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

34 lines
744 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-criterion";
version = "1.1.0";
src = fetchFromGitHub {
owner = "bheisler";
repo = pname;
rev = version;
sha256 = "sha256-RPix9DM6E32PhObvV3xPGrnXrrVHn3auxLUhysP8GM0=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-D0Exfm6NRRedncDAgC3MgfagzsM0Dsc7X0i9arYYOgc=";
meta = with lib; {
description = "Cargo extension for running Criterion.rs benchmarks";
mainProgram = "cargo-criterion";
homepage = "https://github.com/bheisler/cargo-criterion";
license = with licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [
humancalico
matthiasbeyer
];
};
}