[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44785] [PATCH 02/22] gnu: Add rust-win-crypto-ng-0.2.
From: |
Hartmut Goebel |
Subject: |
[bug#44785] [PATCH 02/22] gnu: Add rust-win-crypto-ng-0.2. |
Date: |
Sun, 22 Nov 2020 00:13:47 +0100 |
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85183512f9..76d74c8b59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32285,6 +32285,41 @@ color in a Windows console.")
(license (list license:unlicense
license:expat))))
+(define-public rust-win-crypto-ng-0.2
+ (package
+ (name "rust-win-crypto-ng")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "win-crypto-ng" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ab0iwl4bmqvysypyn6xgax7rlh3w524jji2y1zfwfpdr7wwyv23"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://crates.io/crates/win-crypto-ng")
+ (synopsis "Safe bindings to MS Windows Cryptography API Next
+Generation")
+ (description
+ "Cryptography API Next Generation (CNG) are cryptographic
+primitives and utilities provided by the operating system and/or
+hardware. It is available since Windows Vista and replaces the now
+deprecated CryptoAPI.
+
+The primitives do not depend on OpenSSL or other libraries of the
+sort, they are provided by Microsoft and/or by the hardware
+manufacturer. They are the primitives used in kernel space programs.
+Therefore, if you are using Microsoft Windows, you already accepted to
+trust these primitives.")
+ (license license:bsd-3)))
+
(define-public rust-winpty-sys-0.4
(package
(name "rust-winpty-sys")
--
2.21.3
- [bug#44785] [PATCH 00/22] Update sequoia to 0.20.0, Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 02/22] gnu: Add rust-win-crypto-ng-0.2.,
Hartmut Goebel <=
- [bug#44785] [PATCH 01/22] gnu: Add rust-rpassword-5., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 06/22] gnu: Add rust-lalrpop-util-0.19., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 07/22] gnu: Add rust-lalrpop-0.19., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 12/22] gnu: Add rust-ed25519-1., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 05/22] gnu: Add rust-ena-0.14:, Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 10/22] gnu: Add rust-signature-derive-1., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 09/22] gnu: Add rust-merlin-2., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 11/22] gnu: Add rust-signature-1., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 03/22] gnu: Add rust-num-bigint-dig-0.6., Hartmut Goebel, 2020/11/21
- [bug#44785] [PATCH 08/22] gnu: Add rust-keccak-0.1., Hartmut Goebel, 2020/11/21