[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74551] [PATCH rust-team v3 44/73] gnu: Add rust-mockall-0.13.
From: |
Aaron Covrig |
Subject: |
[bug#74551] [PATCH rust-team v3 44/73] gnu: Add rust-mockall-0.13. |
Date: |
Mon, 2 Dec 2024 22:00:24 -0500 |
From: Jordan Moore <lockbox@struct.foo>
* gnu/packages/crates-io.scm (rust-mockall-0.13): New variable.
---
gnu/packages/crates-io.scm | 42 +++++++++++++++++++++++++++++++-------
1 file changed, 35 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d5954f2677..f9ac0b383f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46082,8 +46082,42 @@ (define-public rust-mock-instant-0.2
(arguments
`(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))))
+(define-public rust-mockall-0.13
+ (package
+ (name "rust-mockall")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mockall" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lir70dd9cnsjlf20gi3i51ha9n7mlrkx74bx5gfszlcdk6bz9ir"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-downcast" ,rust-downcast-0.11)
+ ("rust-fragile" ,rust-fragile-2)
+ ("rust-mockall-derive" ,rust-mockall-derive-0.13)
+ ("rust-predicates" ,rust-predicates-3)
+ ("rust-predicates-tree" ,rust-predicates-tree-1))
+ #:cargo-development-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-auto-enums" ,rust-auto-enums-0.8)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-mockall-double"
,rust-mockall-double-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/asomers/mockall")
+ (synopsis "Powerful mock object library for Rust")
+ (description
+ "This package provides a powerful mock object library for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-mockall-0.11
(package
+ (inherit rust-mockall-0.13)
(name "rust-mockall")
(version "0.11.4")
(source (origin
@@ -46093,7 +46127,6 @@ (define-public rust-mockall-0.11
(sha256
(base32
"15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
@@ -46111,12 +46144,7 @@ (define-public rust-mockall-0.11
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-tracing" ,rust-tracing-0.1))))
- (home-page "https://github.com/asomers/mockall")
- (synopsis "Mock object library for Rust")
- (description
- "Mockall is a rich mocking library with a terse and ergonomic interface.")
- (license (list license:expat license:asl2.0))))
+ ("rust-tracing" ,rust-tracing-0.1))))))
(define-public rust-mockall-derive-0.13
(package
--
2.47.0
- [bug#74551] [PATCH rust-team v3 33/73] gnu: rust-unicode-width: Bump v0.1 to v0.1.14, (continued)
- [bug#74551] [PATCH rust-team v3 33/73] gnu: rust-unicode-width: Bump v0.1 to v0.1.14, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 34/73] gnu: Add rust-trim-in-place-0.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 35/73] gnu: rust-unicode-segmentation-1: Update to 1.12.0., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 36/73] gnu: rust-clap-builder-4: Update to 4.5.21., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 38/73] gnu: rust-clap-complete-4: Update to 4.5.38., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 37/73] gnu: rust-clap-4: Update to 4.5.21., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 39/73] gnu: Add rust-coverage-helper-0.2., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 40/73] gnu: Add rust-coverage-helper-0.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 42/73] gnu: Add rust-guess-host-triple-0.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 41/73] gnu: Add rust-dlv-list-0.5., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 44/73] gnu: Add rust-mockall-0.13.,
Aaron Covrig <=
- [bug#74551] [PATCH rust-team v3 43/73] gnu: Add rust-mockall-derive-0.13., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 45/73] gnu: rust-color-backtrace: Add v0.6.1, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 46/73] gnu: rust-indexmap-2: Update to 2.6.0., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 47/73] gnu: Add rust-notify-rust-4., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 48/73] gnu: rust-open-5: Update to 5.3.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 49/73] gnu: Add rust-ordered-multimap-0.7., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 50/73] gnu: rust-pest-2: Update to 2.7.14., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 51/73] gnu: rust-miette-derive: Upgrade to v7.4.0, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 52/73] gnu: rust-miette: Upgrade to v7.4.0, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 53/73] gnu: rust-pest-meta-2: Update to 2.7.14., Aaron Covrig, 2024/12/02