@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+
3+with rustPlatform;
4+
5+buildRustPackage rec {
6+ name = "hyperfine-${version}";
7+ version = "0.4.0";
8+
9+ src = fetchFromGitHub {
10+ owner = "sharkdp";
11+ repo = "hyperfine";
12+ rev = "refs/tags/v${version}";
13+ sha256 = "1ynqyacbx0x971lyd1k406asms58bc7vzl8gca3sg34rx0hx3wzi";
14+ };
15+
16+ cargoSha256 = "109yv1618bi19vh1jjv2ki06mafhcrv35a3a1zsr34kg3gsjv0rb";
17+
18+ meta = with stdenv.lib; {
19+ description = "Command-line benchmarking tool";
20+ homepage = https://github.com/sharkdp/hyperfine;
21+ license = with licenses; [ asl20 /* or */ mit ];
22+ maintainers = [ maintainers.thoughtpolice ];
23+ platforms = platforms.all;
24+ };
25+}