Subject: Re: [bug#52306] [PATCH 2/6] gnu: Add rust-rstest-0.6.

From: Efraim Flashner <[email-masked]>
Date: Tue, 7 Dec 2021 13:46:42 +0200

This package should inherit from a previous rust-rstest package, and
have some of the fields deduplicated.

On Sun, Dec 05, 2021 at 04:36:08PM -0500, jgart via Guix-patches via wrote:
> * gnu/packages/crates-io.scm (rust-rstest-0.6): New variable.
> ---
>  gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index a425264935..59b886f1ce 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -42822,6 +42822,33 @@ (define-public rust-rstar-0.8
>           (base32
>            "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))))
>  
> +(define-public rust-rstest-0.6
> +  (package
> +    (name "rust-rstest")
> +    (version "0.6.5")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "rstest" version))
> +        (file-name (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32 "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:skip-build? #t
> +        #:cargo-inputs
> +        (("rust-cfg-if" ,rust-cfg-if-1)
> +         ("rust-proc-macro2" ,rust-proc-macro2-1)
> +         ("rust-quote" ,rust-quote-1)
> +         ("rust-rustc-version" ,rust-rustc-version-0.3)
> +         ("rust-syn" ,rust-syn-1))))
> +    (home-page "https://github.com/la10736/rstest")
> +    (synopsis "Rust fixture based test framework")
> +    (description
> +      "rstest uses procedural macros to help you on writing fixtures and
> +table-based tests.")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-rstest-0.10
>    (package
>      (name "rust-rstest")
> -- 
> 2.34.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