summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:59 +0300
commit8e7b8c91409c6cff17e8758a50e3547f1f89a4ea (patch)
treed2fc01b108e14bd2cde2bab0b84404ea60c85921 /gnu
parente6cda5c006654fd5143654612e836dccc4c89751 (diff)
gnu: Add rust-win-crypto-ng-0.5.
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c93bb6d6c..d03dc4235c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73473,6 +73473,33 @@ UTF-32 types are provided, including support for malformed encoding.")
command-line, uniformly on all platforms")
(license (list license:asl2.0 license:expat))))
+(define-public rust-win-crypto-ng-0.5
+ (package
+ (name "rust-win-crypto-ng")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "win-crypto-ng" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0faf5bd4d5kaf642yw91lh0n2bfwnz0l70bm85ysmj3dsj4hg9mf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; Windows library
+ #:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.4)
+ ("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))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))
+ (home-page "https://github.com/emgre/win-crypto-ng")
+ (synopsis "Safe bindings to Windows Cryptography API: Next Generation")
+ (description "Safe bindings to Windows Cryptography API: Next Generation")
+ (license license:bsd-3)))
+
(define-public rust-winapi-0.3
(package
(name "rust-winapi")