nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, rustPlatform
3, fetchFromGitHub
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "critcmp";
8 version = "0.1.7";
9
10 src = fetchFromGitHub {
11 owner = "BurntSushi";
12 repo = "critcmp";
13 rev = version;
14 hash = "sha256-B9unlodAhdmRogHX7tqky320xpaUG2p8nRZS7uGOXGY=";
15 };
16
17 cargoHash = "sha256-Y1vfUOwCWAjMnNlm40XM9sQvooVtnGETTpIIsN/HTOU=";
18
19 meta = with lib; {
20 description = "A command line tool for comparing benchmarks run by Criterion";
21 homepage = "https://github.com/BurntSushi/critcmp";
22 license = with licenses; [ mit unlicense ];
23 maintainers = with maintainers; [ figsoda ];
24 };
25}