guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

170/311: gnu: Add rust-iai-0.1.


From: guix-commits
Subject: 170/311: gnu: Add rust-iai-0.1.
Date: Sat, 28 Oct 2023 16:38:55 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit cbc580ea3b02217ba2451f6af32ba1c28786a6db
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:54:18 2023 +0300

    gnu: Add rust-iai-0.1.
    
    * gnu/packages/crates-io.scm (rust-iai-0.1): New variable.
    
    Change-Id: Ie920c26487f58f883ccd0a91a5e7456b55202440
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ccaa43ba04..5b3553f500 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34950,6 +34950,25 @@ with hyper.")
     (description "This package provides async closure macro for hyprland-rs.")
     (license license:gpl3+)))
 
+(define-public rust-iai-0.1
+  (package
+    (name "rust-iai")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "iai" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y6nhl8kany25njkkka4i5crlk4bf45mj1sdhfjql9a2gk4ida3i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-iai-macro" ,rust-iai-macro-0.1))))
+    (home-page "https://github.com/bheisler/iai";)
+    (synopsis "One-shot benchmarking library")
+    (description "One-shot benchmarking library.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-iai-macro-0.1
   (package
     (name "rust-iai-macro")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]