[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
105/350: gnu: Add rust-mockall-0.13.
From: |
guix-commits |
Subject: |
105/350: gnu: Add rust-mockall-0.13. |
Date: |
Sun, 15 Dec 2024 02:14:08 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b15d72c0368725e541f3c99622717d3e1403810e
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 a234160327..0d671bd747 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46250,8 +46250,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
@@ -46261,7 +46295,6 @@ possible over the OS abstractions.")
(sha256
(base32
"15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
@@ -46279,12 +46312,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
- 66/350: gnu: Add rust-target-triple-0.1., (continued)
- 66/350: gnu: Add rust-target-triple-0.1., guix-commits, 2024/12/15
- 63/350: gnu: rust-rustyline-9: Don't skip the build., guix-commits, 2024/12/15
- 72/350: gnu: Add rust-libtest-mimic-0.4., guix-commits, 2024/12/15
- 73/350: gnu: Add rust-libtest-mimic-0.8., guix-commits, 2024/12/15
- 64/350: gnu: Add rust-promptly-0.3., guix-commits, 2024/12/15
- 69/350: gnu: rust-fastrand-2: Update to 2.2.0., guix-commits, 2024/12/15
- 85/350: gnu: Add rust-windows-core-0.56., guix-commits, 2024/12/15
- 88/350: gnu: Add rust-tauri-winrt-notification-0.2., guix-commits, 2024/12/15
- 97/350: gnu: rust-clap-builder-4: Update to 4.5.21., guix-commits, 2024/12/15
- 96/350: gnu: rust-unicode-segmentation-1: Update to 1.12.0., guix-commits, 2024/12/15
- 105/350: gnu: Add rust-mockall-0.13.,
guix-commits <=
- 106/350: gnu: Add rust-color-backtrace-0.6., guix-commits, 2024/12/15
- 28/350: gnu: rust-winapi-wsapoll-0.1: Update to 0.1.2., guix-commits, 2024/12/15
- 29/350: import: crate: Make it clearer when a crate has been yanked., guix-commits, 2024/12/15
- 30/350: build-system: cargo: Use platform-rust-target., guix-commits, 2024/12/15
- 31/350: gnu: rust-security-framework-0.2: Mark as deprecated., guix-commits, 2024/12/15
- 34/350: gnu: rust-tokio-stream-0.1: Update to 0.1.16., guix-commits, 2024/12/15
- 46/350: gnu: Add rust-gix-config-0.37., guix-commits, 2024/12/15
- 33/350: gnu: rust-clipboard-win-5: Update to 5.4.0., guix-commits, 2024/12/15
- 44/350: gnu: Add rust-gix-discover-0.32., guix-commits, 2024/12/15
- 42/350: gnu: Add rust-gix-status-0.10., guix-commits, 2024/12/15