[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
105/308: gnu: Add rust-mockall-0.13.
From: |
guix-commits |
Subject: |
105/308: gnu: Add rust-mockall-0.13. |
Date: |
Wed, 4 Dec 2024 16:20:45 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 3280c68f06e738f3b9972ff091d5e3c72a8dfde8
Author: Jordan Moore <lockbox@struct.foo>
AuthorDate: Mon Dec 2 22:00:24 2024 -0500
gnu: Add rust-mockall-0.13.
* gnu/packages/crates-io.scm (rust-mockall-0.13): New variable.
(rust-mockall-0.11): Inherit from rust-mockall-0.13.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I1a0dfb0155fe7166d1a420ae17ddda0323024fd1
---
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 b7c4a2f5f3..e2be2e6f33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46163,8 +46163,42 @@ possible over the OS abstractions.")
(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
@@ -46174,7 +46208,6 @@ possible over the OS abstractions.")
(sha256
(base32
"15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
@@ -46192,12 +46225,7 @@ possible over the OS abstractions.")
("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
- 278/308: gnu: rust-trust-dns-https-0.20: Update to 0.20.4., (continued)
- 278/308: gnu: rust-trust-dns-https-0.20: Update to 0.20.4., guix-commits, 2024/12/04
- 301/308: gnu: rust-http-0.2: Update to 0.2.12., guix-commits, 2024/12/04
- 89/308: gnu: Add rust-mac-notification-sys-0.6., guix-commits, 2024/12/04
- 226/308: gnu: rust-winit-0.29: Update to 0.29.15., guix-commits, 2024/12/04
- 249/308: gnu: rust-gfx-0.18: Update to 0.18.3., guix-commits, 2024/12/04
- 271/308: gnu: rust-uncased-0.9: Update to 0.9.10., guix-commits, 2024/12/04
- 263/308: gnu: rust-webpki-roots-0.26: Update to 0.26.7., guix-commits, 2024/12/04
- 108/308: gnu: Add rust-notify-rust-4., guix-commits, 2024/12/04
- 103/308: gnu: Add rust-guess-host-triple-0.1., guix-commits, 2024/12/04
- 102/308: gnu: Add rust-dlv-list-0.5., guix-commits, 2024/12/04
- 105/308: gnu: Add rust-mockall-0.13.,
guix-commits <=
- 100/308: gnu: Add rust-coverage-helper-0.2., guix-commits, 2024/12/04
- 112/308: gnu: rust-miette-7: Update to 7.4.0., guix-commits, 2024/12/04
- 116/308: gnu: Add rust-process-control-5., guix-commits, 2024/12/04
- 124/308: gnu: Add rust-systemstat-0.2., guix-commits, 2024/12/04
- 120/308: gnu: Add rust-shadow-rs-0.35., guix-commits, 2024/12/04
- 117/308: gnu: Add rust-rust-ini-0.21., guix-commits, 2024/12/04
- 119/308: gnu: Add rust-shadow-rs-0.36., guix-commits, 2024/12/04
- 118/308: gnu: rust-serde-json-1: Update to 1.0.133., guix-commits, 2024/12/04
- 113/308: gnu: rust-pest-meta-2: Update to 2.7.14., guix-commits, 2024/12/04
- 125/308: gnu: rust-toml-edit-0.22: Update to 0.22.22., guix-commits, 2024/12/04