[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10.
From: |
Hartmut Goebel |
Subject: |
[bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10. |
Date: |
Wed, 16 Dec 2020 21:36:15 +0100 |
* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): New variable.
(rust-crypto-mac-0.8) Inherit from rust-crypto-mac-0.10.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9590330036..45b4d487d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5700,10 +5700,10 @@ manipulating terminals.")
around common WinAPI calls.")
(license license:expat)))
-(define-public rust-crypto-mac-0.8
+(define-public rust-crypto-mac-0.10
(package
(name "rust-crypto-mac")
- (version "0.8.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
@@ -5711,20 +5711,41 @@ around common WinAPI calls.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m"))))
+ (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-subtle" ,rust-subtle-2))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Trait for Message Authentication Code (MAC) algorithms")
(description "This package provides trait for @dfn{Message Authentication
Code} (MAC) algorithms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crypto-mac-0.8
+ (package
+ (inherit rust-crypto-mac-0.10)
+ (name "rust-crypto-mac")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-mac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))))
+
(define-public rust-crypto-mac-0.7
(package
(inherit rust-crypto-mac-0.8)
--
2.21.3
- [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0, Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10.,
Hartmut Goebel <=
- [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 14/26] gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8., Hartmut Goebel, 2020/12/16