[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49382] [PATCH 01/21] gnu: Add hyperfine.
From: |
Domagoj Stolfa |
Subject: |
[bug#49382] [PATCH 01/21] gnu: Add hyperfine. |
Date: |
Sun, 4 Jul 2021 17:31:43 +0100 |
* gnu/packages/rust-apps.scm (hyperfine): New public variable.
---
gnu/packages/rust-apps.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5108ade3c9..f3edfabbaa 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -377,6 +377,46 @@ for distinguishing different kinds of bytes such as NULL
bytes, printable ASCII
characters, ASCII whitespace characters, other ASCII characters and
non-ASCII.")
(license (list license:expat license:asl2.0))))
+(define-public hyperfine
+ (package
+ (name "hyperfine")
+ (version "1.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyperfine" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m5lrvx6wwkxqdc5digm1k4diiaqcg5j4pia77s5nw1aam7k51hy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-colored" ,rust-colored-2)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-indicatif" ,rust-indicatif-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rust-decimal" ,rust-rust-decimal-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-statistical" ,rust-statistical-1)
+ ("rust-version-check" ,rust-version-check-0.9)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.3))))
+ (home-page
+ "https://github.com/sharkdp/hyperfine")
+ (synopsis "A command-line benchmarking tool")
+ (description
+ "This package provides a command-line benchmarking tool")
+ (license (list license:expat license:asl2.0))))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.32.0
- [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4, (continued)
- [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4, Domagoj Stolfa, 2021/07/04
- [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9, Domagoj Stolfa, 2021/07/04
- [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6, Domagoj Stolfa, 2021/07/04
- [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8, Domagoj Stolfa, 2021/07/04
- [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4, Domagoj Stolfa, 2021/07/04
- [bug#49382] [PATCH 01/21] gnu: Add hyperfine.,
Domagoj Stolfa <=
- [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11, Domagoj Stolfa, 2021/07/04
- [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3, Domagoj Stolfa, 2021/07/04
- [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10, Domagoj Stolfa, 2021/07/04
- [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11, Domagoj Stolfa, 2021/07/04
- [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2, Domagoj Stolfa, 2021/07/04