Subject: [bug#49451] [PATCH 15/20] gnu: Add rust-sasl

From: southerntofu <[email-masked]>
Date: Sun, 11 Jul 2021 17:30:27 -0400

---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e57d3c145..44ae54f84c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39583,6 +39583,37 @@ motivation for writing this library.
 @end itemize")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sasl-0.5
+  (package
+    (name "rust-sasl")
+    (version "0.5.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "sasl" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1j9d6q580r18i90ksr0frjks3mzll73966p2rp0vn9w90b77sbap"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-base64" ,rust-base64-0.13)
+         ("rust-getrandom" ,rust-getrandom-0.2)
+         ("rust-hmac" ,rust-hmac-0.10)
+         ("rust-pbkdf2" ,rust-pbkdf2-0.6)
+         ("rust-sha-1" ,rust-sha-1-0.9)
+         ("rust-sha2" ,rust-sha2-0.9))))
+    (home-page "https://gitlab.com/lumi/sasl-rs")
+    (synopsis
+      "Crate for SASL authentication. Currently only does the client side")
+    (description
+      "This package provides a crate for SASL authentication.  Currently only does the client side")
+    (license license:lgpl3+)))
+
 (define-public rust-scan-fmt-0.2
   (package
     (name "rust-scan-fmt")
-- 
2.30.2