guix-commits
[Top][All Lists]
Advanced

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

263/469: gnu: Add rust-test-case-macros-2.


From: guix-commits
Subject: 263/469: gnu: Add rust-test-case-macros-2.
Date: Tue, 25 Apr 2023 15:03:38 -0400 (EDT)

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

commit 2ab69df917104173eaa64691f4ae5db71657630b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:49:22 2023 +0200

    gnu: Add rust-test-case-macros-2.
    
    * gnu/packages/crates-io.scm (rust-test-case-macros-2): New variable.
---
 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 029f1017e3..150ed2f80c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61693,6 +61693,31 @@ into mod, giving clear and readable test results.")
        (("rust-insta" ,rust-insta-0.12)
         ("rust-lazy-static" ,rust-lazy-static-1))))))
 
+(define-public rust-test-case-macros-2
+  (package
+    (name "rust-test-case-macros")
+    (version "2.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "test-case-macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"09jvbfvz48v6ya3i25gp3lbr6ym1fz7qyp3l6bcdslwkw7v7nnz4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/frondeus/test-case";)
+    (synopsis "Macros for the test-case crate")
+    (description
+     "This package provides #[test_case(...)] procedural macro attribute for
+generating parametrized test cases easily.")
+    (license license:expat)))
+
 (define-public rust-test-cert-gen-0.7
   (package
     (name "rust-test-cert-gen")



reply via email to

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