guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

320/379: gnu: Add rust-win-crypto-ng-0.5.


From: guix-commits
Subject: 320/379: gnu: Add rust-win-crypto-ng-0.5.
Date: Thu, 29 Jun 2023 12:35:06 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 305d908f1b270e1c48a916bdb62d3ae2c202b053
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:56:36 2023 +0300

    gnu: Add rust-win-crypto-ng-0.5.
    
    * gnu/packages/crates-io.scm (rust-win-crypto-ng-0.5): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb521334ae..17ec9c1f77 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]