GNU bug report logs - #50368
[PATCH 1/9] gnu: rust-multipart-0.17: Fix inputs.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sat, 4 Sep 2021 08:48:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 50368 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: phodina <phodina <at> protonmail.com>, "50368 <at> debbugs.gnu.org"
 <50368 <at> debbugs.gnu.org>
Subject: Re: [bug#50368] [PATCH 5/9] gnu: rust-deflate: Update to 0.9.1.
Date: Sat, 04 Sep 2021 21:21:22 +0200
[Message part 1 (text/plain, inline)]
On Sat, Sep 04 2021, phodina via Guix-patches via wrote:

> * gnu/packages/crates-io.scm (rust-deflate): Update to 0.9.1.
> [cargo-inputs]: Remove rust-byteorder-1.

I suggest

  * gnu/packages/crates-io.scm (rust-deflate-0.9): New variable.
  (rust-deflate-0.8): Inherit from ‘rust-deflate-0.9’.
  (rust-deflate-0.7): Likewise.
  
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 3df14a1d6d..e0b36cef51 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -12611,10 +12611,10 @@ type.")
>  thread.")
>      (license license:mpl2.0)))
>
> -(define-public rust-deflate-0.8
> +(define-public rust-deflate-0.9
>    (package
>      (name "rust-deflate")
> -    (version "0.8.6")
> +    (version "0.9.1")
>      (source
>        (origin
>          (method url-fetch)
> @@ -12623,13 +12623,12 @@ thread.")
>           (string-append name "-" version ".tar.gz"))
>          (sha256
>           (base32
> -          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
> +          "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az"))))
>      (build-system cargo-build-system)
>      (arguments
>       `(#:tests? #f      ; not all test files included
>         #:cargo-inputs
>         (("rust-adler32" ,rust-adler32-1)
> -        ("rust-byteorder" ,rust-byteorder-1)
>          ("rust-gzip-header" ,rust-gzip-header-0.3))
>         #:cargo-development-inputs
>         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
> @@ -12639,9 +12638,32 @@ thread.")
>       "This package provides a DEFLATE, zlib and gzip encoder written in rust.")
>      (license (list license:expat license:asl2.0))))
>
> +(define-public rust-deflate-0.8
> +  (package
> +    (inherit rust-deflate-0.9)
> +    (name "rust-deflate")
> +    (version "0.8.6")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "deflate" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +         (base32
> +          "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk"))))
> +    (arguments
> +     `(#:tests? #f      ; not all test files included
> +       #:cargo-inputs
> +         (("rust-adler32" ,rust-adler32-1)
> +          ("rust-byteorder" ,rust-byteorder-1)
> +          ("rust-gzip-header" ,rust-gzip-header-0.3))
> +       #:cargo-development-inputs
> +         (("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
> +
>  (define-public rust-deflate-0.7
>    (package
> -    (inherit rust-deflate-0.8)
> +    (inherit rust-deflate-0.9)
>      (name "rust-deflate")
>      (version "0.7.20")
>      (source
> --
> 2.32.0
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.