guix-commits
[Top][All Lists]
Advanced

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

14/33: gnu: Add rust-iai-macro-0.1.


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

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

commit 52d043daf45bcb2d94522c8e088345752933a816
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:53:57 2023 +0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e78887a7eb..ccaa43ba04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34950,6 +34950,27 @@ with hyper.")
     (description "This package provides async closure macro for hyprland-rs.")
     (license license:gpl3+)))
 
+(define-public rust-iai-macro-0.1
+  (package
+    (name "rust-iai-macro")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "iai-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12xx8qn2740dhxldivc2zhhvqmfb488ry1dr2qyxw1n4ps2pyli5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1))
+       #:cargo-development-inputs (("rust-iai" ,rust-iai-0.1))))
+    (home-page "https://github.com/bheisler/iai";)
+    (synopsis "Custom Test Framework macro for Iai")
+    (description "Custom Test Framework macro for Iai.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-iana-time-zone-haiku-0.1
   (package
     (name "rust-iana-time-zone-haiku")



reply via email to

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