[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53315] [PATCH 011/150] gnu: Add rust-sha2-0.10.
From: |
Aleksandr Vityazev |
Subject: |
[bug#53315] [PATCH 011/150] gnu: Add rust-sha2-0.10. |
Date: |
Mon, 17 Jan 2022 13:07:05 +0000 |
* gnu/packages/crates-io.scm (rust-sha2-0.10): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53b25f4507..05faef60bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49997,6 +49997,34 @@ (define-public rust-sha1collisiondetection-0.2
code is translated from C to Rust using c2rust.")
(license license:expat)))
+(define-public rust-sha2-0.10
+ (package
+ (name "rust-sha2")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1v60pzdr3pp6y2sgg1v1nwv4169rb6psk44jmnnq51y5d60vvhwr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.6))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "SHA-2 hash functions")
+ (description
+ "This package provides a pure Rust implementation of the SHA-2 hash
+function family including SHA-224, SHA-256, SHA-384, and SHA-512.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha2-0.9
(package
(name "rust-sha2")
--
2.34.0
--
Aleksandr Vityazev
- [bug#53315] [PATCH 005/150] gnu: Add rust-crypto-common-0.1., (continued)
- [bug#53315] [PATCH 005/150] gnu: Add rust-crypto-common-0.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 004/150] gnu: rust-block-buffer-0.9: Inherit from rust-block-buffer-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 007/150] gnu: Add rust-digest-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 008/150] gnu: rust-digest-0.9: Inherit from rust-digest-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 006/150] gnu: rust-subtle-2: Update to 2.4.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 009/150] gnu: Add rust-cpufeatures-0.2., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 010/150] gnu: rust-cpufeatures-0.1: Inherit from rust-cpufeatures-0.2., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 014/150] gnu: Add rust-fiat-crypto-0.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 012/150] gnu: rust-sha2-0.9: Inherit from rust-sha2-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 013/150] gnu: rust-zeroize-1: Update to 1.3.0., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 011/150] gnu: Add rust-sha2-0.10.,
Aleksandr Vityazev <=
- [bug#53315] [PATCH 015/150] gnu: rust-curve25519-dalek-3: Update to 3.2.0., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 017/150] gnu: Add rust-aes-gcm-0.8., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 019/150] gnu: Add rust-hkdf-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 018/150] gnu: rust-aes-gcm-0.6: Inherit from rust-aes-gcm-0.8., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 016/150] gnu: Add rust-x25519-dalek-1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 023/150] gnu: Add rust-aead-0.4., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 022/150] gnu: rust-blobby-0.3: Update to 0.3.1., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 020/150] gnu: rust-hkdf-0.9: Inherit from rust-hkdf-0.10., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 021/150] gnu: Add rust-ecies-ed25519-0.5., Aleksandr Vityazev, 2022/01/17
- [bug#53315] [PATCH 024/150] gnu: Add rust-chacha20-0.8., Aleksandr Vityazev, 2022/01/17