[PATCH 00/27] gnu: Add dua-cli.

  • Open
  • quality assurance status badge
Details
5 participants
  • antlers
  • Aleksandr Vityazev
  • EHarding830
  • Maxime Devos
  • (
Owner
unassigned
Submitted by
antlers
Severity
normal
Merged with
A
A
antlers wrote on 18 Jun 2022 21:56
20220618195656.10108-1-antlers@luris.net
Hi! I imported dua-cli via `guix import` for personal use, and thought
I'd try to upstream the involved packages. I'm awfully new to Guix, so
just let me know if I'm, uh, doing this right! I also (practically)
haven't used Rust, so, I might not be the best person to be doing this,
and have some light notes.

- Is a lot of small commits the way to go?
- Didn't update rust-tui or rust-crossterm to their latest versions,
think I've got enough here as it is.
- rust-clap fails a lint because of a TLS error / re-direct that I'm
not sure I can do anything about.
- Wasn't sure when it was approriate to preserve the #:skip-build flag
inserted by `guix import`, so I'll likely need to tweak those.
- Some packages (namely rust-clap-3, which came out of Beta) have pretty
sweeping dependency changes, including losing their
#:cargo-development-inputs; I went with what `guix import` gave me,
figuring that the packages build and dua-cli works just fine that way,
but might be missing a broader context.
- Chose to make a new package vs. updating in-place based on existing
precedent for each package, which usually meant a new package for
every minor release (with patch point releases updated in-place), but
some packages seem to accept minor point releases in-place, while
still others have a seperate package for every patch. Just hoping I
made sensible choices.
- As an aside, I did update each superseded package to inherit from it's
successor, but didn't DRY the arguments and inputs in all applicable
cases. `rust-windows-*` in particular could probably be cut down to a
list of version numbers and a constructor, a la make-linux-libre? But
ah well, it works as-is.
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 19/27] gnu: rust-sysctl-0.23: Update to 0.23.15.
20220618195656.10108-20-antlers@luris.net
* gnu/packages/crates-io.scm (rust-sysctl-0.23): Update to 0.23.15.
* gnu/packages/crates-io.scm (rust-sysctl-0.4.0): Update to 0.4.4.
---
:100644 100644 1e93172d8e fd431e544b M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e93172d8e..fd431e544b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60829,7 +60829,7 @@ (define-public rust-syscallz-0.15
(define-public rust-sysctl-0.4
(package
(name "rust-sysctl")
- (version "0.4.0")
+ (version "0.4.4")
(source
(origin
(method url-fetch)
@@ -60850,8 +60850,7 @@ (define-public rust-sysctl-0.4
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/johalun/sysctl-rs")
(synopsis "Simplified interface to libc::sysctl")
- (description
- "Simplified interface to libc::sysctl.")
+ (description "Simplified interface to libc::sysctl.")
(license license:expat)))
(define-public rust-sysctl-0.1
@@ -60878,14 +60877,14 @@ (define-public rust-sysctl-0.1
(define-public rust-sysinfo-0.23
(package
(name "rust-sysinfo")
- (version "0.23.0")
+ (version "0.23.15")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysinfo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "14d5fgg24x4rfd6226dl1grsv5lnid0kynp6kfzb3lmylh070xcy"))))
+ (base32 "0f05lk9jy4ml4k7470ybz5xsj8cnv8wp5zvw73igikzyyzkvhzim"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 21/27] gnu: Add rust-tui-0.17.
20220618195656.10108-22-antlers@luris.net
* gnu/packages/crates-io.scm (rust-tui-0.17): New variable.
(rust-tui-0.16): Inherit from rust-tui-0.17.
---
:100644 100644 f9aabbb334 4d39c9f0cb M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++--------
1 file changed, 36 insertions(+), 9 deletions(-)

Toggle diff (81 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9aabbb334..4d39c9f0cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14875,7 +14875,7 @@ (define-public rust-crosstermion-0.9
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-lite" ,rust-futures-lite-1)
("rust-termion" ,rust-termion-1)
- ("rust-tui" ,rust-tui-0.18)
+ ("rust-tui" ,rust-tui-0.17)
("rust-tui-react" ,rust-tui-react-0.17))))
(home-page "https://github.com/Byron/tui-crates")
(synopsis
@@ -67265,8 +67265,42 @@ (define-public rust-ttf-parser-0.6
(base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-tui-0.17
+ (package
+ (name "rust-tui")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w92l3ilsz4lzmsp6illpsvabgsl0nysridny5rrn0wbr0r0mv93"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.22)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/fdehau/tui-rs")
+ (synopsis "Library to build rich terminal user interfaces or dashboards")
+ (description
+ "This package provides a library to build rich terminal user interfaces
+or dashboards.")
+ (license license:expat)))
+
(define-public rust-tui-0.16
(package
+ (inherit rust-tui-0.17)
(name "rust-tui")
(version "0.16.0")
(source
@@ -67276,7 +67310,6 @@ (define-public rust-tui-0.16
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -67292,13 +67325,7 @@ (define-public rust-tui-0.16
("rust-unicode-width" ,rust-unicode-width-0.1))
#:cargo-development-inputs
(("rust-argh" ,rust-argh-0.1)
- ("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/fdehau/tui-rs")
- (synopsis "Library to build rich terminal user interfaces or dashboards")
- (description
- "This package provides a library to build rich terminal user interfaces
-or dashboards.")
- (license license:expat)))
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-tui-0.15
(package
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 23/27] gnu: Add rust-clap-derive-3.
20220618195656.10108-24-antlers@luris.net
* gnu/packages/crates-io.scm (rust-clap-derive-3): New variable.
---
:100644 100644 13501003d8 bf4145a3c8 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++++---
1 file changed, 30 insertions(+), 3 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13501003d8..bf4145a3c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11265,7 +11265,7 @@ (define-public rust-clap-derive-3
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+ "1fczfj2kzd9iwxs573k0b2bn697znklgvrf8ii8fibhnglhl07f1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -11281,13 +11281,13 @@ (define-public rust-clap-derive-3
"Parse command line argument by defining a struct, derive crate")
(description
"This package provides a parse command line argument by defining a struct,
-derive crate.")
+derive crate")
(license (list license:expat license:asl2.0))))
(define-public rust-clap-3
(package
(name "rust-clap")
- (version "3.2.4")
+ (version "3.2.5")
(source
(origin
(method url-fetch)
@@ -73358,6 +73358,33 @@ (define-public rust-clap-conf-0.1
"This package provides a library to unify commandline arguments with config files and environment variables. And make it easier for users to tell your program how to behave across the three main input sources")
(license license:expat)))
+(define-public rust-clap-derive-3
+ (package
+ (name "rust-clap-derive")
+ (version "3.2.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fczfj2kzd9iwxs573k0b2bn697znklgvrf8ii8fibhnglhl07f1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/clap-rs/clap/tree/master/clap_derive")
+ (synopsis
+ "Macro implementation for clap's derives")
+ (description
+ "Parse command line argument by defining a struct, derive crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cvss-1
(package
(name "rust-cvss")
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 20/27] gnu: Add rust-textwrap-0.15.
20220618195656.10108-21-antlers@luris.net
* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
(rust-textwrap-0.12): Inherit from rust-textwrap-0.15.
---
:100644 100644 fd431e544b f9aabbb334 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++-----
1 file changed, 27 insertions(+), 5 deletions(-)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd431e544b..f9aabbb334 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62665,10 +62665,10 @@ (define-public rust-text-size-1
(description "This package provides a newtypes for text offsets")
(license (list license:expat license:asl2.0))))
-(define-public rust-textwrap-0.12
+(define-public rust-textwrap-0.15
(package
(name "rust-textwrap")
- (version "0.12.1")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
@@ -62677,16 +62677,17 @@ (define-public rust-textwrap-0.12
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
+ "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-hyphenation" ,rust-hyphenation-0.8)
+ ("rust-smawk" ,rust-smawk-0.3)
("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
("rust-unicode-width" ,rust-unicode-width-0.1))))
- (home-page
- "https://github.com/mgeisler/textwrap")
+ (home-page "https://github.com/mgeisler/textwrap")
(synopsis "Library for word wrapping, indenting, and dedenting strings")
(description
"Textwrap is a small library for word wrapping, indenting, and dedenting
@@ -62695,6 +62696,27 @@ (define-public rust-textwrap-0.12
handle Unicode characters correctly.")
(license license:expat)))
+(define-public rust-textwrap-0.12
+ (package
+ (inherit rust-textwrap-0.15)
+ (name "rust-textwrap")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hyphenation" ,rust-hyphenation-0.8)
+ ("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))))
+
(define-public rust-textwrap-0.11
(package
(inherit rust-textwrap-0.12)
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 24/27] gnu: Add rust-clap-lex-3.
20220618195656.10108-25-antlers@luris.net
* gnu/packages/crates-io.scm (rust-clap-lex-3): New variable.
---
:100644 100644 bf4145a3c8 13e312a077 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf4145a3c8..13e312a077 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73385,6 +73385,27 @@ (define-public rust-clap-derive-3
"Parse command line argument by defining a struct, derive crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-clap-lex-0.2
+ (package
+ (name "rust-clap-lex")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_lex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04rn568mpbc4smk1wlsh9ky4z12b53rgiv6g6i1fpssh0ikcsf2m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+ (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+ (synopsis "Minimal, flexible command line parser")
+ (description "Minimal, flexible command line parser")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cvss-1
(package
(name "rust-cvss")
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 22/27] gnu: Add rust-tui-react-0.18.
20220618195656.10108-23-antlers@luris.net
* gnu/packages/crates-io.scm (rust-tui-react-0.18): New variable.
---
:100644 100644 4d39c9f0cb 13501003d8 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d39c9f0cb..13501003d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67379,6 +67379,33 @@ (define-public rust-tui-0.14
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("rust-unicode-width" ,rust-unicode-width-0.1))))))
+(define-public rust-tui-react-0.17
+ (package
+ (name "rust-tui-react")
+ (version "0.17.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "tui-react" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1va3imj01d6hy5hyhn0zg73l5dqk79fscvzf354svzbxkjdkw3aa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-tui" ,rust-tui-0.17)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://github.com/Byron/tui-crates")
+ (synopsis
+ "TUI widgets using a react-like paradigm")
+ (description
+ "This package provides TUI widgets using a react-like paradigm, allowing
+mutable component state and render properties.")
+ (license license:expat)))
+
(define-public rust-tuikit-0.4
(package
(name "rust-tuikit")
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 25/27] gnu: Add rust-windows-sys-0.36 & per-target varitations.
20220618195656.10108-26-antlers@luris.net
* gnu/packages/crates-io.scm

(rust-windows-x86-64-gnu-0.36
rust-windows-x86-64-mscv-0.36
rust-windows-i686-gnu-0.36
rust-windows-i686-mscv-0.36
rust-windows-aarch64-mscv-0.36
rust-windows-sys-0.36): New variables.

(rust-windows-x86-64-gnu-0.28
rust-windows-x86-64-mscv-0.28
rust-windows-i686-gnu-0.28
rust-windows-i686-mscv-0.28
rust-windows-aarch64-mscv-0.28
rust-windows-0.28): Inherit from rust-windows-*-0.36.
---
:100644 100644 13e312a077 cb3b85ee68 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 122 +++++++++++++++++++++++++++++++------
1 file changed, 104 insertions(+), 18 deletions(-)

Toggle diff (220 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13e312a077..cb3b85ee68 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72702,8 +72702,28 @@ (define-public rust-windows-0.9
(description "Rust for Windows")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-x86-64-msvc-0.36
+ (package
+ (name "rust-windows-x86-64-msvc")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "103n3xijm5vr7qxr1dps202ckfnv7njjnnfqmchg8gl5ii5cl4f8"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code gen support for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-x86-64-msvc-0.28
(package
+ (inherit rust-windows-x86-64-msvc-0.36)
(name "rust-windows-x86-64-msvc")
(version "0.28.0")
(source
@@ -72712,7 +72732,19 @@ (define-public rust-windows-x86-64-msvc-0.28
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))
+ (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
+
+(define-public rust-windows-x86-64-gnu-0.36
+ (package
+ (name "rust-windows-x86-64-gnu")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qfrck3jnihymfrd01s8260d4snql8ks2p8yaabipi3nhwdigkad"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -72723,6 +72755,7 @@ (define-public rust-windows-x86-64-msvc-0.28
(define-public rust-windows-x86-64-gnu-0.28
(package
+ (inherit rust-windows-x86-64-gnu-0.36)
(name "rust-windows-x86-64-gnu")
(version "0.28.0")
(source
@@ -72731,7 +72764,19 @@ (define-public rust-windows-x86-64-gnu-0.28
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw"))))
+ (base32 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw"))))))
+
+(define-public rust-windows-i686-msvc-0.36
+ (package
+ (name "rust-windows-i686-msvc")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "097h2a7wig04wbmpi3rz1akdy4s8gslj5szsx8g2v0dj91qr3rz2"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -72742,6 +72787,7 @@ (define-public rust-windows-x86-64-gnu-0.28
(define-public rust-windows-i686-msvc-0.28
(package
+ (inherit rust-windows-i686-msvc-0.36)
(name "rust-windows-i686-msvc")
(version "0.28.0")
(source
@@ -72750,7 +72796,19 @@ (define-public rust-windows-i686-msvc-0.28
(uri (crate-uri "windows_i686_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))
+ (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
+
+(define-public rust-windows-i686-gnu-0.36
+ (package
+ (name "rust-windows-i686-gnu")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dm3svxfzamrv6kklyda9c3qylgwn5nwdps6p0kc9x6s077nq3hq"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -72761,6 +72819,7 @@ (define-public rust-windows-i686-msvc-0.28
(define-public rust-windows-i686-gnu-0.28
(package
+ (inherit rust-windows-i686-gnu-0.36)
(name "rust-windows-i686-gnu")
(version "0.28.0")
(source
@@ -72769,7 +72828,19 @@ (define-public rust-windows-i686-gnu-0.28
(uri (crate-uri "windows_i686_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm"))))
+ (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm"))))))
+
+(define-public rust-windows-aarch64-msvc-0.36
+ (package
+ (name "rust-windows-aarch64-msvc")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_aarch64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ixaxs2c37ll2smprzh0xq5p238zn8ylzb3lk1zddqmd77yw7f4v"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -72780,6 +72851,7 @@ (define-public rust-windows-i686-gnu-0.28
(define-public rust-windows-aarch64-msvc-0.28
(package
+ (inherit rust-windows-aarch64-msvc-0.36)
(name "rust-windows-aarch64-msvc")
(version "0.28.0")
(source
@@ -72788,17 +72860,39 @@ (define-public rust-windows-aarch64-msvc-0.28
(uri (crate-uri "windows_aarch64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))
+ (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
+
+(define-public rust-windows-sys-0.36
+ (package
+ (name "rust-windows-sys")
+ (version "0.36.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lmqangv0zg1l46xiq7rfnqwsx8f8m52mqbgg2mrx7x52rd1a17a"))))
(build-system cargo-build-system)
- (arguments `(#:skip-build? #t))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.36)
+ ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.36)
+ ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.36)
+ ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36)
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36))))
(home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Code gen support for the windows crate")
- (description "This package provides code gen support for the windows
-crate.")
+ (synopsis "Rust for Windows")
+ (description "The windows crate lets you call any Windows API past,
+present, and future using code generated on the fly directly from the metadata
+describing the API and right into your Rust package where you can call them as
+if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-sys-0.28
(package
+ (inherit rust-windows-sys-0.36)
(name "rust-windows-sys")
(version "0.28.0")
(source
@@ -72808,7 +72902,6 @@ (define-public rust-windows-sys-0.28
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -72816,14 +72909,7 @@ (define-public rust-windows-sys-0.28
("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28)
("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28)
("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28)
- ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28))))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Rust for Windows")
- (description "The windows crate lets you call any Windows API past,
-present, and future using code generated on the fly directly from the metadata
-describing the API and right into your Rust package where you can call them as
-if they were just another Rust module.")
- (license (list license:expat license:asl2.0))))
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28))))))
(define-public rust-windows-gen-0.9
(package
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 27/27] gnu: Add dua-cli.
20220618195656.10108-28-antlers@luris.net
* gnu/packages/rust-apps.scm (dua-cli): New variable.
---
:100644 100644 6d97e289c2 1d785d2e61 M gnu/packages/rust-apps.scm
gnu/packages/rust-apps.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 6d97e289c2..1d785d2e61 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -323,6 +323,48 @@ (define-public drill
Ansible syntax. Benchmark files can be written in YAML.")
(license license:gpl3)))
+(define-public dua-cli
+ (package
+ (name "dua-cli")
+ (version "2.17.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dua-cli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ch168j4crwj18443rwgdnzxbnx74klh4wwd6dnxjrycx7lzsqhf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; missing files
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-byte-unit" ,rust-byte-unit-4)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-colored" ,rust-colored-2)
+ ("rust-crosstermion" ,rust-crosstermion-0.9)
+ ("rust-filesize" ,rust-filesize-0.2)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-jwalk" ,rust-jwalk-0.6)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-open" ,rust-open-3)
+ ("rust-petgraph" ,rust-petgraph-0.6)
+ ("rust-sysinfo" ,rust-sysinfo-0.23)
+ ("rust-trash" ,rust-trash-2)
+ ("rust-tui" ,rust-tui-0.17)
+ ("rust-tui-react" ,rust-tui-react-0.17)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-wild" ,rust-wild-2))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1.2))))
+ (home-page "https://github.com/Byron/dua-cli")
+ (synopsis
+ "Tool to conveniently learn about the disk usage of directories, fast!")
+ (description
+ "This package provides a tool to conveniently learn about the disk usage of
+directories, fast!")
+ (license license:expat)))
+
(define-public dutree
(package
(name "dutree")
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 21:56
[gnu: Add dua-cli. 26/27] gnu: rust-backtrace-0.3: Update to 0.3.65.
20220618195656.10108-27-antlers@luris.net
* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.65.
(rust-backtrace-0.3.56): New variable.
---
:100644 100644 cb3b85ee68 b164034abd M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++--------
1 file changed, 36 insertions(+), 9 deletions(-)

Toggle diff (79 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb3b85ee68..b164034abd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5617,6 +5617,40 @@ (define-public rust-az-1
(define-public rust-backtrace-0.3
(package
+ (name "rust-backtrace")
+ (version "0.3.65")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "backtrace" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qggp0d8pbw5vfnpm0r7lrn6wmh5yjiz4yc4bzynb8l26i2pv88i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.17)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-miniz-oxide" ,rust-miniz-oxide-0.5)
+ ("rust-object" ,rust-object-0.28)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rust-lang/backtrace-rs")
+ (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
+ (description
+ "This package provides a library to acquire a stack
+trace (backtrace) at runtime in a Rust program.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-backtrace-0.3.56
+ (package
+ (inherit rust-backtrace-0.3)
(name "rust-backtrace")
(version "0.3.56")
(source
@@ -5628,7 +5662,6 @@ (define-public rust-backtrace-0.3
(sha256
(base32
"1g716jmrik0fx29va3js4gw8hwk5jlsmvqaa9ryp1c9qyh07c4cx"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -5642,13 +5675,7 @@ (define-public rust-backtrace-0.3
("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-serde" ,rust-serde-1)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/rust-lang/backtrace-rs")
- (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
- (description
- "This package provides a library to acquire a stack
-trace (backtrace) at runtime in a Rust program.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-backtrace-0.3.35
(package
@@ -72883,7 +72910,7 @@ (define-public rust-windows-sys-0.36
("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36)
("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36))))
(home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Rust for Windows")
+ (synopsis "Code gen support for the windows crate")
(description "The windows crate lets you call any Windows API past,
present, and future using code generated on the fly directly from the metadata
describing the API and right into your Rust package where you can call them as
--
2.36.0
A
A
antlers wrote on 18 Jun 2022 22:01
re: bug#56057: gnu: Add dua-cli
(address . 56057@debbugs.gnu.org)
CAFxNT+ddnipqwqyGDsV87x25bZywB-7ZpmaGY7pqyBLLRbQ05A@mail.gmail.com
Ah, well, there's whoopsie #1: 28 bug numbers! Can't imagine I can do
anything about that now, but I'll certainly remember this for next
time, and start by getting a number to prefix my subject's with;
considering this one canonical.
M
M
Maxime Devos wrote on 18 Jun 2022 22:17
Re: [bug#56057] [gnu: Add dua-cli. 23/27] gnu: Add rust-clap-derive-3.
829df0f0a945554d749c9dfbcf2524da281903c4.camel@telenet.be
A patch has already been written for rust-clap-derive-3:
https://issues.guix.gnu.org/56037. That patch series also adds rust-
clap-lex, so some inheritance may be in order.

On rust-windows-... crates: these crates are unnecessary in Guix.
If a package complains about not finding the dependencies, you can just
remove the dependency declaration from the Cargo.toml

Likewise, #56037 already updates rust-textwrap.

Also, rust-adler is already in Guix, so you can use inheritance there.

Why is there a separate rust-autocfg-1.1, instead of updating
rust-autocfg@1.0 to rust-autocfg@1.1?

In rust-object: why change the inheritance?

In rust-once-cell-1: Why remove the skip-build? Also, you removed some
dependencies (rust-crossbeam-utils, rust-lazy-static and rust-regex),
but they are still used, according to

Also, if you're willing to wait a bit or help out, I've been working on
simplifying the Rust packaging system in

(TBC: only some quick comments, didn't look in any detail)

Toggle quote (2 lines)
> + `(#:tests? #f ; missing files

Then you can add the missing files.

Toggle quote (8 lines)
> + (synopsis
> + "Tool to conveniently learn about the disk usage of
> directories, fast!")
> + (description
> + "This package provides a tool to conveniently learn about the
> disk usage of
> +directories, fast!")

Is markety, and the synopsis and description just contain the same
information. See (guix)Synopses and Descriptions.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYq4y5hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sBsAQDAhQWdOuKDK8G8GkTuWHtDFaCj
PnrL6bNov5r6OH33DgD/X5hTKsCYX0IplPlJrjEUI4nQ6cBt1SHjhSSn7HJM8w0=
=zWCz
-----END PGP SIGNATURE-----


(
Re: [bug#56057] [PATCH 00/27] gnu: Add dua-cli.
CKTYIHP4HMX8.15RQFVZHJW4B3@guix-aspire
By the way, it looks like all these patches came with their own issues.
In future, you should first send a preliminary message (like this one),
and direct `git send-email` to its bug number:

---
? git send-email HEAD^ --to=56057@debbugs.gnu.org
---
M
M
Maxime Devos wrote on 19 Jun 2022 10:51
ce53d45d0dfb2b6d74a6a65f11205ea8d9c8450d.camel@telenet.be
antlers schreef op za 18-06-2022 om 12:56 [-0700]:
Toggle quote (8 lines)
> Hi! I imported dua-cli via `guix import` for personal use, and thought
> I'd try to upstream the involved packages. I'm awfully new to Guix, so
> just let me know if I'm, uh, doing this right! I also (practically)
> haven't used Rust, so, I might not be the best person to be doing this,
> and have some light notes.
>
> - Is a lot of small commits the way to go?

Yes.

Toggle quote (5 lines)
> - Didn't update rust-tui or rust-crossterm to their latest versions,
>   think I've got enough here as it is.
> - rust-clap fails a lint because of a TLS error / re-direct that I'm
>   not sure I can do anything about.

I recommend putting that in the commit message (or below the --- line),
and in particular mentioning the exact lint message.

Toggle quote (8 lines)
> - Wasn't sure when it was approriate to preserve the #:skip-build flag
>   inserted by `guix import`, so I'll likely need to tweak those.
> - Some packages (namely rust-clap-3, which came out of Beta) have pretty
>   sweeping dependency changes, including losing their
>   #:cargo-development-inputs; I went with what `guix import` gave me,
>   figuring that the packages build and dua-cli works just fine that way,
>   but might be missing a broader context.

Broader context: looking at (guix import crate), cargo-build-system
removes them, but that's only possible because tests aren't run which
should be fixed once antioxidant is done (though running tests is not
yet implemented in antioxidant). So looks like that part of (guix
import crate) is obsolete ...

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYq7jkxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lstAP9BI89ew63isgAW98l31KIpwv1U
owWHcUnaIkF01mUH1gEAqLMnLwy6iD+Vy1yepR9WhCotEbpnUf8EuUi7wHSJvQY=
=wj5T
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 19 Jun 2022 11:04
(address . control@debbugs.gnu.org)
79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be
merge 56057 56056 56061 56059 56062 56058 56060 56063 56064 56065 56066 56069 56067 56074 56068 56073 56072 56070 56071 56057
thanks
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] gnu: Add dua-cli
(address . 56057@debbugs.gnu.org)
20220619172711.3413-1-antlers@luris.net
Toggle quote (3 lines)
> By the way, it looks like all these patches came with their own issues.
> merge [...]

Oh thank /you/, that's much better, and I'm certainly still figuring this out,
so, apologies for the mess. I'm including another revision of the patch-series
which I've rebased on top of #56037, dropping redundant patches (for now, I
think one was newer). Doesn't build as-is, but I think it's it's /just/ because
I haven't resolved what to do about `parking-lot-core`'s dep on `windows-sys-*`
after dropping that patch.

Toggle quote (1 lines)
> I recommend putting that in the commit message [...] exact lint message.
Left out for now, Re: #56037.

Toggle quote (2 lines)
> In rust-object: why change the inheritance?

For consistency; I'm not aiming for a minimal patch, and it makes sense to me
that each superseded package should inherit from it's immediate successor even
as gaps in the line are filled. Can discard if needed.

Toggle quote (2 lines)
> In rust-once-cell-1: Why remove the skip-build?
> removed some dependencies [...] still being used
Because I don't know what I'm doing~
Fixed c:

Toggle quote (1 lines)
> If a package complains about not finding the dependencies, you can just
remove the dependency declaration from the Cargo.toml

Easier said then done with my novice background :p. I don't see any existing
examples of such modifications in any `snippet` or `modify-phases` clauses, and
have to go work full time for a while, so I've left this hanging for now as to
share what I've got in a timely manner.

Toggle quote (1 lines)
> add the missing files
Also feels easier said than done; I'm not sure why the files are missing from
the crate to begin with, and could pull them in from the upstream repo, but
have only seen contrary examples so far.

```
$> grep '#:tests? #f.*;.*missing' ./rust-*.scm ./crates-*.scm | wc -l
32
```

Toggle quote (1 lines)
> See (guix)Synopses and Descriptions
Thanks! I wrote a pair that I feel are better, but haven't looked back at other
packages yet. It's likely that a few more need re-worked, and I can come back
to them in due time.

Toggle quote (1 lines)
> I've been working on simplifying the Rust packaging system
Awesome! Love the name.
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 01/21] gnu: Add rust-addr2line-0.17.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-2-antlers@luris.net
* gnu/packages/crates-io.scm (rust-addr2line-0.17): New variable.
(rust-addr2line-0.14): Inherit from rust-addr2line-0.17.
---
:100644 100644 ba97ffc6ca b1a8ee0d67 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba97ffc6ca..b1a8ee0d67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1695,17 +1695,17 @@ (define-public rust-adblock-0.4
syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.")
(license license:mpl2.0)))
-(define-public rust-addr2line-0.14
+(define-public rust-addr2line-0.17
(package
(name "rust-addr2line")
- (version "0.14.1")
+ (version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "addr2line" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1xs5bsi40zpyxbbylyaysya5h36ykcbg91i82415sxw5wk7q4px5"))))
+ (base32 "0sw16zqy6w0ar633z69m7lw6gb0k1y7xj3387a8wly43ij5div5r"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -1713,8 +1713,8 @@ (define-public rust-addr2line-0.14
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
- ("rust-gimli" ,rust-gimli-0.23)
- ("rust-object" ,rust-object-0.22)
+ ("rust-gimli" ,rust-gimli-0.26)
+ ("rust-object" ,rust-object-0.27)
("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
@@ -1726,6 +1726,31 @@ (define-public rust-addr2line-0.14
Rust, using gimli.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-addr2line-0.14
+ (package
+ (inherit rust-addr2line-0.17)
+ (name "rust-addr2line")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "addr2line" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xs5bsi40zpyxbbylyaysya5h36ykcbg91i82415sxw5wk7q4px5"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+ ("rust-gimli" ,rust-gimli-0.23)
+ ("rust-object" ,rust-object-0.22)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-smallvec" ,rust-smallvec-1))))))
+
(define-public rust-addr-0.14
(package
(name "rust-addr")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 04/21] gnu: rust-autocfg-1: Update to 1.1.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-5-antlers@luris.net
* gnu/packages/crates-io.scm (rust-autocfg-1): Update to 1.1.
---
:100644 100644 1ae2162188 8395f155f2 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ae2162188..8395f155f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5221,7 +5221,7 @@ (define-public rust-atty-0.2.11
(define-public rust-autocfg-1
(package
(name "rust-autocfg")
- (version "1.0.1")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
@@ -5230,7 +5230,7 @@ (define-public rust-autocfg-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0jj6i9zn4gjl03kjvziqdji6rwx8ykz8zk2ngpc331z2g3fk3c6d"))))
+ "1ylp3cb47ylzabimazvbz9ms6ap784zhb6syaz6c1jqpmcmq0s6l"))))
(build-system cargo-build-system)
(home-page "https://github.com/cuviper/autocfg")
(synopsis
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 03/21] gnu: Add rust-crossterm-0.22.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-4-antlers@luris.net
* gnu/packages/crates-io.scm (rust-crossterm-0.22): New variable.
(rust-crossterm-0.20): Inherit from rust-crossterm-0.22.
---
:100644 100644 72012e1afb 1ae2162188 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72012e1afb..1ae2162188 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14746,23 +14746,23 @@ (define-public rust-crossfont-0.2
("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
("rust-winapi" ,rust-winapi-0.3))))))
-(define-public rust-crossterm-0.20
+(define-public rust-crossterm-0.22
(package
(name "rust-crossterm")
- (version "0.20.0")
+ (version "0.22.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "crossterm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z8zkk2mfiirbr3slfv564n685yiahr2aj3gdk6k3qymkmmdxsy0"))))
+ (base32 "0p1j2qfby343qf2isv7g78hrp7rkkk7qlg797jvx34a2dhq2amf8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.8)
+ ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-mio" ,rust-mio-0.7)
@@ -14778,6 +14778,32 @@ (define-public rust-crossterm-0.20
terminals.")
(license license:expat)))
+(define-public rust-crossterm-0.20
+ (package
+ (inherit rust-crossterm-0.22)
+ (name "rust-crossterm")
+ (version "0.20.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossterm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z8zkk2mfiirbr3slfv564n685yiahr2aj3gdk6k3qymkmmdxsy0"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.8)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.7)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-signal-hook" ,rust-signal-hook-0.3)
+ ("rust-signal-hook-mio" ,rust-signal-hook-mio-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-crossterm-0.19
(package
(inherit rust-crossterm-0.20)
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 07/21] gnu: Add rust-crossterm-winapi-0.8.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-8-antlers@luris.net
* gnu/packages/crates-io.scm (rust-crossterm-winapi-0.9): New variable.
(rust-crossterm-winapi-0.8): Inherit from rust-crossterm-winapi-0.9.
---
:100644 100644 40398e2cef 3f8de3a6d6 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40398e2cef..3f8de3a6d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14877,17 +14877,17 @@ (define-public rust-crossterm-0.13
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
-(define-public rust-crossterm-winapi-0.8
+(define-public rust-crossterm-winapi-0.9
(package
(name "rust-crossterm-winapi")
- (version "0.8.0")
+ (version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "crossterm_winapi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "01q57jwnlicqxa2igg5nig3916kf5w6sqgbxk40q6hr2frh6cs9s"))))
+ (base32 "075z15gxm4rn5yywq46khbg29bf504ix0f06zq3hx8aa91db7q9a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -14899,6 +14899,22 @@ (define-public rust-crossterm-winapi-0.8
abstractions around common WinAPI calls.")
(license license:expat)))
+(define-public rust-crossterm-winapi-0.8
+ (package
+ (inherit rust-crossterm-winapi-0.9)
+ (name "rust-crossterm-winapi")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossterm_winapi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01q57jwnlicqxa2igg5nig3916kf5w6sqgbxk40q6hr2frh6cs9s"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-crossterm-winapi-0.7
(package
(inherit rust-crossterm-winapi-0.8)
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 09/21] gnu: Add rust-gimli-0.26.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-10-antlers@luris.net
* gnu/packages/crates-io.scm (rust-gimli-0.26): New variable.
(rust-gimli-0.23): Inherit from rust-gimli-0.26.
---
:100644 100644 40db634ecf 200431da6c M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40db634ecf..200431da6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25123,17 +25123,17 @@ (define-public rust-gif-0.11
(description "This crate provides a GIF de- and encoder.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gimli-0.23
+(define-public rust-gimli-0.26
(package
(name "rust-gimli")
- (version "0.23.0")
+ (version "0.26.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gimli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1km657nwcrb0pnv7v0ldhgl9y8s889y2j9jckmws8k2i8bhkyl7n"))))
+ (base32 "1m0vi36ypv4gx9gzcw6y456yqnlypizhwlcqrmg6vkwd0lnkgk3q"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -25151,6 +25151,28 @@ (define-public rust-gimli-0.23
debugging format.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-gimli-0.23
+ (package
+ (inherit rust-gimli-0.26)
+ (name "rust-gimli")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gimli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1km657nwcrb0pnv7v0ldhgl9y8s889y2j9jckmws8k2i8bhkyl7n"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
+
(define-public rust-gimli-0.20
(package
(inherit rust-gimli-0.23)
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 02/21] gnu: Add rust-adler-1.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-3-antlers@luris.net
* gnu/packages/crates-io.scm (rust-adler-1): New variable.
---
:100644 100644 b1a8ee0d67 72012e1afb M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1a8ee0d67..72012e1afb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1840,8 +1840,33 @@ (define-public rust-addr2line-0.9
("rust-memmap" ,rust-memmap-0.7)
("rust-rustc-test" ,rust-rustc-test-0.3))))))
+(define-public rust-adler-1
+ (package
+ (name "rust-adler")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "adler" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ (home-page "https://github.com/jonas-schievink/adler")
+ (synopsis "Implementation of the Adler-32 checksum")
+ (description
+ "This crate provides a simple implementation of the Adler-32
+checksum, used in the zlib compression format.")
+ (license (list license:bsd-0 license:expat license:asl2.0))))
+
(define-public rust-adler-0.2
(package
+ (inherit rust-adler-1)
(name "rust-adler")
(version "0.2.3")
(source
@@ -1851,21 +1876,11 @@ (define-public rust-adler-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
- (home-page "https://github.com/jonas-schievink/adler")
- (synopsis "Implementation of the Adler-32 checksum")
- (description
- "This crate provides a simple implementation of the Adler-32
-checksum, used in the zlib compression format.")
- (license
- (list license:expat
- license:asl2.0
- (license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
(define-public rust-adler32-1
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 10/21] gnu: Add rust-jwalk-0.6.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-11-antlers@luris.net
* gnu/packages/crates-io.scm (rust-jwalk-0.6): New variable.
---
:100644 100644 200431da6c 1bd567f0e3 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 200431da6c..1bd567f0e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30661,6 +30661,31 @@ (define-public rust-juniper-0.14
debugging.")
(license license:bsd-2)))
+(define-public rust-jwalk-0.6
+ (package
+ (name "rust-jwalk")
+ (version "0.6.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "jwalk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fbb3c1aacgghavgkslczpvqlc6z1m3yhza28v7cnrx0agl549qp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam" ,rust-crossbeam-0.8)
+ ("rust-rayon" ,rust-rayon-1))))
+ (home-page "https://github.com/jessegrosjean/jwalk")
+ (synopsis
+ "Filesystem walk performed in parallel with streamed and sorted results")
+ (description
+ "This library provides a filesystem walk, performed in parallel with
+streamed and sorted results.")
+ (license license:expat)))
+
(define-public rust-keccak-0.1
(package
(name "rust-keccak")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 11/21] gnu: Add rust-miniz-oxide-0.5.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-12-antlers@luris.net
* gnu/packages/crates-io.scm (rust-miniz-oxide-0.5): New variable.
(rust-miniz-oxide-0.4): Inherit from rust-miniz-oxide-0.5.
---
:100644 100644 1bd567f0e3 4b9a3b1ca8 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bd567f0e3..4b9a3b1ca8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35082,26 +35082,26 @@ (define-public rust-minimal-lexical-0.1
(sha256
(base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w"))))))
-(define-public rust-miniz-oxide-0.4
+(define-public rust-miniz-oxide-0.5
(package
(name "rust-miniz-oxide")
- (version "0.4.3")
+ (version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "miniz_oxide" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
+ (base32 "1k1wfxb35v129mhqy14yqhrj3wvknafrwygiq7zvi0m5iml7ap3g"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-adler" ,rust-adler-0.2)
- ("rust-autocfg" ,rust-autocfg-1)
+ (("rust-adler" ,rust-adler-1)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
(home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
(synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
(description
@@ -35110,6 +35110,27 @@ (define-public rust-miniz-oxide-0.4
streaming API for miniz_oxide.")
(license (list license:expat license:zlib license:asl2.0))))
+(define-public rust-miniz-oxide-0.4
+ (package
+ (inherit rust-miniz-oxide-0.5)
+ (name "rust-miniz-oxide")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-adler" ,rust-adler-0.2)
+ ("rust-autocfg" ,rust-autocfg-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+
(define-public rust-miniz-oxide-0.3
(package
(inherit rust-miniz-oxide-0.4)
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 12/21] gnu: Add rust-object-0.28.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-13-antlers@luris.net
* gnu/packages/crates-io.scm (rust-object-0.28): New variable.
(rust-object-0.24): Inherit from rust-object-0.27.
(rust-object-0.17): Inherit from rust-object-0.22.
(rust-object-0.12): Inherit from rust-object-0.17.
---
:100644 100644 4b9a3b1ca8 576417fd59 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++----------
1 file changed, 36 insertions(+), 12 deletions(-)

Toggle diff (106 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b9a3b1ca8..576417fd59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39204,7 +39204,7 @@ (define-public rust-objc-test-utils-0.0
(define-public rust-object-0.28
(package
(name "rust-object")
- (version "0.28.2")
+ (version "0.28.4")
(source
(origin
(method url-fetch)
@@ -39213,7 +39213,7 @@ (define-public rust-object-0.28
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
+ "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -39247,10 +39247,40 @@ (define-public rust-object-0.28
file formats.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-object-0.24
+(define-public rust-object-0.27
(package
(inherit rust-object-0.28)
(name "rust-object")
+ (version "0.27.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "object" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ygv9zgi9wz6q5f2z9xn72i0c97jjr1dgj30kbyicdhxk8zivb37"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-wasmparser" ,rust-wasmparser-0.57))))
+ (home-page "https://github.com/gimli-rs/object")
+ (synopsis "Parse object file formats")
+ (description
+ "This package provides a unified interface for parsing object file
+formats.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-object-0.24
+ (package
+ (inherit rust-object-0.27)
+ (name "rust-object")
(version "0.24.0")
(source
(origin
@@ -39326,7 +39356,7 @@ (define-public rust-object-0.22
(define-public rust-object-0.17
(package
- (inherit rust-object-0.23)
+ (inherit rust-object-0.22)
(name "rust-object")
(version "0.17.0")
(source
@@ -39352,6 +39382,7 @@ (define-public rust-object-0.17
(define-public rust-object-0.12
(package
+ (inherit rust-object-0.17)
(name "rust-object")
(version "0.12.0")
(source
@@ -39363,7 +39394,6 @@ (define-public rust-object-0.12
(sha256
(base32
"1dch1ajjp05d16lig1dnvisfis0hrlrvw9lcwy1hwgdcym3z6jnz"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -39373,13 +39403,7 @@ (define-public rust-object-0.12
("rust-scroll" ,rust-scroll-0.9)
("rust-uuid" ,rust-uuid-0.7))
#:cargo-development-inputs
- (("rust-memmap" ,rust-memmap-0.7))))
- (home-page "https://github.com/gimli-rs/object")
- (synopsis "Parse object file formats")
- (description
- "This package provides a unified interface for parsing object file
-formats.")
- (license (list license:expat license:asl2.0))))
+ (("rust-memmap" ,rust-memmap-0.7))))))
(define-public rust-odds-0.3
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 13/21] gnu: rust-once-cell-1: Update to 1.12.0.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-14-antlers@luris.net
* gnu/packages/crates-io.scm (rust-once-cell-1): Update to 1.12.0.
---
:100644 100644 576417fd59 9a44c3a846 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 576417fd59..9a44c3a846 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39583,7 +39583,7 @@ (define-public rust-onig-sys-69.2
(define-public rust-once-cell-1
(package
(name "rust-once-cell")
- (version "1.9.0")
+ (version "1.12.0")
(source
(origin
(method url-fetch)
@@ -39591,12 +39591,12 @@ (define-public rust-once-cell-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mfqhrsgi368x92bwnq3vi3p5nv0n1qlrn69gfflhvkfkxfm2cns"))))
+ (base32 "09a2gb4sls2d3762jsps81s5y270465s0ip7cvv5h7qc7zwcw2bp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1)
- ("rust-parking-lot" ,rust-parking-lot-0.11))
+ ("rust-parking-lot-core" ,rust-parking-lot-core-0.9))
#:cargo-development-inputs
(("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
("rust-lazy-static" ,rust-lazy-static-1)
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 14/21] gnu: Add rust-open-3.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-15-antlers@luris.net
* gnu/packages/crates-io.scm (rust-open-3): New variable.
(rust-open-2): Inherit from rust-open-3.
---
:100644 100644 9a44c3a846 83be540cf7 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9a44c3a846..83be540cf7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39686,29 +39686,47 @@ (define-public rust-opaque-debug-0.2
(base32
"02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
+(define-public rust-open-3
+ (package
+ (name "rust-open")
+ (version "3.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "open" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zhhz4a9ag0418cmj0ky11xidpcavv2crhsl76m66qxz2s1wq2rn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pathdiff" ,rust-pathdiff-0.2))))
+ (home-page "https://github.com/Byron/open-rs")
+ (synopsis "Open a path or URL using the program configured on the system")
+ (description
+ "Use this library to open a path or URL using the program configured on
+the system.")
+ (license license:expat)))
+
(define-public rust-open-2
(package
+ (inherit rust-open-3)
(name "rust-open")
(version "2.0.2")
(source
(origin
+ (inherit (package-source rust-open-3))
(method url-fetch)
(uri (crate-uri "open" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-pathdiff" ,rust-pathdiff-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/Byron/open-rs")
- (synopsis "Open a path or URL using the program configured on the system")
- (description
- "Use this library to open a path or URL using the program configured on
-the system.")
- (license license:expat)))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-open-1
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 15/21] gnu: Add rust-parking-lot-core-0.9.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-16-antlers@luris.net
* gnu/packages/crates-io.scm (rust-parking-lot-core-0.9): New variable.
(rust-parking-lot-core-0.8): Inherit from rust-parking-lot-core-0.9.
---
:100644 100644 83be540cf7 23679744fa M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83be540cf7..23679744fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41108,8 +41108,37 @@ (define-public rust-parking-lot-0.7
("rust-rand" ,rust-rand-0.4)
("rust-rustc-version" ,rust-rustc-version-0.2))))))
+(define-public rust-parking-lot-core-0.9
+ (package
+ (name "rust-parking-lot-core")
+ (version "0.9.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "parking_lot_core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ab95rljb99rm51wcic16jgbajcr6lgbqkrr21w7bc2wyb5pk8h9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-petgraph" ,rust-petgraph-0.6)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thread-id" ,rust-thread-id-4))))
+ (home-page "https://github.com/Amanieu/parking_lot")
+ (synopsis "API for creating custom synchronization primitives")
+ (description "This package provides an advanced API for creating custom
+synchronization primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-parking-lot-core-0.8
(package
+ (inherit rust-parking-lot-core-0.9)
(name "rust-parking-lot-core")
(version "0.8.4")
(source
@@ -41127,7 +41156,6 @@ (define-public rust-parking-lot-core-0.8
;; that works well, really.
(substitute* "Cargo.toml"
(("0\\.3\\.60") "0.3.56"))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
@@ -41138,12 +41166,7 @@ (define-public rust-parking-lot-core-0.8
("rust-redox-syscall" ,rust-redox-syscall-0.2)
("rust-smallvec" ,rust-smallvec-1)
("rust-thread-id" ,rust-thread-id-4)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/Amanieu/parking_lot")
- (synopsis "API for creating custom synchronization primitives")
- (description "This package provides an advanced API for creating custom
-synchronization primitives.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-parking-lot-core-0.7
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 16/21] gnu: Add rust-pretty-assertions-1.2.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-17-antlers@luris.net
* gnu/packages/crates-io.scm (rust-pretty-assertions-1.2): New variable.
---
:100644 100644 23679744fa 790c53b4cd M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 23679744fa..790c53b4cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44893,6 +44893,33 @@ (define-public rust-pretty-0.5
(("rust-termcolor" ,rust-termcolor-0.3)
("rust-typed-arena" ,rust-typed-arena-1))))))
+(define-public rust-pretty-assertions-1.2
+ (package
+ (name "rust-pretty-assertions")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty_assertions" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qrmkdwqn56af498vi8zjyq44wzcyvj5ic1dv54d01s2r6d9i7y8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-ctor" ,rust-ctor-0.1)
+ ("rust-diff" ,rust-diff-0.1)
+ ("rust-output-vt100" ,rust-output-vt100-0.1))))
+ (home-page "https://github.com/colin-kiegel/rust-pretty-assertions")
+ (synopsis "Drop-in replacements for assert_eq! and assert_ne!")
+ (description
+ "Overwrite @code{assert_eq!} and @code{assert_ne!} with drop-in
+replacements, adding colorful diffs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pretty-assertions-0.7
(package
(name "rust-pretty-assertions")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 08/21] gnu: Add rust-crosstemion-0.9.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-9-antlers@luris.net
* gnu/packages/crates-io.scm (rust-crosstemion-0.9): New variable.
---
:100644 100644 3f8de3a6d6 40db634ecf M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f8de3a6d6..40db634ecf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14964,6 +14964,38 @@ (define-public rust-crossterm-winapi-0.4
(arguments
`(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-crosstermion-0.9
+ (package
+ (name "rust-crosstermion")
+ (version "0.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "crosstermion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c8rsnqkarw9ly525vwjhjmxn215ipypiya8nx1m7mbfk1dh6pm0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-async-channel" ,rust-async-channel-1)
+ ("rust-crossterm" ,rust-crossterm-0.22)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-tui" ,rust-tui-0.18)
+ ("rust-tui-react" ,rust-tui-react-0.17))))
+ (home-page "https://github.com/Byron/tui-crates")
+ (synopsis
+ "Abstraction of crossterm and termion")
+ (description
+ "The unification of crossterm and termion behind a common facade for use
+with feature flags.")
+ (license license:expat)))
+
(define-public rust-crunchy-0.2
(package
(name "rust-crunchy")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 17/21] gnu: Add rust-simd-adler32-0.3.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-18-antlers@luris.net
* gnu/packages/crates-io.scm (rust-simd-adler32-0.3): New variable.
---
:100644 100644 790c53b4cd 2a5418d6e9 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 790c53b4cd..2a5418d6e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56768,6 +56768,28 @@ (define-public rust-simd-0.1
#:cargo-development-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1))))))
+(define-public rust-simd-adler32-0.3
+ (package
+ (name "rust-simd-adler32")
+ (version "0.3.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "simd-adler32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "060b9v15s3miq06582cj2ywam92ph6xs34s62mc8az3xc4wxz98l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/mcountryman/simd-adler32")
+ (synopsis
+ "SIMD-accelerated Adler-32 rolling hash algorithm implementation")
+ (description
+ "This package provides a SIMD-accelerated Adler-32 rolling hash algorithm
+implementation.")
+ (license license:expat)))
+
(define-public rust-simd-helpers-0.1
(package
(name "rust-simd-helpers")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 18/21] gnu: rust-sysctl-0.23: Update to 0.23.15.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-19-antlers@luris.net
* gnu/packages/crates-io.scm (rust-sysctl-0.23): Update to 0.23.15.
* gnu/packages/crates-io.scm (rust-sysctl-0.4.0): Update to 0.4.4.
---
:100644 100644 2a5418d6e9 a333f6c6ce M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a5418d6e9..a333f6c6ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61067,7 +61067,7 @@ (define-public rust-syscallz-0.15
(define-public rust-sysctl-0.4
(package
(name "rust-sysctl")
- (version "0.4.0")
+ (version "0.4.4")
(source
(origin
(method url-fetch)
@@ -61088,8 +61088,7 @@ (define-public rust-sysctl-0.4
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/johalun/sysctl-rs")
(synopsis "Simplified interface to libc::sysctl")
- (description
- "Simplified interface to libc::sysctl.")
+ (description "Simplified interface to libc::sysctl.")
(license license:expat)))
(define-public rust-sysctl-0.1
@@ -61116,14 +61115,14 @@ (define-public rust-sysctl-0.1
(define-public rust-sysinfo-0.23
(package
(name "rust-sysinfo")
- (version "0.23.0")
+ (version "0.23.15")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysinfo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "14d5fgg24x4rfd6226dl1grsv5lnid0kynp6kfzb3lmylh070xcy"))))
+ (base32 "0f05lk9jy4ml4k7470ybz5xsj8cnv8wp5zvw73igikzyyzkvhzim"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 06/21] gnu: rust-lock-api-0.4: Update to 0.4.7
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-7-antlers@luris.net
* gnu/packages/crates-io.scm (rust-lock-api-0.4): Update to 0.4.7
[cargo-inputs]: Add rust-autocfg-1
---
:100644 100644 7f4806e7c5 40398e2cef M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f4806e7c5..40398e2cef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32655,7 +32655,7 @@ (define-public rust-located-yaml-0.2
(define-public rust-lock-api-0.4
(package
(name "rust-lock-api")
- (version "0.4.5")
+ (version "0.4.7")
(source
(origin
(method url-fetch)
@@ -32663,11 +32663,12 @@ (define-public rust-lock-api-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "028izfyraynijd9h9x5miv1vmg6sjnw1v95wgm7f4xlr7h4lsaki"))))
+ "0lwckl9l51y69bwf854kmdmmr1543spbxaa9xjclc3lllsvaazrj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-owning-ref" ,rust-owning-ref-0.4)
+ (("rust-autocfg" ,rust-autocfg-1)
+ ("rust-owning-ref" ,rust-owning-ref-0.4)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/Amanieu/parking_lot")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:26
[bug #56057] [PATCH v2 05/21] gnu: Add rust-parking-lot-0.12.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-6-antlers@luris.net
* gnu/packages/crates-io.scm (rust-parking-lot-0.12): New variable.
(rust-parking-lot-0.11): Inherit from rust-parking-lot-0.12.
(rust-parking-lot-0.10): Inherit from rust-parking-lot-0.11.
---
:100644 100644 8395f155f2 7f4806e7c5 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++-------------
1 file changed, 30 insertions(+), 16 deletions(-)

Toggle diff (92 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8395f155f2..7f4806e7c5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40803,24 +40803,22 @@ (define-public rust-parking-1
(sha256
(base32 "0z6q9rxm98vrp3fimw8b5syzwgf8l0pnn6y0cqm4lbblf7r01cvc"))))))
-(define-public rust-parking-lot-0.11
+(define-public rust-parking-lot-0.12
(package
(name "rust-parking-lot")
- (version "0.11.2")
+ (version "0.12.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "parking_lot" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "16gzf41bxmm10x82bla8d6wfppy9ym3fxsmdjyvn61m66s0bf5vx"))))
+ (base32 "13r2xk7mnxfc5g0g6dkdxqdqad99j7s7z8zhzz4npw5r0g0v4hip"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-instant" ,rust-instant-0.1)
- ("rust-lock-api" ,rust-lock-api-0.4)
- ("rust-parking-lot-core" ,rust-parking-lot-core-0.8))
+ `(#:cargo-inputs
+ (("rust-lock-api" ,rust-lock-api-0.4)
+ ("rust-parking-lot-core" ,rust-parking-lot-core-0.9))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-rand" ,rust-rand-0.8))))
@@ -40832,8 +40830,31 @@ (define-public rust-parking-lot-0.11
of the standard synchronization primitives.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-parking-lot-0.11
+ (package
+ (inherit rust-parking-lot-0.12)
+ (name "rust-parking-lot")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parking_lot" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16gzf41bxmm10x82bla8d6wfppy9ym3fxsmdjyvn61m66s0bf5vx"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-instant" ,rust-instant-0.1)
+ ("rust-lock-api" ,rust-lock-api-0.4)
+ ("rust-parking-lot-core" ,rust-parking-lot-core-0.8))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-parking-lot-0.10
(package
+ (inherit rust-parking-lot-0.11)
(name "rust-parking-lot")
(version "0.10.2")
(source
@@ -40844,7 +40865,6 @@ (define-public rust-parking-lot-0.10
(sha256
(base32
"0pjhcbyk6n0g6jsr6s9nf4x8wribm1b2yf8fgc8drbqa77mh99yk"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-lock-api" ,rust-lock-api-0.3)
@@ -40852,13 +40872,7 @@ (define-public rust-parking-lot-0.10
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-rand" ,rust-rand-0.7))))
- (home-page "https://github.com/Amanieu/parking_lot")
- (synopsis "Compact standard synchronization primitives")
- (description
- "More compact and efficient implementations of the standard
-synchronization primitives.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-rand" ,rust-rand-0.7))))))
(define-public rust-parking-lot-0.9
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 20/21] gnu: Add rust-tui-react-0.18.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-21-antlers@luris.net
* gnu/packages/crates-io.scm (rust-tui-react-0.18): New variable.
---
:100644 100644 0410e42dfd f1529748b7 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0410e42dfd..f1529748b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67670,6 +67670,33 @@ (define-public rust-tui-0.14
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("rust-unicode-width" ,rust-unicode-width-0.1))))))
+(define-public rust-tui-react-0.17
+ (package
+ (name "rust-tui-react")
+ (version "0.17.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "tui-react" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1va3imj01d6hy5hyhn0zg73l5dqk79fscvzf354svzbxkjdkw3aa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-tui" ,rust-tui-0.17)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://github.com/Byron/tui-crates")
+ (synopsis
+ "TUI widgets using a react-like paradigm")
+ (description
+ "This package provides TUI widgets using a react-like paradigm, allowing
+mutable component state and render properties.")
+ (license license:expat)))
+
(define-public rust-tuikit-0.4
(package
(name "rust-tuikit")
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 21/21] gnu: rust-backtrace-0.3: Update to 0.3.65.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-22-antlers@luris.net
* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.65.
(rust-backtrace-0.3.56): New variable.
---
:100644 100644 f1529748b7 121b208164 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++-------
1 file changed, 35 insertions(+), 8 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1529748b7..121b208164 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5593,6 +5593,40 @@ (define-public rust-az-1
(define-public rust-backtrace-0.3
(package
+ (name "rust-backtrace")
+ (version "0.3.65")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "backtrace" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qggp0d8pbw5vfnpm0r7lrn6wmh5yjiz4yc4bzynb8l26i2pv88i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-addr2line" ,rust-addr2line-0.17)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpp-demangle" ,rust-cpp-demangle-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-miniz-oxide" ,rust-miniz-oxide-0.5)
+ ("rust-object" ,rust-object-0.28)
+ ("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rust-lang/backtrace-rs")
+ (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
+ (description
+ "This package provides a library to acquire a stack
+trace (backtrace) at runtime in a Rust program.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-backtrace-0.3.56
+ (package
+ (inherit rust-backtrace-0.3)
(name "rust-backtrace")
(version "0.3.56")
(source
@@ -5604,7 +5638,6 @@ (define-public rust-backtrace-0.3
(sha256
(base32
"1g716jmrik0fx29va3js4gw8hwk5jlsmvqaa9ryp1c9qyh07c4cx"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -5618,13 +5651,7 @@ (define-public rust-backtrace-0.3
("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-serde" ,rust-serde-1)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/rust-lang/backtrace-rs")
- (synopsis "Acquire a stack trace (backtrace) at runtime in a Rust program")
- (description
- "This package provides a library to acquire a stack
-trace (backtrace) at runtime in a Rust program.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-backtrace-0.3.35
(package
--
2.36.0
A
A
antlers wrote on 19 Jun 2022 19:27
[bug #56057] [PATCH v2 19/21] gnu: Add rust-tui-0.17.
(address . 56057@debbugs.gnu.org)(name . antlers)(address . antlers@luris.net)
20220619172711.3413-20-antlers@luris.net
* gnu/packages/crates-io.scm (rust-tui-0.17): New variable.
(rust-tui-0.16): Inherit from rust-tui-0.17.
---
:100644 100644 a333f6c6ce 0410e42dfd M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++--------
1 file changed, 36 insertions(+), 9 deletions(-)

Toggle diff (81 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a333f6c6ce..0410e42dfd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14986,7 +14986,7 @@ (define-public rust-crosstermion-0.9
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-lite" ,rust-futures-lite-1)
("rust-termion" ,rust-termion-1)
- ("rust-tui" ,rust-tui-0.18)
+ ("rust-tui" ,rust-tui-0.17)
("rust-tui-react" ,rust-tui-react-0.17))))
(home-page "https://github.com/Byron/tui-crates")
(synopsis
@@ -67556,8 +67556,42 @@ (define-public rust-ttf-parser-0.6
(base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-tui-0.17
+ (package
+ (name "rust-tui")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w92l3ilsz4lzmsp6illpsvabgsl0nysridny5rrn0wbr0r0mv93"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.22)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/fdehau/tui-rs")
+ (synopsis "Library to build rich terminal user interfaces or dashboards")
+ (description
+ "This package provides a library to build rich terminal user interfaces
+or dashboards.")
+ (license license:expat)))
+
(define-public rust-tui-0.16
(package
+ (inherit rust-tui-0.17)
(name "rust-tui")
(version "0.16.0")
(source
@@ -67567,7 +67601,6 @@ (define-public rust-tui-0.16
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -67583,13 +67616,7 @@ (define-public rust-tui-0.16
("rust-unicode-width" ,rust-unicode-width-0.1))
#:cargo-development-inputs
(("rust-argh" ,rust-argh-0.1)
- ("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/fdehau/tui-rs")
- (synopsis "Library to build rich terminal user interfaces or dashboards")
- (description
- "This package provides a library to build rich terminal user interfaces
-or dashboards.")
- (license license:expat)))
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-tui-0.15
(package
--
2.36.0
A
A
Antlers wrote on 19 Jun 2022 19:56
Re: [bug #56057] [PATCH v2 18/21] gnu: rust-sysctl-0.23: Update to 0.23.15.
(name . antlers)(address . autumnalantlers@gmail.com)
1d2f40fb-e765-48e6-bf49-1b40df17c011@gmail.com
A. Notice that I might be missing a new hash here.
B. Need to stop switching email addresses willy-nilly, I'll get there.

----------------------------------------

Jun 19, 2022 10:28:00 AM antlers <autumnalantlers@gmail.com>:

Toggle quote (49 lines)
> * gnu/packages/crates-io.scm (rust-sysctl-0.23): Update to 0.23.15.
> * gnu/packages/crates-io.scm (rust-sysctl-0.4.0): Update to 0.4.4.
> ---
> :100644 100644 2a5418d6e9 a333f6c6ce M  gnu/packages/crates-io.scm
> gnu/packages/crates-io.scm | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 2a5418d6e9..a333f6c6ce 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -61067,7 +61067,7 @@ (define-public rust-syscallz-0.15
> (define-public rust-sysctl-0.4
>    (package
>      (name "rust-sysctl")
> -    (version "0.4.0")
> +    (version "0.4.4")
>      (source
>       (origin
>         (method url-fetch)
> @@ -61088,8 +61088,7 @@ (define-public rust-sysctl-0.4
>          ("rust-walkdir" ,rust-walkdir-2))))
>      (home-page "https://github.com/johalun/sysctl-rs")
>      (synopsis "Simplified interface to libc::sysctl")
> -    (description
> -     "Simplified interface to libc::sysctl.")
> +    (description "Simplified interface to libc::sysctl.")
>      (license license:expat)))
>
> (define-public rust-sysctl-0.1
> @@ -61116,14 +61115,14 @@ (define-public rust-sysctl-0.1
> (define-public rust-sysinfo-0.23
>    (package
>      (name "rust-sysinfo")
> -    (version "0.23.0")
> +    (version "0.23.15")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (crate-uri "sysinfo" version))
>         (file-name (string-append name "-" version ".tar.gz"))
>         (sha256
> -        (base32 "14d5fgg24x4rfd6226dl1grsv5lnid0kynp6kfzb3lmylh070xcy"))))
> +        (base32 "0f05lk9jy4ml4k7470ybz5xsj8cnv8wp5zvw73igikzyyzkvhzim"))))
>      (build-system cargo-build-system)
>      (arguments
>       `(#:skip-build? #t
> --
> 2.36.0
A
A
Antlers wrote on 19 Jun 2022 20:09
Re: [bug #56057] [PATCH v2 14/21] gnu: Add rust-open-3.
(address . 56057@debbugs.gnu.org)
6920256f-0d2a-4005-9018-52deabb092b7@gmail.com
[Forwarding to make sure this note makes it into the thread because I didn't see it; still handling the mailing list workflow, um, un-steadily.]

----------------------------------------

Jun 19, 2022 10:49:39 AM EHarding830 <eharding830@gmail.com>:

Note to Self (Whoopsies #2 & 3): Thought I dropped this patch (otherwise looks like I sent the right patchset..? Bad smell.), and should still double check that I didn't remove any #:skip-build flags.

----------------------------------------

Jun 19, 2022 10:27:57 AM antlers <autumnalantlers@gmail.com>:

Toggle quote (69 lines)
> * gnu/packages/crates-io.scm (rust-open-3): New variable.
> (rust-open-2): Inherit from rust-open-3.
> ---
> :100644 100644 9a44c3a846 83be540cf7 M  gnu/packages/crates-io.scm
> gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
> 1 file changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 9a44c3a846..83be540cf7 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -39686,29 +39686,47 @@ (define-public rust-opaque-debug-0.2
>          (base32
>           "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
>
> +(define-public rust-open-3
> +  (package
> +    (name "rust-open")
> +    (version "3.0.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (crate-uri "open" version))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1zhhz4a9ag0418cmj0ky11xidpcavv2crhsl76m66qxz2s1wq2rn"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs
> +       (("rust-pathdiff" ,rust-pathdiff-0.2))))
> +    (home-page "https://github.com/Byron/open-rs")
> +    (synopsis "Open a path or URL using the program configured on the system")
> +    (description
> +     "Use this library to open a path or URL using the program configured on
> +the system.")
> +    (license license:expat)))
> +
> (define-public rust-open-2
>    (package
> +    (inherit rust-open-3)
>      (name "rust-open")
>      (version "2.0.2")
>      (source
>       (origin
> +       (inherit (package-source rust-open-3))
>         (method url-fetch)
>         (uri (crate-uri "open" version))
>         (file-name (string-append name "-" version ".tar.gz"))
>         (sha256
>          (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
> -    (build-system cargo-build-system)
>      (arguments
>       `(#:skip-build? #t
>         #:cargo-inputs
>         (("rust-pathdiff" ,rust-pathdiff-0.2)
> -        ("rust-winapi" ,rust-winapi-0.3))))
> -    (home-page "https://github.com/Byron/open-rs")
> -    (synopsis "Open a path or URL using the program configured on the system")
> -    (description
> -     "Use this library to open a path or URL using the program configured on
> -the system.")
> -    (license license:expat)))
> +        ("rust-winapi" ,rust-winapi-0.3))))))
>
> (define-public rust-open-1
>    (package
> --
> 2.36.0
E
E
EHarding830 wrote on 19 Jun 2022 19:49
(name . antlers)(address . autumnalantlers@gmail.com)
bdfb0fe2-e8ee-4c05-b39e-5a9197c224f6@gmail.com
Note to Self (Whoopsies #2 & 3): Thought I dropped this patch (otherwise looks like I sent the right patchset..? Bad smell.), and should still double check that I didn't remove any #:skip-build flags.

----------------------------------------

Jun 19, 2022 10:27:57 AM antlers <autumnalantlers@gmail.com>:

Toggle quote (69 lines)
> * gnu/packages/crates-io.scm (rust-open-3): New variable.
> (rust-open-2): Inherit from rust-open-3.
> ---
> :100644 100644 9a44c3a846 83be540cf7 M  gnu/packages/crates-io.scm
> gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
> 1 file changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 9a44c3a846..83be540cf7 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -39686,29 +39686,47 @@ (define-public rust-opaque-debug-0.2
>          (base32
>           "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
>
> +(define-public rust-open-3
> +  (package
> +    (name "rust-open")
> +    (version "3.0.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (crate-uri "open" version))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1zhhz4a9ag0418cmj0ky11xidpcavv2crhsl76m66qxz2s1wq2rn"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs
> +       (("rust-pathdiff" ,rust-pathdiff-0.2))))
> +    (home-page "https://github.com/Byron/open-rs")
> +    (synopsis "Open a path or URL using the program configured on the system")
> +    (description
> +     "Use this library to open a path or URL using the program configured on
> +the system.")
> +    (license license:expat)))
> +
> (define-public rust-open-2
>    (package
> +    (inherit rust-open-3)
>      (name "rust-open")
>      (version "2.0.2")
>      (source
>       (origin
> +       (inherit (package-source rust-open-3))
>         (method url-fetch)
>         (uri (crate-uri "open" version))
>         (file-name (string-append name "-" version ".tar.gz"))
>         (sha256
>          (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
> -    (build-system cargo-build-system)
>      (arguments
>       `(#:skip-build? #t
>         #:cargo-inputs
>         (("rust-pathdiff" ,rust-pathdiff-0.2)
> -        ("rust-winapi" ,rust-winapi-0.3))))
> -    (home-page "https://github.com/Byron/open-rs")
> -    (synopsis "Open a path or URL using the program configured on the system")
> -    (description
> -     "Use this library to open a path or URL using the program configured on
> -the system.")
> -    (license license:expat)))
> +        ("rust-winapi" ,rust-winapi-0.3))))))
>
> (define-public rust-open-1
>    (package
> --
> 2.36.0
A
A
antlers wrote on 20 Jun 2022 07:22
(address . 56057@debbugs.gnu.org)
CAFxNT+fVC765F-ppy5wndGMRyFk7EqzcouE21J1S4+uszKQFpA@mail.gmail.com
Toggle quote (1 lines)
> Thought I dropped this patch (otherwise looks like I sent the right patchset [...])
That would have been rust-clap, not rust-open.

On Sun, Jun 19, 2022 at 10:49 AM EHarding830 <eharding830@gmail.com> wrote:
Toggle quote (76 lines)
>
> Note to Self (Whoopsies #2 & 3): Thought I dropped this patch (otherwise looks like I sent the right patchset..? Bad smell.), and should still double check that I didn't remove any #:skip-build flags.
>
> ----------------------------------------
>
> Jun 19, 2022 10:27:57 AM antlers <autumnalantlers@gmail.com>:
>
> > * gnu/packages/crates-io.scm (rust-open-3): New variable.
> > (rust-open-2): Inherit from rust-open-3.
> > ---
> > :100644 100644 9a44c3a846 83be540cf7 M gnu/packages/crates-io.scm
> > gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
> > 1 file changed, 26 insertions(+), 8 deletions(-)
> >
> > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> > index 9a44c3a846..83be540cf7 100644
> > --- a/gnu/packages/crates-io.scm
> > +++ b/gnu/packages/crates-io.scm
> > @@ -39686,29 +39686,47 @@ (define-public rust-opaque-debug-0.2
> > (base32
> > "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck"))))))
> >
> > +(define-public rust-open-3
> > + (package
> > + (name "rust-open")
> > + (version "3.0.1")
> > + (source (origin
> > + (method url-fetch)
> > + (uri (crate-uri "open" version))
> > + (file-name (string-append name "-" version ".tar.gz"))
> > + (sha256
> > + (base32
> > + "1zhhz4a9ag0418cmj0ky11xidpcavv2crhsl76m66qxz2s1wq2rn"))))
> > + (build-system cargo-build-system)
> > + (arguments
> > + `(#:skip-build? #t
> > + #:cargo-inputs
> > + (("rust-pathdiff" ,rust-pathdiff-0.2))))
> > + (home-page "https://github.com/Byron/open-rs")
> > + (synopsis "Open a path or URL using the program configured on the system")
> > + (description
> > + "Use this library to open a path or URL using the program configured on
> > +the system.")
> > + (license license:expat)))
> > +
> > (define-public rust-open-2
> > (package
> > + (inherit rust-open-3)
> > (name "rust-open")
> > (version "2.0.2")
> > (source
> > (origin
> > + (inherit (package-source rust-open-3))
> > (method url-fetch)
> > (uri (crate-uri "open" version))
> > (file-name (string-append name "-" version ".tar.gz"))
> > (sha256
> > (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp"))))
> > - (build-system cargo-build-system)
> > (arguments
> > `(#:skip-build? #t
> > #:cargo-inputs
> > (("rust-pathdiff" ,rust-pathdiff-0.2)
> > - ("rust-winapi" ,rust-winapi-0.3))))
> > - (home-page "https://github.com/Byron/open-rs")
> > - (synopsis "Open a path or URL using the program configured on the system")
> > - (description
> > - "Use this library to open a path or URL using the program configured on
> > -the system.")
> > - (license license:expat)))
> > + ("rust-winapi" ,rust-winapi-0.3))))))
> >
> > (define-public rust-open-1
> > (package
> > --
> > 2.36.0
M
M
Maxime Devos wrote on 20 Jun 2022 13:15
Re: [bug#56057] [gnu: Add dua-cli. 25/27] gnu: Add rust-windows-sys-0.36 & per-target varitations.
7d83388588dfd6a4c5fa84442bed8aebbca5d0a5.camel@telenet.be
antlers schreef op za 18-06-2022 om 12:56 [-0700]:
Toggle quote (2 lines)
> varitations

nitpick: varitations -> variations
M
M
Maxime Devos wrote on 20 Jun 2022 13:15
0d7bed23286636667a8ae706aa6d631c66e45049.camel@telenet.be
antlers schreef op za 18-06-2022 om 12:56 [-0700]:
Toggle quote (2 lines)
> varitations

(unless that was already fixed in the v2)
M
M
Maxime Devos wrote on 20 Jun 2022 13:17
7eabeea32981ea917da3aad875bccfae187b8353.camel@telenet.be
antlers schreef op za 18-06-2022 om 12:56 [-0700]:
Toggle quote (16 lines)
> * gnu/packages/crates-io.scm
>
> (rust-windows-x86-64-gnu-0.36
>  rust-windows-x86-64-mscv-0.36
>  rust-windows-i686-gnu-0.36
>  rust-windows-i686-mscv-0.36
>  rust-windows-aarch64-mscv-0.36
>  rust-windows-sys-0.36): New variables.
>
> (rust-windows-x86-64-gnu-0.28
>  rust-windows-x86-64-mscv-0.28
>  rust-windows-i686-gnu-0.28
>  rust-windows-i686-mscv-0.28
>  rust-windows-aarch64-mscv-0.28
>  rust-windows-0.28): Inherit from rust-windows-*-0.36.

Nevermind my comments about rust-windows-..., looks like those are
already automatically removed in antioxidant.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYrBXNhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vJWAP4416EbzDSC1wbqvviVpmk9n9dk
/PF4eCgpx5N9K1w8fAEAhCpAs7xQ5ZbFQWRBJc7JwkePkWkJA3zM1wg8IhAdRg4=
=UovK
-----END PGP SIGNATURE-----


A
A
antlers wrote on 21 Jun 2022 18:56
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 56057@debbugs.gnu.org)
CAFxNT+ehVRTLvbucLOKO33CN=rvW+F+8Poo0dkGBWD=htqG-bg@mail.gmail.com
Toggle quote (1 lines)
> Nevermind [...] rust-windows-...
Alright, I dropped that patch back in and (after a hash update for
`rust-sysctl-0.4`) everything does seem to build. I'll still be taking another
look at package descriptions, will sort v3 such that each patch /actually/
builds (ie. sequentially), and maybe cherry-pick `guix style`'s opinions.
Otherwise just keeping an eye on #56037 (I like what they did with the
`-beta` packages) and antioxidant (good luck!).

Toggle quote (1 lines)
> > varitations
One learns through many small lessons! I'll be more careful.
Thanks again for your time and attention.
```
$> echo << EOF >> ~/.emacs.d/init.el
(eval-after-load "git-commit-mode"
'(add-hook 'git-commit-mode-hook #'flyspell-mode))
EOF
```

On Mon, Jun 20, 2022 at 4:17 AM Maxime Devos <maximedevos@telenet.be> wrote:
Toggle quote (20 lines)
>
> antlers schreef op za 18-06-2022 om 12:56 [-0700]:
> > * gnu/packages/crates-io.scm
> >
> > (rust-windows-x86-64-gnu-0.36
> > rust-windows-x86-64-mscv-0.36
> > rust-windows-i686-gnu-0.36
> > rust-windows-i686-mscv-0.36
> > rust-windows-aarch64-mscv-0.36
> > rust-windows-sys-0.36): New variables.
> >
> > (rust-windows-x86-64-gnu-0.28
> > rust-windows-x86-64-mscv-0.28
> > rust-windows-i686-gnu-0.28
> > rust-windows-i686-mscv-0.28
> > rust-windows-aarch64-mscv-0.28
> > rust-windows-0.28): Inherit from rust-windows-*-0.36.
>
> Nevermind my comments about rust-windows-..., looks like those are
> already automatically removed in antioxidant.
A
A
Aleksandr Vityazev wrote on 24 Jul 2022 23:59
Re: [bug#56057] [gnu: Add dua-cli. 20/27] gnu: Add rust-textwrap-0.15.
(name . antlers)(address . autumnalantlers@gmail.com)
87lesikw8s.fsf@posteo.org
Hi,

The textwrap-0.15 build will fail

On 2022-06-18, 12:56 -0700, antlers <autumnalantlers@gmail.com> wrote:

Toggle quote (74 lines)
> * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
> (rust-textwrap-0.12): Inherit from rust-textwrap-0.15.
> ---
> :100644 100644 fd431e544b f9aabbb334 M gnu/packages/crates-io.scm
> gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++-----
> 1 file changed, 27 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index fd431e544b..f9aabbb334 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -62665,10 +62665,10 @@ (define-public rust-text-size-1
> (description "This package provides a newtypes for text offsets")
> (license (list license:expat license:asl2.0))))
>
> -(define-public rust-textwrap-0.12
> +(define-public rust-textwrap-0.15
> (package
> (name "rust-textwrap")
> - (version "0.12.1")
> + (version "0.15.0")
> (source
> (origin
> (method url-fetch)
> @@ -62677,16 +62677,17 @@ (define-public rust-textwrap-0.12
> (string-append name "-" version ".tar.gz"))
> (sha256
> (base32
> - "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
> + "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))))
> (build-system cargo-build-system)
> (arguments
> `(#:skip-build? #t
> #:cargo-inputs
> (("rust-hyphenation" ,rust-hyphenation-0.8)
> + ("rust-smawk" ,rust-smawk-0.3)
> ("rust-terminal-size" ,rust-terminal-size-0.1)
> + ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
> ("rust-unicode-width" ,rust-unicode-width-0.1))))
> - (home-page
> - "https://github.com/mgeisler/textwrap")
> + (home-page "https://github.com/mgeisler/textwrap")
> (synopsis "Library for word wrapping, indenting, and dedenting strings")
> (description
> "Textwrap is a small library for word wrapping, indenting, and dedenting
> @@ -62695,6 +62696,27 @@ (define-public rust-textwrap-0.12
> handle Unicode characters correctly.")
> (license license:expat)))
>
> +(define-public rust-textwrap-0.12
> + (package
> + (inherit rust-textwrap-0.15)
> + (name "rust-textwrap")
> + (version "0.12.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "textwrap" version))
> + (file-name
> + (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
> + (arguments
> + `(#:skip-build? #t
> + #:cargo-inputs
> + (("rust-hyphenation" ,rust-hyphenation-0.8)
> + ("rust-terminal-size" ,rust-terminal-size-0.1)
> + ("rust-unicode-width" ,rust-unicode-width-0.1))))))
> +
> (define-public rust-textwrap-0.11
> (package
> (inherit rust-textwrap-0.12)

To correctly build textwrap-0.15 u can use these patches (see in
attachments). Although, of course, it does not play a big role, older
versions also fails when building.

--

Aleksandr Vityazev
From a44052bca7754bd86401aaf207bb85031ff43707 Mon Sep 17 00:00:00 2001
Message-Id: <a44052bca7754bd86401aaf207bb85031ff43707.1658698211.git.avityazev@posteo.org>
In-Reply-To: <cover.1658698210.git.avityazev@posteo.org>
References: <cover.1658698210.git.avityazev@posteo.org>
From: Aleksandr Vityazev <avityazev@posteo.org>
Date: Sun, 24 Jul 2022 23:05:18 +0300
Subject: [PATCH 22/27] gnu: Add rust-unic-emoji-char-0.9.

* gnu/packages/crates-io.scm (rust-unic-emoji-char-0.9): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8eb075ab8f..bb608a5ebb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68142,6 +68142,31 @@ (define-public rust-unic-common-0.9
Internationalization Crates (UNIC) project.")
(license (list license:expat license:asl2.0))))
+(define-public rust-unic-emoji-char-0.9
+ (package
+ (name "rust-unic-emoji-char")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "unic-emoji-char" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ka9fr7s6lv0z43r9xphg9injn35pfxf9g9q18ki0wl9d0g241qb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-unic-char-property" ,rust-unic-char-property-0.9)
+ ("rust-unic-char-range" ,rust-unic-char-range-0.9)
+ ("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9))))
+ (home-page "https://github.com/open-i18n/rust-unic/")
+ (synopsis "UNIC — Unicode Emoji")
+ (description
+ "This UNIC component implements character properties and algorithms from
+Unicode® Technical Standard #51 - Unicode Emoji.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-unic-segment-0.9
(package
(name "rust-unic-segment")
--
2.37.1
From b7b5118274309e91a9599e487ea3e531a461ce19 Mon Sep 17 00:00:00 2001
Message-Id: <b7b5118274309e91a9599e487ea3e531a461ce19.1658698211.git.avityazev@posteo.org>
In-Reply-To: <cover.1658698210.git.avityazev@posteo.org>
References: <cover.1658698210.git.avityazev@posteo.org>
From: Aleksandr Vityazev <avityazev@posteo.org>
Date: Sun, 24 Jul 2022 23:34:33 +0300
Subject: [PATCH 23/27] gnu: Add rust-textwrap-0.15.

* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb608a5ebb..f9a11dd408 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62748,6 +62748,47 @@ (define-public rust-text-size-1
(description "This package provides a newtypes for text offsets")
(license (list license:expat license:asl2.0))))
+(define-public rust-textwrap-0.15
+ (package
+ (name "rust-textwrap")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "textwrap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("version = \"1.5.6\"") "version = \"^1.5.5\""))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hyphenation" ,rust-hyphenation-0.8)
+ ("rust-smawk" ,rust-smawk-0.3)
+ ("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-lipsum" ,rust-lipsum-0.8)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9)
+ ("rust-version-sync" ,rust-version-sync-0.9))))
+ (home-page "https://github.com/mgeisler/textwrap")
+ (synopsis "Library for word wrapping, indenting, and dedenting strings")
+ (description
+ "Textwrap is a small library for word wrapping, indenting, and dedenting
+strings. You can use it to format strings (such as help and error messages)
+for display in commandline applications. It is designed to be efficient and
+handle Unicode characters correctly.")
+ (license license:expat)))
+
(define-public rust-textwrap-0.12
(package
(name "rust-textwrap")
--
2.37.1
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56057@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56057
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch