GNU bug report logs - #43514
[PATCH 1/3] gnu: Add rust-stfu8.

Previous Next

Package: guix-patches;

Reported by: Gabriel Arazas <foo.dogsquared <at> gmail.com>

Date: Sat, 19 Sep 2020 16:11:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43514 in the body.
You can then email your comments to 43514 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Sat, 19 Sep 2020 16:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabriel Arazas <foo.dogsquared <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 19 Sep 2020 16:11:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 1/3] gnu: Add rust-stfu8.
Date: Sun, 20 Sep 2020 00:04:54 +0800
* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable.
* gnu/packages/crates-io.scm (rust-ansi-term-0.9): New variable.
* gnu/packages/crates-io.scm (rust-proptest-0.3): New variable.
* gnu/packages/crates-io.scm (rust-bit-set-0.4): New variable.
* gnu/packages/crates-io.scm (rust-bit-vec-0.4): New variable.

Part 2 of packaging bat with a bunch of missing dependencies.
Here's what I've finished for now.
Tested them all with ~guix build --rounds=4~ with only the x86_64 arch for now since I'm getting low disk space at the time.
---
 gnu/packages/crates-io.scm | 132 +++++++++++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31f6e674f5..304b37e4df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -520,6 +520,22 @@ text or blue underlined text, on ANSI terminals.")
        #:cargo-inputs
        (("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-ansi-term-0.9
+  (package
+    (inherit rust-ansi-term-0.11)
+    (name "rust-ansi-term")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ansi_term" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
+    (arguments `())))
+
 (define-public rust-antidote-1.0
   (package
     (name "rust-antidote")
@@ -1761,6 +1777,27 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a set of bits.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-bit-set-0.4
+  (package
+    (inherit rust-bit-set-0.5)
+    (name "rust-bit-set")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-set" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0320hhcbr73yzjpj2237vw2zq728yg7vmzb8dardg04ff4263gyr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.4))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bit-vec-0.5
   (package
     (name "rust-bit-vec")
@@ -1787,6 +1824,24 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a vector of bits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bit-vec-0.4
+  (package
+    (inherit rust-bit-vec-0.5)
+    (name "rust-bit-vec")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-vec" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0pw902a8ail0k64a7092a8vngfzsq7xkj2r22hz6q1z62s5zzd02"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bitflags-1
   (package
     (name "rust-bitflags")
@@ -18804,6 +18859,27 @@ dependency to expose a precomputed hash.")
 replacements, adding colorful diffs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pretty-assertions-0.4
+  (package
+    (inherit rust-pretty-assertions-0.6)
+    (name "rust-pretty-assertions")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty_assertions" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1llxlnhh4qz9kda27v6nllgzvgi1fv08i3djfk4zn6zlw8c53si8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.9)
+        ("rust-difference" ,rust-difference-1))))))
+
 (define-public rust-pretty-assertions-0.2
   (package
     (name "rust-pretty-assertions")
@@ -19233,6 +19309,30 @@ macro use case.")
        #:cargo-development-inputs
        (("rust-regex" ,rust-regex-0.2))))))
 
+(define-public rust-proptest-0.3
+  (package
+    (inherit rust-proptest-0.7)
+    (name "rust-proptest")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proptest" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15633iq8x3x0im5vyij2gr8ncpflv4fa9w63rh94k20xhzv4m308"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-set" ,rust-bit-set-0.4)
+        ("rust-lazy-static" ,rust-lazy-static-0.2)
+        ("rust-quick-error" ,rust-quick-error-1.2)
+        ("rust-rand" ,rust-rand-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.4))
+       #:cargo-development-inputs
+       (("rust-regex" ,rust-regex-0.2))))))
+
 (define-public rust-psm-0.1
   (package
     (name "rust-psm")
@@ -25027,6 +25127,38 @@ crate.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-stfu8-0.2
+  (package
+    (name "rust-stfu8")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stfu8" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0xyv4axwc9rihg3f5fjdy7s0ahnz1iq6lq06blwkq2ihwcrh9xsb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-0.2))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions"
+         ,rust-pretty-assertions-0.4)
+        ("rust-proptest" ,rust-proptest-0.3))))
+    (home-page "https://github.com/vitiral/stfu8")
+    (synopsis "Sorta Text Format in UTF-8")
+    (description
+     "STFU-8 is a hacky text encoding/decoding protocol for files that
+partially uses UTF-8.  Its primary purpose is to allow a human to visualize and
+edit data that is mostly UTF-8.  It will encode all non-UTF8-compliant bytes as
+longform text (e.g., ESC becomes @code{r\x1B}) and tries to encode ill-formed
+UTF-8.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stream-cipher-0.3
   (package
     (name "rust-stream-cipher")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Sat, 19 Sep 2020 16:16:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 2/3] gnu: Add rust-std-prelude.
Date: Sun, 20 Sep 2020 00:14:49 +0800
* gnu/packages/crates-io.scm (rust-std-prelude-0.2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 304b37e4df..81fabc6e72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24983,6 +24983,28 @@ are met.")
 in @code{stb_truetype.h} from C to Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-std-prelude-0.2
+  (package
+    (name "rust-std-prelude")
+    (version "0.2.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "std_prelude" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ghcwnhnqn3rphyhlknmxpj5clzqva46z1vh25k5bpzzan2ff1w2"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/vitiral/std_prelude")
+    (synopsis
+     "Prelude that the rust stdlib should have always had")
+    (description
+     "A package that simply uses all of the items often included in a Rust
+codebase.")
+    (license license:expat)))
+
 (define-public rust-stdweb-0.4
   (package
     (name "rust-stdweb")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Sat, 19 Sep 2020 16:16:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 3/3] gnu: Add rust-path-abs.
Date: Sun, 20 Sep 2020 00:14:50 +0800
* gnu/packages/crates-io.scm (rust-path-abs-0.5): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81fabc6e72..b32e9decaf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17199,6 +17199,38 @@ synchronization primitives.")
      "Implementation detail of the paste crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-path-abs-0.5
+  (package
+    (name "rust-path-abs")
+    (version "0.5.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "path_abs" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "131qi5j201caraqz9rwbzk4mybd9bcrryrhf63lr9gz0xmnqwszb"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-serde" ,rust-serde-1)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-std-prelude" ,rust-std-prelude-0.2)
+         ("rust-stfu8" ,rust-stfu8-0.2))
+        #:cargo-development-inputs
+        (("rust-pretty-assertions"
+          ,rust-pretty-assertions-0.4)
+         ("rust-regex" ,rust-regex-0.2)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-tempdir" ,rust-tempdir-0.3))))
+    (home-page "https://github.com/vitiral/path_abs")
+    (synopsis "Ergonomic paths and files in Rust")
+    (description
+      "Ergonomic paths and files in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-pbkdf2-0.4
   (package
     (name "rust-pbkdf2")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Sat, 19 Sep 2020 16:30:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Subject: Re: [PATCH 3/3] gnu: Add rust-path-abs.
Date: Sun, 20 Sep 2020 00:29:23 +0800
[Message part 1 (text/plain, inline)]
Part 2 of packaging bat with a bunch of missing dependencies.Here's what 
I've finished for now.Tested them all with ~guix build --rounds=4~ with 
only the x86_64 arch for now since I'm getting low disk space at the time.

Maybe I shouldn't include my comment inside of the patch. I only found 
out about --compose and --dry-run for git send-email JUST AFTER sending 
the patch series (why didn't I do that is beyond me). :-/

Apologies for the rookie mistake. For the reviewer, please remove those 
comments from the first patch if it's going to be applied. Thanks in 
advanced. :)

[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Wed, 23 Sep 2020 05:58:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Cc: 43514 <at> debbugs.gnu.org
Subject: Re: [bug#43514] [PATCH 1/3] gnu: Add rust-stfu8.
Date: Wed, 23 Sep 2020 08:56:45 +0300
[Message part 1 (text/plain, inline)]
Can you split this into multiple commits? We prefer one package per
commit (unless they're too closely connected) and it makes it easier to
review.

On Sun, Sep 20, 2020 at 12:04:54AM +0800, Gabriel Arazas wrote:
> * gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable.
> * gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable.
> * gnu/packages/crates-io.scm (rust-ansi-term-0.9): New variable.
> * gnu/packages/crates-io.scm (rust-proptest-0.3): New variable.
> * gnu/packages/crates-io.scm (rust-bit-set-0.4): New variable.
> * gnu/packages/crates-io.scm (rust-bit-vec-0.4): New variable.

If you put another dashed line (---) above your comment it doesn't show
up when the patch gets applied.

> 
> Part 2 of packaging bat with a bunch of missing dependencies.
> Here's what I've finished for now.
> Tested them all with ~guix build --rounds=4~ with only the x86_64 arch for now since I'm getting low disk space at the time.
> ---
>  gnu/packages/crates-io.scm | 132 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 132 insertions(+)
> 
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 31f6e674f5..304b37e4df 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -520,6 +520,22 @@ text or blue underlined text, on ANSI terminals.")
>         #:cargo-inputs
>         (("rust-winapi" ,rust-winapi-0.3))))))
>  
> +(define-public rust-ansi-term-0.9
> +  (package
> +    (inherit rust-ansi-term-0.11)
> +    (name "rust-ansi-term")
> +    (version "0.9.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "ansi_term" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
> +    (arguments `())))
> +
>  (define-public rust-antidote-1.0
>    (package
>      (name "rust-antidote")
> @@ -1761,6 +1777,27 @@ that uses Serde for transforming structs into bytes and vice versa!")
>       "This package provides a set of bits.")
>      (license (list license:asl2.0 license:expat))))
>  
> +(define-public rust-bit-set-0.4
> +  (package
> +    (inherit rust-bit-set-0.5)
> +    (name "rust-bit-set")
> +    (version "0.4.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "bit-set" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0320hhcbr73yzjpj2237vw2zq728yg7vmzb8dardg04ff4263gyr"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-bit-vec" ,rust-bit-vec-0.4))
> +       #:cargo-development-inputs
> +       (("rust-rand" ,rust-rand-0.3))))))
> +
>  (define-public rust-bit-vec-0.5
>    (package
>      (name "rust-bit-vec")
> @@ -1787,6 +1824,24 @@ that uses Serde for transforming structs into bytes and vice versa!")
>       "This package provides a vector of bits.")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-bit-vec-0.4
> +  (package
> +    (inherit rust-bit-vec-0.5)
> +    (name "rust-bit-vec")
> +    (version "0.4.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "bit-vec" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0pw902a8ail0k64a7092a8vngfzsq7xkj2r22hz6q1z62s5zzd02"))))
> +    (arguments
> +     `(#:cargo-development-inputs
> +       (("rust-rand" ,rust-rand-0.3))))))
> +
>  (define-public rust-bitflags-1
>    (package
>      (name "rust-bitflags")
> @@ -18804,6 +18859,27 @@ dependency to expose a precomputed hash.")
>  replacements, adding colorful diffs.")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-pretty-assertions-0.4
> +  (package
> +    (inherit rust-pretty-assertions-0.6)
> +    (name "rust-pretty-assertions")
> +    (version "0.4.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "pretty_assertions" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1llxlnhh4qz9kda27v6nllgzvgi1fv08i3djfk4zn6zlw8c53si8"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs
> +       (("rust-ansi-term" ,rust-ansi-term-0.9)
> +        ("rust-difference" ,rust-difference-1))))))
> +
>  (define-public rust-pretty-assertions-0.2
>    (package
>      (name "rust-pretty-assertions")
> @@ -19233,6 +19309,30 @@ macro use case.")
>         #:cargo-development-inputs
>         (("rust-regex" ,rust-regex-0.2))))))
>  
> +(define-public rust-proptest-0.3
> +  (package
> +    (inherit rust-proptest-0.7)
> +    (name "rust-proptest")
> +    (version "0.3.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "proptest" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "15633iq8x3x0im5vyij2gr8ncpflv4fa9w63rh94k20xhzv4m308"))))
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-bit-set" ,rust-bit-set-0.4)
> +        ("rust-lazy-static" ,rust-lazy-static-0.2)
> +        ("rust-quick-error" ,rust-quick-error-1.2)
> +        ("rust-rand" ,rust-rand-0.3)
> +        ("rust-regex-syntax" ,rust-regex-syntax-0.4))
> +       #:cargo-development-inputs
> +       (("rust-regex" ,rust-regex-0.2))))))
> +
>  (define-public rust-psm-0.1
>    (package
>      (name "rust-psm")
> @@ -25027,6 +25127,38 @@ crate.")
>      (license (list license:asl2.0
>                     license:expat))))
>  
> +(define-public rust-stfu8-0.2
> +  (package
> +    (name "rust-stfu8")
> +    (version "0.2.4")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "stfu8" version))
> +       (file-name
> +        (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0xyv4axwc9rihg3f5fjdy7s0ahnz1iq6lq06blwkq2ihwcrh9xsb"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-lazy-static" ,rust-lazy-static-1)
> +        ("rust-regex" ,rust-regex-0.2))
> +       #:cargo-development-inputs
> +       (("rust-pretty-assertions"
> +         ,rust-pretty-assertions-0.4)
> +        ("rust-proptest" ,rust-proptest-0.3))))
> +    (home-page "https://github.com/vitiral/stfu8")
> +    (synopsis "Sorta Text Format in UTF-8")
> +    (description
> +     "STFU-8 is a hacky text encoding/decoding protocol for files that
> +partially uses UTF-8.  Its primary purpose is to allow a human to visualize and
> +edit data that is mostly UTF-8.  It will encode all non-UTF8-compliant bytes as
> +longform text (e.g., ESC becomes @code{r\x1B}) and tries to encode ill-formed
> +UTF-8.")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-stream-cipher-0.3
>    (package
>      (name "rust-stream-cipher")
> -- 
> 2.28.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Date: Fri, 25 Sep 2020 01:53:32 +0800
> Can you split this into multiple commits? We prefer one package per
> commit (unless they're too closely connected) and it makes it easier to
> review.

Done and done. A new set of patches should be sent now.






Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:03 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 1/6] gnu: Add rust-bit-vec <at> 0.4.
Date: Fri, 25 Sep 2020 01:53:33 +0800
* gnu/packages/crates-io.scm (rust-bit-vec-0.4): New variable.
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31f6e674f5..57335c2bc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1787,6 +1787,24 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a vector of bits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bit-vec-0.4
+  (package
+    (inherit rust-bit-vec-0.5)
+    (name "rust-bit-vec")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-vec" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0pw902a8ail0k64a7092a8vngfzsq7xkj2r22hz6q1z62s5zzd02"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bitflags-1
   (package
     (name "rust-bitflags")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:03 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 2/6] gnu: Add rust-bit-set <at> 0.4.
Date: Fri, 25 Sep 2020 01:53:34 +0800
* gnu/packages/crates-io.scm (rust-bit-set-0.4): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57335c2bc0..323ee41e00 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1761,6 +1761,27 @@ that uses Serde for transforming structs into bytes and vice versa!")
      "This package provides a set of bits.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-bit-set-0.4
+  (package
+    (inherit rust-bit-set-0.5)
+    (name "rust-bit-set")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bit-set" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0320hhcbr73yzjpj2237vw2zq728yg7vmzb8dardg04ff4263gyr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.4))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-bit-vec-0.5
   (package
     (name "rust-bit-vec")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:03 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 3/6] gnu: Add rust-ansi-term <at> 0.9.
Date: Fri, 25 Sep 2020 01:53:35 +0800
* gnu/packages/crates-io.scm (rust-ansi-term-0.9): New variable.
---
 gnu/packages/crates-io.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 323ee41e00..2296e3763a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -520,6 +520,22 @@ text or blue underlined text, on ANSI terminals.")
        #:cargo-inputs
        (("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-ansi-term-0.9
+  (package
+    (inherit rust-ansi-term-0.11)
+    (name "rust-ansi-term")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ansi_term" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
+    (arguments `())))
+
 (define-public rust-antidote-1.0
   (package
     (name "rust-antidote")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:04 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 4/6] gnu: Add rust-pretty-assertions <at> 0.4.
Date: Fri, 25 Sep 2020 01:53:36 +0800
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2296e3763a..5bf474c3e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18859,6 +18859,27 @@ dependency to expose a precomputed hash.")
 replacements, adding colorful diffs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pretty-assertions-0.4
+  (package
+    (inherit rust-pretty-assertions-0.6)
+    (name "rust-pretty-assertions")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty_assertions" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1llxlnhh4qz9kda27v6nllgzvgi1fv08i3djfk4zn6zlw8c53si8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.9)
+        ("rust-difference" ,rust-difference-1))))))
+
 (define-public rust-pretty-assertions-0.2
   (package
     (name "rust-pretty-assertions")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:04 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 5/6] gnu: Add rust-proptest <at> 0.3.
Date: Fri, 25 Sep 2020 01:53:37 +0800
* gnu/packages/crates-io.scm (rust-proptest-0.3): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5bf474c3e5..77a5bc51d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19309,6 +19309,30 @@ macro use case.")
        #:cargo-development-inputs
        (("rust-regex" ,rust-regex-0.2))))))
 
+(define-public rust-proptest-0.3
+  (package
+    (inherit rust-proptest-0.7)
+    (name "rust-proptest")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proptest" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15633iq8x3x0im5vyij2gr8ncpflv4fa9w63rh94k20xhzv4m308"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bit-set" ,rust-bit-set-0.4)
+        ("rust-lazy-static" ,rust-lazy-static-0.2)
+        ("rust-quick-error" ,rust-quick-error-1.2)
+        ("rust-rand" ,rust-rand-0.3)
+        ("rust-regex-syntax" ,rust-regex-syntax-0.4))
+       #:cargo-development-inputs
+       (("rust-regex" ,rust-regex-0.2))))))
+
 (define-public rust-psm-0.1
   (package
     (name "rust-psm")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43514; Package guix-patches. (Thu, 24 Sep 2020 17:55:05 GMT) Full text and rfc822 format available.

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

From: Gabriel Arazas <foo.dogsquared <at> gmail.com>
To: 43514 <at> debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared <at> gmail.com>
Subject: [PATCH 6/6] gnu: Add rust-stfu8.
Date: Fri, 25 Sep 2020 01:53:38 +0800
* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77a5bc51d0..304b37e4df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25127,6 +25127,38 @@ crate.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-stfu8-0.2
+  (package
+    (name "rust-stfu8")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stfu8" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0xyv4axwc9rihg3f5fjdy7s0ahnz1iq6lq06blwkq2ihwcrh9xsb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-0.2))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions"
+         ,rust-pretty-assertions-0.4)
+        ("rust-proptest" ,rust-proptest-0.3))))
+    (home-page "https://github.com/vitiral/stfu8")
+    (synopsis "Sorta Text Format in UTF-8")
+    (description
+     "STFU-8 is a hacky text encoding/decoding protocol for files that
+partially uses UTF-8.  Its primary purpose is to allow a human to visualize and
+edit data that is mostly UTF-8.  It will encode all non-UTF8-compliant bytes as
+longform text (e.g., ESC becomes @code{r\x1B}) and tries to encode ill-formed
+UTF-8.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-stream-cipher-0.3
   (package
     (name "rust-stream-cipher")
-- 
2.28.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 29 Sep 2020 07:00:02 GMT) Full text and rfc822 format available.

Notification sent to Gabriel Arazas <foo.dogsquared <at> gmail.com>:
bug acknowledged by developer. (Tue, 29 Sep 2020 07:00:02 GMT) Full text and rfc822 format available.

Message #43 received at 43514-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 43514-done <at> debbugs.gnu.org
Subject: Re: [bug#43514]
Date: Tue, 29 Sep 2020 09:58:59 +0300
[Message part 1 (text/plain, inline)]
On Fri, Sep 25, 2020 at 01:53:32AM +0800, Gabriel Arazas wrote:
> > Can you split this into multiple commits? We prefer one package per
> > commit (unless they're too closely connected) and it makes it easier to
> > review.
> 
> Done and done. A new set of patches should be sent now.
> 

Thanks. Patches pushed. I changed rust-pretty-assertions-0.4 to only
skip the tests, not the entire build.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Oct 2020 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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