guix-commits
[Top][All Lists]
Advanced

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

15/33: gnu: Add rust-iai-0.1.


From: guix-commits
Subject: 15/33: gnu: Add rust-iai-0.1.
Date: Wed, 25 Oct 2023 05:36:42 -0400 (EDT)

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

commit dd26ad003c6802c3f679fdaf3b81fd9edda6a87b
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]