summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:25:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:00 +0200
commit8ce9e24cb46e26b5f352b1563d2e39fc482b6ca6 (patch)
treef33c9c527716d28e5a626dbf641ef453cde2320b
parentee772f7d1bf7a94ca057f3c95728aaada3083134 (diff)
downloadguix-8ce9e24cb46e26b5f352b1563d2e39fc482b6ca6.tar.gz
gnu: rust-win-crypto-ng-0.5: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.5): Move from here ...
* gnu/packages/crates-windows.scm: ... to here.

Change-Id: I78b4e9c93f3ed76b8305113c424028434b62a2da
-rw-r--r--gnu/packages/crates-io.scm27
-rw-r--r--gnu/packages/crates-windows.scm27
-rw-r--r--gnu/packages/sequoia.scm1
3 files changed, 28 insertions, 27 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3a92ecbbe..72d28994a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82423,33 +82423,6 @@ 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")
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 6f0d289688..0aec946917 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -662,6 +662,33 @@ server functionality.")
 See winapi for types and constants.")
     (license 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-windows-0.48
   (package
     (name "rust-windows")
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index ea90340897..0501bdaf15 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-tls)
   #:use-module (gnu packages crates-web)
+  #:use-module (gnu packages crates-windows)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages nettle)