guix-patches
[Top][All Lists]
Advanced

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

[bug#70461] [PATCH 05/10] gnu: Add rust-ssh-encoding-0.2.0.


From: VÖRÖSKŐI András
Subject: [bug#70461] [PATCH 05/10] gnu: Add rust-ssh-encoding-0.2.0.
Date: Thu, 18 Apr 2024 22:28:30 +0200

* gnu/packages/crates-crypto.scm (rust-ssh-encoding): New variable.

Change-Id: I18f070b21d8712623b5ad8b26f7baf347da3d89c
---
 gnu/packages/crates-crypto.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index bf43b48e55..898d9b8766 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -6174,6 +6174,31 @@ (define-public rust-spki-0.4
         (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw"))))
     (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" 
,rust-der-0.4))))))
 
+(define-public rust-ssh-encoding-0.2
+  (package
+    (name "rust-ssh-encoding")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ssh-encoding" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05aavlhk68vm60vbw8lcgx1p5wry367ck8niij7af221xywl54pb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7)
+                       ("rust-sha2" ,rust-sha2-0.10))
+       #:cargo-development-inputs
+          (("rust-hex-literal", rust-hex-literal-0.4))))
+    (home-page "https://github.com/RustCrypto/SSH/tree/master/ssh-encoding";)
+    (synopsis "Rust implementation of SSH data types as described in RFC4251")
+    (description
+     "Pure Rust implementation of SSH data type decoders/encoders as described 
in
+RFC4251.")
+    (license (list license:asl2.0 license:expat))))
 (define-public rust-stream-cipher-0.4
   (package
     (name "rust-stream-cipher")
-- 
2.41.0






reply via email to

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