diff mbox series

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

Message ID YOti8pJdYiP/uDQ1@thunix.net
State New
Headers show
Series [bug#49451,01/20] gnu: rust-blake2: Update to 0.9 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

southerntofu July 11, 2021, 9:30 p.m. UTC
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox series

Patch

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")