guix-patches
[Top][All Lists]
Advanced

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

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


From: Xinglu Chen
Subject: [bug#49451] [PATCH 15/20] gnu: Add rust-sasl
Date: Sun, 01 Aug 2021 12:22:04 +0200

On Sun, Jul 11 2021, southerntofu via Guix-patches via wrote:

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

The synopsis should not contain multiple sentences, see “16.4.4 Synopses
and Descriptions” in the manual.

> +    (description
> +      "This package provides a crate for SASL authentication.  Currently 
> only does the client side")

Keep lines at ~80 characters; missing period.

Attachment: signature.asc
Description: PGP signature


reply via email to

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