about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/rust/critcmp/default.nix
blob: 3035e6b97937adef2c99c49b79e3ece8f0e9af60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "critcmp";
  version = "0.1.8";

  src = fetchFromGitHub {
    owner = "BurntSushi";
    repo = "critcmp";
    rev = version;
    hash = "sha256-cf78R9siH0RFbx+vXTs71VblpsQokL6Uo32N3X4lV2I=";
  };

  cargoHash = "sha256-yzWa+/08tG8h+5V8XBc3k8GDivS6SHW6zVb+ug1sbE0=";

  meta = with lib; {
    description = "A command line tool for comparing benchmarks run by Criterion";
    mainProgram = "critcmp";
    homepage = "https://github.com/BurntSushi/critcmp";
    license = with licenses; [ mit unlicense ];
    maintainers = with maintainers; [ figsoda ];
  };
}