[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49451] [PATCH 14/20] gnu: Add rust-mockall
From: |
southerntofu |
Subject: |
[bug#49451] [PATCH 14/20] gnu: Add rust-mockall |
Date: |
Sun, 11 Jul 2021 17:30:21 -0400 |
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a9e477aaf..0e57d3c145 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26740,6 +26740,39 @@ IOCP and Async I/O abstractions.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-mockall-0.9
+ (package
+ (name "rust-mockall")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mockall" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m9kpv4523503v48ahyzk9g2rabvbjl70mlbkc8mkfzr4fni9mhq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-downcast" ,rust-downcast-0.10)
+ ("rust-fragile" ,rust-fragile-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-mockall-derive" ,rust-mockall-derive-0.9)
+ ("rust-predicates" ,rust-predicates-1)
+ ("rust-predicates-tree" ,rust-predicates-tree-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-derive-0.9
(package
--
2.30.2
- [bug#49451] [PATCH 07/20] gnu: rust-hmac: Update to 0.10, (continued)
- [bug#49451] [PATCH 07/20] gnu: rust-hmac: Update to 0.10, southerntofu, 2021/07/12
- [bug#49451] [PATCH 08/20] gnu: Add rust-hsluv, southerntofu, 2021/07/12
- [bug#49451] [PATCH 12/20] gnu: Add rust-sha3, southerntofu, 2021/07/12
- [bug#49451] [PATCH 16/20] gnu: Add rust-jid, southerntofu, 2021/07/12
- [bug#49451] [PATCH 02/20] gnu: Add rust-case, southerntofu, 2021/07/12
- [bug#49451] [PATCH 04/20] gnu: Add rust-downcast, southerntofu, 2021/07/12
- [bug#49451] [PATCH 10/20] gnu: Add rust-linked-hash-set, southerntofu, 2021/07/12
- [bug#49451] [PATCH 09/20] gnu: Add rust-minidom, southerntofu, 2021/07/12
- [bug#49451] [PATCH 11/20] gnu: rust-pbkdf2: Update to 0.6, southerntofu, 2021/07/12
- [bug#49451] [PATCH 13/20] gnu: Add rust-mockall-derive, southerntofu, 2021/07/12
- [bug#49451] [PATCH 14/20] gnu: Add rust-mockall,
southerntofu <=
- [bug#49451] [PATCH 18/20] gnu: Add rust-tokio-xmpp, southerntofu, 2021/07/12
- [bug#49451] [PATCH 20/20] Run indent-code.el on the packages i added, southerntofu, 2021/07/12
- [bug#49451] [PATCH 19/20] gnu: Add aparte, southerntofu, 2021/07/12
- [bug#49451] [PATCH 15/20] gnu: Add rust-sasl, southerntofu, 2021/07/12
- [bug#49451] [PATCH 17/20] gnu: Add rust-xmpp-parsers, southerntofu, 2021/07/12