guix-commits
[Top][All Lists]
Advanced

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

02/10: Revert "gnu: Remove rust-test-generator-0.3."


From: guix-commits
Subject: 02/10: Revert "gnu: Remove rust-test-generator-0.3."
Date: Mon, 30 Jan 2023 13:10:31 -0500 (EST)

efraim pushed a commit to branch core-updates
in repository guix.

commit 71171538e120797318dbda51f3f216baef356691
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jan 30 12:21:47 2023 +0200

    Revert "gnu: Remove rust-test-generator-0.3."
    
    This reverts commit 063f8b5e2ad121496a4696874e7617f067b3dd8e.
    
    This package is needed for librsvg
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1203d10b67..fb76fb3c1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58900,6 +58900,33 @@ into mod, giving clear and readable test results.")
 for TLS).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-test-generator-0.3
+  (package
+    (name "rust-test-generator")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "test-generator" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1h03y4503jhhrks4m7xqfjya9lsx3ip5dlbldr7mgcws6j8bx5za"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-glob" ,rust-glob-0.3)
+        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-syn" ,rust-syn-0.15))))
+    (home-page "https://github.com/frehberg/test-generator";)
+    (synopsis "Generate parameterized tests from different input parameters")
+    (description
+     "This crate provides @code{#[test_resources]} and 
@code{#[bench_resources]}
+procedural macro attributes that generates multiple parameterized tests using
+one body with different resource input parameters.  A test is generated for
+each resource matching the specific resource location pattern.")
+    (license license:asl2.0)))
+
 (define-public rust-tester-0.9
   (package
     (name "rust-tester")



reply via email to

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