From 33cfad9a111703eb01250621420c354cad0fe167 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 15 Feb 2018 13:46:40 -0600 Subject: hyperfine: init at 0.4.0 Signed-off-by: Austin Seipp --- pkgs/tools/misc/hyperfine/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/tools/misc/hyperfine/default.nix (limited to 'pkgs/tools/misc/hyperfine') diff --git a/pkgs/tools/misc/hyperfine/default.nix b/pkgs/tools/misc/hyperfine/default.nix new file mode 100644 index 000000000000..322151739843 --- /dev/null +++ b/pkgs/tools/misc/hyperfine/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, rustPlatform }: + +with rustPlatform; + +buildRustPackage rec { + name = "hyperfine-${version}"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "sharkdp"; + repo = "hyperfine"; + rev = "refs/tags/v${version}"; + sha256 = "1ynqyacbx0x971lyd1k406asms58bc7vzl8gca3sg34rx0hx3wzi"; + }; + + cargoSha256 = "109yv1618bi19vh1jjv2ki06mafhcrv35a3a1zsr34kg3gsjv0rb"; + + meta = with stdenv.lib; { + description = "Command-line benchmarking tool"; + homepage = https://github.com/sharkdp/hyperfine; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = [ maintainers.thoughtpolice ]; + platforms = platforms.all; + }; +} -- cgit 1.4.1