1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "critcmp";
9 version = "0.1.8";
10
11 src = fetchFromGitHub {
12 owner = "BurntSushi";
13 repo = "critcmp";
14 rev = version;
15 hash = "sha256-cf78R9siH0RFbx+vXTs71VblpsQokL6Uo32N3X4lV2I=";
16 };
17
18 cargoHash = "sha256-wpfv6mebFPvL+9UkggRRH3fPOeGslORzxtN0q/KKOsw=";
19
20 meta = with lib; {
21 description = "Command line tool for comparing benchmarks run by Criterion";
22 mainProgram = "critcmp";
23 homepage = "https://github.com/BurntSushi/critcmp";
24 license = with licenses; [
25 mit
26 unlicense
27 ];
28 maintainers = with maintainers; [ figsoda ];
29 };
30}