diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2023-05-22 21:59:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 21:59:05 +0300 |
commit | 317c4cfe9c00ed7d825672e3ac6d5f63378cc8d2 (patch) | |
tree | 475b695bec54e39381180dccc89245fc5e988b48 | |
parent | f5373a830b2d2f15c24057a2bf4719c9eea7780d (diff) | |
parent | 399793ab53ffa5bc2e1a5e58fbfcaa146481e5a0 (diff) |
Merge pull request #233258 from figsoda/critcmp
critcmp: init at 0.1.7
-rw-r--r-- | pkgs/development/tools/rust/critcmp/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/critcmp/default.nix b/pkgs/development/tools/rust/critcmp/default.nix new file mode 100644 index 0000000000000..da387daeb950f --- /dev/null +++ b/pkgs/development/tools/rust/critcmp/default.nix @@ -0,0 +1,25 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d0ead3b16ada5..e43c939960998 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16501,6 +16501,8 @@ with pkgs; crate2nix = callPackage ../development/tools/rust/crate2nix { }; + critcmp = callPackage ../development/tools/rust/critcmp { }; + convco = callPackage ../development/tools/convco { inherit (darwin.apple_sdk.frameworks) Security; }; |