[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
105/134: gnu: Add rust-mockall-0.13.
From: |
guix-commits |
Subject: |
105/134: gnu: Add rust-mockall-0.13. |
Date: |
Tue, 3 Dec 2024 10:04:38 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 69d14f4aa00959ff598e2573161bd49dd92a1256
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
- 67/134: gnu: rust-any-all-workaround-0.1: Enable building., (continued)
- 67/134: gnu: rust-any-all-workaround-0.1: Enable building., guix-commits, 2024/12/03
- 72/134: gnu: Add rust-libtest-mimic-0.4., guix-commits, 2024/12/03
- 83/134: gnu: Add rust-windows-interface-0.56., guix-commits, 2024/12/03
- 97/134: gnu: rust-clap-builder-4: Update to 4.5.21., guix-commits, 2024/12/03
- 87/134: gnu: Add rust-windows-0.56., guix-commits, 2024/12/03
- 07/134: gnu: rust-gix-date-0.9: Update to 0.9.1., guix-commits, 2024/12/03
- 45/134: gnu: Add rust-gix-dir-0.5., guix-commits, 2024/12/03
- 54/134: gnu: Add rust-pulldown-cmark-escape-0.11., guix-commits, 2024/12/03
- 56/134: gnu: rust-peg-macros-0.8: Update to 0.8.4., guix-commits, 2024/12/03
- 95/134: gnu: Add rust-trim-in-place-0.1., guix-commits, 2024/12/03
- 105/134: gnu: Add rust-mockall-0.13.,
guix-commits <=
- 121/134: gnu: Add rust-uom-0.36., guix-commits, 2024/12/03
- 123/134: gnu: Add rust-starship-battery-0.10., guix-commits, 2024/12/03
- 132/134: gnu: Add rust-yaml-rust2-0.9., guix-commits, 2024/12/03
- 17/134: gnu: rust-dunce-1: Update to 1.0.5., guix-commits, 2024/12/03
- 35/134: gnu: rust-textwrap-0.16: Update to 0.16.1., guix-commits, 2024/12/03
- 25/134: gnu: rust-remove-dir-all-0.8: Update to 0.8.4., guix-commits, 2024/12/03
- 36/134: gnu: rust-textwrap-0.16: Don't skip the build., guix-commits, 2024/12/03
- 03/134: gnu: rust-gix-bitmap-0.2: Update to 0.2.12., guix-commits, 2024/12/03
- 05/134: gnu: rust-gix-command-0.3: Update to 0.3.10., guix-commits, 2024/12/03
- 12/134: gnu: rust-gix-trace-0.1: Update to 0.1.11., guix-commits, 2024/12/03