depot/third_party/nixpkgs/pkgs/development/tools/rust/critcmp/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

25 lines
621 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "critcmp";
version = "0.1.7";
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "critcmp";
rev = version;
hash = "sha256-B9unlodAhdmRogHX7tqky320xpaUG2p8nRZS7uGOXGY=";
};
cargoHash = "sha256-Y1vfUOwCWAjMnNlm40XM9sQvooVtnGETTpIIsN/HTOU=";
meta = with lib; {
description = "A command line tool for comparing benchmarks run by Criterion";
homepage = "https://github.com/BurntSushi/critcmp";
license = with licenses; [ mit unlicense ];
maintainers = with maintainers; [ figsoda ];
};
}