GNU bug report logs -
#72021
[PATCH 00/38] gnu: Add ouch.
Previous Next
Reported by: Wilko Meyer <w <at> wmeyer.eu>
Date: Tue, 9 Jul 2024 23:36:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #65 received at 72021 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-test-strategy-0.3): New variable.
(rust-test-strategy-0.2): Inherit from rust-test-strategy-0.3.
Change-Id: I787040a39e79e95de8557eabcd7d2038046a677c
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6181312af..03e3e5ffc4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79538,8 +79538,33 @@ (define-public rust-test-log-0.2
logging and/or tracing infrastructure before running tests.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-test-strategy-0.3
+ (package
+ (name "rust-test-strategy")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "test-strategy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nf11267xdcflg1ir25na0s8mbrwh9f0zmzykg88l8jlhn01qdmq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-structmeta" ,rust-structmeta-0.2)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/frozenlib/test-strategy")
+ (synopsis "Macro to write higher-order strategies in proptest")
+ (description
+ "This package provides a procedural macro to easily write higher-order
+strategies in proptest.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-test-strategy-0.2
(package
+ (inherit rust-test-strategy-0.3)
(name "rust-test-strategy")
(version "0.2.1")
(source (origin
@@ -79558,13 +79583,7 @@ (define-public rust-test-strategy-0.2
("rust-syn" ,rust-syn-1))
#:cargo-development-inputs
(("rust-proptest" ,rust-proptest-1)
- ("rust-trybuild" ,rust-trybuild-1))))
- (home-page "https://github.com/frozenlib/test-strategy")
- (synopsis "Macro to write higher-order strategies in proptest")
- (description
- "This package provides a procedural macro to easily write higher-order
-strategies in proptest.")
- (license (list license:expat license:asl2.0))))
+ ("rust-trybuild" ,rust-trybuild-1))))))
(define-public rust-test-with-0.8
(package
--
2.41.0
This bug report was last modified 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.