Subject: [bug#68481] [PATCH 03/32] gnu: Add rust-aws-lc-sys-0.12.

From: Efraim Flashner <[email-masked]>
Date: Thu, 18 Jan 2024 09:45:26 +0200

We should try to unbundle aws-libcrypto. Generally if the crate has
'sys' in the name and uses cmake its because they're bundling code.

On Mon, Jan 15, 2024 at 08:28:30PM +0100, VÖRÖSKŐI András wrote:
> * gnu/packages/crates-io.scm (rust-aws-lc-sys): New variable.
> 
> Change-Id: I170d66f60a7ec5542822a01089cb63721eebb4c4
> ---
>  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 f697cea1a7..a536866c41 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -5381,6 +5381,34 @@ (define-public rust-aws-lc-fips-sys-0.11
>  version of AWS-LC.")
>      (license (list license:isc license:asl2.0))))
>  
> +(define-public rust-aws-lc-sys-0.12
> +  (package
> +    (name "rust-aws-lc-sys")
> +    (version "0.12.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "aws-lc-sys" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32 "0c93b7gw8r2w2r5s2iqya8n7m75ydn1vh0calb8bxlqvg94zkin2"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
> +                       ("rust-cmake" ,rust-cmake-0.1)
> +                       ("rust-dunce" ,rust-dunce-1)
> +                       ("rust-fs-extra" ,rust-fs-extra-1)
> +                       ("rust-libc" ,rust-libc-0.2)
> +                       ("rust-paste" ,rust-paste-1))))
> +    (home-page "https://github.com/aws/aws-lc-rs")
> +    (synopsis
> +     "AWS-LC is a general-purpose cryptographic library")
> +    (description
> +     "AWS-LC is a general-purpose cryptographic library maintained by the AWS
> +Cryptography team for AWS and their customers.  It is based on code from the
> +Google @code{BoringSSL} project and the @code{OpenSSL} project.")
> +    (license (list license:isc license:asl2.0))))
> +
>  (define-public rust-az-1
>    (package
>      (name "rust-az")
> -- 
> 2.41.0
> 
> 
> 

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted