diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-02-15 13:46:40 -0600 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-02-15 13:54:03 -0600 |
commit | 33cfad9a111703eb01250621420c354cad0fe167 (patch) | |
tree | 2ef571ac664b694ea27687ed52963dcdc7f9730a | |
parent | acd80e4725074cef018b0ca096fe4f29aace908b (diff) | |
download | nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar.gz nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar.bz2 nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar.lz nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar.xz nixlib-33cfad9a111703eb01250621420c354cad0fe167.tar.zst nixlib-33cfad9a111703eb01250621420c354cad0fe167.zip |
hyperfine: init at 0.4.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r-- | pkgs/tools/misc/hyperfine/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 483f4b3c19e9..b664493fec9a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19907,6 +19907,8 @@ with pkgs; hplipWithPlugin_3_16_11 = hplip.override { withPlugin = true; }; + hyperfine = callPackage ../tools/misc/hyperfine { }; + epkowa = callPackage ../misc/drivers/epkowa { }; illum = callPackage ../tools/system/illum { }; |