guix-patches
[Top][All Lists]
Advanced

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

[bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11


From: Xinglu Chen
Subject: [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11
Date: Sun, 11 Jul 2021 11:05:44 +0200

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-crypto-mac-0.11): New public variable.
> ---
>  gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 4dfaa544e8..1542178724 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -10838,6 +10838,34 @@ number ``crunching``.")
>  common cryptographic algorithms.")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-crypto-mac-0.11
> +  (package
> +    (name "rust-crypto-mac")
> +    (version "0.11.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "crypto-mac" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-blobby" ,rust-blobby-0.3)
> +         ("rust-cipher" ,rust-cipher-0.3)
> +         ("rust-generic-array" ,rust-generic-array-0.14)
> +         ("rust-subtle" ,rust-subtle-2))))
> +    (home-page
> +      "https://github.com/RustCrypto/traits";)
> +    (synopsis
> +      "Trait for Message Authentication Code (MAC) algorithms")
> +    (description
> +      "Trait for Message Authentication Code (MAC) algorithms")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-crypto-mac-0.10
>    (package
>      (name "rust-crypto-mac")

There is already a ‘rust-crypto-mac’ package; would it be possible to
update that one instead?

Attachment: signature.asc
Description: PGP signature


reply via email to

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