guix-commits
[Top][All Lists]
Advanced

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

05/13: gnu: Add rust-rstest-macros-0.20.


From: guix-commits
Subject: 05/13: gnu: Add rust-rstest-macros-0.20.
Date: Sun, 22 Sep 2024 05:54:50 -0400 (EDT)

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

commit c247982df856811f30b74083df924779866ecce9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 22 12:12:26 2024 +0300

    gnu: Add rust-rstest-macros-0.20.
    
    * gnu/packages/crates-io.scm (rust-rstest-macros-0.20): New variable.
    
    Change-Id: Ie9b1b507778776d5dd11f8bea2ba7ec99500e54f
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7567823ea1..882f9f086d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64640,6 +64640,36 @@ table-based tests.")
      "This package provides the procedural macro crate for @code{rstest}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstest-macros-0.20
+  (package
+    (inherit rust-rstest-macros-0.21)
+    (name "rust-rstest-macros")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rstest_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fmgmwkd95ljsm6czad4fgbpnn1zlik7gbd6lwz0nk0hvxj2s4z6"))))
+    (arguments
+     `(#:tests? #f      ; unresolved import `rstest`
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-proc-macro-crate" ,rust-proc-macro-crate-3)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-relative-path" ,rust-relative-path-1)
+                       ("rust-rustc-version" ,rust-rustc-version-0.4)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-unicode-ident" ,rust-unicode-ident-1))
+       #:cargo-development-inputs
+       (("rust-actix-rt" ,rust-actix-rt-2)
+        ("rust-async-std" ,rust-async-std-1)
+        ("rust-maplit" ,rust-maplit-1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
+
 (define-public rust-rstest-macros-0.18
   (package
     (inherit rust-rstest-macros-0.21)



reply via email to

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