diff --git a/pkgs/development/tools/rust/critcmp/default.nix b/pkgs/development/tools/rust/critcmp/default.nix new file mode 100644 index 000000000000..da387daeb950 --- /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 d0ead3b16ada..e43c93996099 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; };