[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 009/228] gnu: Add rust-proptest-derive-0.4.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 009/228] gnu: Add rust-proptest-derive-0.4. |
Date: |
Sun, 18 Feb 2024 22:02:07 +0100 |
* gnu/packages/crates-io.scm (rust-proptest-derive-0.4): Add variable.
(rust-proptest-derive-0.3): Inherit from rust-proptest-derive-0.4.
---
gnu/packages/crates-io.scm | 44 +++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 51ab31cdb3..dcd373e4cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50149,8 +50149,43 @@ (define-public rust-proptest-0.3
#:cargo-development-inputs
(("rust-regex" ,rust-regex-0.2))))))
+(define-public rust-proptest-derive-0.4
+ (package
+ (name "rust-proptest-derive")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proptest-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vhb7zmnbmn0qvv6x7ibs88pg0mn6d3131c9qzlq982w80vn7wcw"))
+ (modules '((guix build utils)))
+ ;; Need never_type nightly feature.
+ (snippet '(begin (delete-file "tests/uninhabited-pass.rs")
+ (delete-file "tests/enum.rs")
+ (delete-file "tests/skip.rs")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags ; Tests panic for unknown reason.
+ '("--release" "--" "--skip=compile_test")
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-compiletest-rs" ,rust-compiletest-rs-0.9)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-proptest" ,rust-proptest-1))))
+ (home-page
+ "https://proptest-rs.github.io/proptest/proptest-derive/index.html")
+ (synopsis "Custom-derive for the Arbitrary trait of proptest")
+ (description "This package provides a custom-derive for the Arbitrary
+trait of proptest.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proptest-derive-0.3
(package
+ (inherit rust-proptest-derive-0.4)
(name "rust-proptest-derive")
(version "0.3.0")
(source
@@ -50160,7 +50195,6 @@ (define-public rust-proptest-derive-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p4x6k1zxq9lrpk46npdnzj6894mjx5bpwkwrdk63ird72an5d4h"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Needs nightly features.
#:cargo-inputs
@@ -50170,13 +50204,7 @@ (define-public rust-proptest-derive-0.3
#:cargo-development-inputs
(("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
("rust-criterion" ,rust-criterion-0.2)
- ("rust-proptest" ,rust-proptest-1))))
- (home-page
- "https://altsysrq.github.io/proptest-book/proptest-derive/index.html")
- (synopsis "Custom-derive for the Arbitrary trait of proptest")
- (description "This package provides a Custom-derive for the Arbitrary
-trait of proptest.")
- (license (list license:expat license:asl2.0))))
+ ("rust-proptest" ,rust-proptest-1))))))
(define-public rust-proptest-derive-0.1
(package
--
2.41.0
- [bug#69257] [PATCH 000/228 rust-team] WIP: Add GNOME Fractal dependencies., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 001/228] gnu: Place rust-rtnetlink-0.14 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 005/228] gnu: Add rust-backoff-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 009/228] gnu: Add rust-proptest-derive-0.4.,
Herman Rimm <=
- [bug#69257] [PATCH 006/228] gnu: Add rust-cfg-vis-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 011/228] gnu: Add rust-imbl-sized-chunks-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 014/228] gnu: Place rust-thousands-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 017/228] gnu: Add rust-branches-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 008/228] gnu: Add rust-compiletest-rs-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 020/228] gnu: Place rust-rpassword-5 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 022/228] gnu: Place rust-rpassword-7 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 030/228] gnu: Add rust-eyeball-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 033/228] gnu: Add rust-k256-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 034/228] gnu: Add rust-mas-iana-0.7., Herman Rimm, 2024/02/18