guix-commits
[Top][All Lists]
Advanced

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

113/330: gnu: Add rust-sample-test-macros-0.2.


From: guix-commits
Subject: 113/330: gnu: Add rust-sample-test-macros-0.2.
Date: Mon, 18 Mar 2024 07:15:35 -0400 (EDT)

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

commit f8b67ca50bcb978c5a73956895657325b1996556
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:45:58 2024 +0200

    gnu: Add rust-sample-test-macros-0.2.
    
    * gnu/packages/crates-io.scm (rust-sample-test-macros-0.2): New variable.
    
    Change-Id: If389773887d833546fa5e23d97160b8258ebe920
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf9ed11a4b..f7f7b86923 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60158,6 +60158,31 @@ paths point to the same file.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-sample-test-macros-0.2
+  (package
+    (name "rust-sample-test-macros")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sample-test-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vxmx4i0hcnbbaky4d7xpzw2ckff00bkkdmdzn0lbfw9fnd47ijw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-sample-std" ,rust-sample-std-0.2)
+                       ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-once-cell" ,rust-once-cell-1)
+                                   ("rust-sample-test" 
,rust-sample-test-0.2))))
+    (home-page "https://docs.rs/sample-test-macros";)
+    (synopsis "Proc-macros used by sample-test")
+    (description "Proc-macros used by sample-test.")
+    (license license:asl2.0)))
+
 (define-public rust-sanakirja-0.10
   (package
     (name "rust-sanakirja")



reply via email to

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