[PATCH rust-team 00/12] gnu: Add wallust.

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Andrew Wong
Owner
unassigned
Submitted by
Andrew Wong
Severity
normal

Debbugs page

A
A
Andrew Wong wrote 5 days ago
(address . guix-patches@gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
cover.1736117349.git.wongandj@icloud.com
This patch series adds the "Wallust" theme generator. This is my first patch series of this size, so please LMK if I missed anything!

Andrew Wong (12):
gnu: Add wallust.
gnu: Add rust-vergen-9.
gnu: Add rust-vergen-lib-0.1.
gnu: Add rust-vergen-git2-1.
gnu: Add rust-fast-image-resize-5.
gnu: Add rust-kmeans-colors-0.6.
gnu: Add rust-documented-0.6.
gnu: Add rust-documented-macros-0.6.
gnu: Add rust-new-string-template-1.
gnu: Add rust-optfield-0.3.
gnu: rust-owo-colors-4: Update to 4.1.0.
gnu: Add rust-spinners-4.

gnu/packages/crates-graphics.scm | 57 ++++++++++
gnu/packages/crates-io.scm | 181 ++++++++++++++++++++++++++++++-
gnu/packages/crates-shell.scm | 22 ++++
gnu/packages/rust-apps.scm | 108 ++++++++++++++++++
4 files changed, 366 insertions(+), 2 deletions(-)


base-commit: 4ee631832635a34bb38b4d0dc650e9b34fc14dd5
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 01/12] gnu: Add wallust.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
0a0e0708523632981706c917916fa10b4017f7ee.1736117349.git.wongandj@icloud.com
* gnu/packages/rust-apps.scm (wallust): New variable;
(wallust-themes): New variable.

Change-Id: If02281e12a2f1f54fccc09bd90181e3e23fb0de2
---
gnu/packages/rust-apps.scm | 108 +++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)

Toggle diff (121 lines)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index dbf253b366..776a43f8e0 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -4422,6 +4422,114 @@ (define-public rust-xremap
(description "This package provides dynamic key remapp for X and Wayland.")
(license license:expat)))
+(define-public wallust-themes
+ (package
+ (name "wallust-themes")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wallust_themes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kgkggdb78sxz81si3glhvqpxbxhz858p9wzqxd51drzlvwgi1m1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://codeberg.org/explosion-mental/wallust-themes")
+ (synopsis "Built in colorschemes for Wallust")
+ (description "This package provides built-in colorschemes for Wallust.")
+ (license license:expat)))
+
+(define-public wallust
+ (package
+ (name "wallust")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wallust" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1frx8py92vn04hc8cq18bs0z5dadx2q271fa3wgsry9bh5qvs6jp"))))
+ (build-system cargo-build-system)
+ (native-inputs (list pkg-config))
+ (inputs (list zlib libgit2-1.8))
+ (arguments
+ `(#:features (list "buildgen" "doc" "themes")
+ #:install-source? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'install-extras
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (install-completion (lambda (path filename)
+ (install-file (string-append
+ "completions/"
+ filename)
+ (string-append
+ out path))))
+ (install-man (lambda (filename section)
+ (install-file (string-append
+ "man/" filename)
+ (string-append out
+ "/share/man/man"
+ section)))))
+ (install-completion "/etc/bash-completion.d/"
+ "wallust.bash")
+ (install-completion
+ "/share/fish/vendor_completions.d/" "wallust.fish")
+ (install-completion "/share/zsh/site-functions/"
+ "_wallust")
+ (install-completion "/share/elvish/lib/" "wallust.elv")
+ (install-man "wallust-cs.1" "1")
+ (install-man "wallust-run.1" "1")
+ (install-man "wallust-theme.1" "1")
+ (install-man "wallust.1" "1")
+ (install-man "wallust.5" "5")))))
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-documented" ,rust-documented-0.6)
+ ("rust-dunce" ,rust-dunce-1)
+ ("rust-fast-image-resize" ,rust-fast-image-resize-5)
+ ("rust-fastrand" ,rust-fastrand-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-image" ,rust-image-0.25)
+ ("rust-itertools" ,rust-itertools-0.13)
+ ("rust-kmeans-colors" ,rust-kmeans-colors-0.6)
+ ("rust-minijinja" ,rust-minijinja-2)
+ ("rust-new-string-template" ,rust-new-string-template-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-owo-colors" ,rust-owo-colors-4)
+ ("rust-palette" ,rust-palette-0.7)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-shellexpand" ,rust-shellexpand-3)
+ ("rust-spinners" ,rust-spinners-4)
+ ("rust-strum" ,rust-strum-0.26)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.8)
+ ("rust-toml-edit" ,rust-toml-edit-0.22)
+ ("rust-vergen-git2" ,rust-vergen-git2-1)
+ ("wallust-themes" ,wallust-themes))
+ #:cargo-development-inputs (("rust-clap-complete" ,rust-clap-complete-4)
+ ("rust-clap-mangen" ,rust-clap-mangen-0.2)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://explosion-mental.codeberg.page/wallust")
+ (synopsis "Generate themes from images with advanced templating")
+ (description
+ "Wallust is a rust-based successor to \"pywal\" which generates color
+themes from images with advanced templating and generation options.
+Templates are made using either a subset of Jinja2 or pywal syntax.
+Color generation may be constrained to obey ANSI color standards, meet
+minimum contrast levels, and more.")
+ (license license:expat)))
+
(define-public xremap-gnome
(package
(inherit rust-xremap)
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 03/12] gnu: Add rust-vergen-lib-0.1.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
ddfbf40e84d8d8d0de0e4eda26888c346a898644.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-vergen-lib-0.1): New variable.

Change-Id: I2beff3f2636a572a748ab9611b0216c060401d53
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a11844b18..d32eed0b66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89660,6 +89660,29 @@ (define-public rust-vergen-3
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))))
+(define-public rust-vergen-lib-0.1
+ (package
+ (name "rust-vergen-lib")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen-lib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ix19k2kvn4hzhhl6nld9h7fh1qh5z7j51z5rn2zq28wfpk6giy0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-rustversion" ,rust-rustversion-1))))
+ (home-page "https://github.com/rustyhorde/vergen")
+ (synopsis "Common code used to support the vergen libraries")
+ (description
+ "This package provides Common code used to support the vergen libraries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-version-check-0.9
(package
(name "rust-version-check")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 02/12] gnu: Add rust-vergen-9.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
91c90b5ac8d632b5cc977b5cd70710336186d6db.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-vergen-9): New variable.

Change-Id: I9ba0a29272f3abbb9013f52a2cf453cbdfde969e
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4866f074f9..6a11844b18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89568,6 +89568,37 @@ (define-public rust-vek-0.15
engines, with SIMD support and focus on convenience.")
(license (list license:expat license:asl2.0))))
+(define-public rust-vergen-9
+ (package
+ (name "rust-vergen")
+ (version "9.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0f86dz7mm0blfw17lggkkwm548mdjgq8f7llqxaz8pghz345zwii"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cargo-metadata" ,rust-cargo-metadata-0.19)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-sysinfo" ,rust-sysinfo-0.32)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-vergen-lib" ,rust-vergen-lib-0.1))))
+ (home-page "https://github.com/rustyhorde/vergen")
+ (synopsis
+ "Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro")
+ (description
+ "This package provides Generate cargo:rustc-env instructions via build.rs for use in your code via the
+env! macro.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vergen-8
(package
(name "rust-vergen")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 04/12] gnu: Add rust-vergen-git2-1.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
95ca065ebd2deac002e0bc6b26d10a2f4b7dc325.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-vergen-git2-1): New variable.

Change-Id: Ic70fc7f6e1062e54c70554f67033bac7909322d4
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d32eed0b66..9e04e17965 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89660,6 +89660,35 @@ (define-public rust-vergen-3
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))))
+(define-public rust-vergen-git2-1
+ (package
+ (name "rust-vergen-git2")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen-git2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mri3bffr6578cigqrpcn8b0bfcgkvbskdxswg8ym7vlv1ly0qsy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-git2" ,rust-git2-0.19)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-vergen" ,rust-vergen-9)
+ ("rust-vergen-lib" ,rust-vergen-lib-0.1))))
+ (home-page "https://github.com/rustyhorde/vergen")
+ (synopsis
+ "Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro")
+ (description
+ "This package provides Generate cargo:rustc-env instructions via build.rs for use in your code via the
+env! macro.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vergen-lib-0.1
(package
(name "rust-vergen-lib")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 05/12] gnu: Add rust-fast-image-resize-5.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
ae19331632a735dc1b1cd4558648ee78c798bf04.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-graphics.scm (rust-fast-image-resize-5): New variable.

Change-Id: Ie0f755bc77ec019a0a8a8c75e1140337343acba0
---
gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index b00da5ba2f..5fc2a1c0cf 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1411,6 +1411,34 @@ (define-public rust-exr-1
(description "Read and write OpenEXR files without any unsafe code")
(license license:bsd-3)))
+(define-public rust-fast-image-resize-5
+ (package
+ (name "rust-fast-image-resize")
+ (version "5.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fast_image_resize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qp95mkllxmkc3q0iwh1rj9cgv0rixpjz5wdw6avv2n17g090y7c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-document-features" ,rust-document-features-0.2)
+ ("rust-image" ,rust-image-0.25)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/cykooz/fast_image_resize")
+ (synopsis
+ "Library for fast image resizing with using of SIMD instructions")
+ (description
+ "This package provides Library for fast image resizing with using of SIMD instructions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fast-image-resize-2
(package
(name "rust-fast-image-resize")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 06/12] gnu: Add rust-kmeans-colors-0.6.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
548c7413e293427481066c31a8b2bd75cb693129.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-graphics.scm (rust-kmeans-colors-0.6): New variable.

Change-Id: Id64566bd05627fc05621aa3e318686e150452166
---
gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 5fc2a1c0cf..e2a0d1f3c7 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2762,6 +2762,35 @@ (define-public rust-khronos-egl-5
(description "This package provides Rust bindings for EGL.")
(license (list license:expat license:asl2.0))))
+(define-public rust-kmeans-colors-0.6
+ (package
+ (name "rust-kmeans-colors")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kmeans_colors" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "153qfhvvm7iisqjy6sy7mfw8x9h8y9y25z7ygvfkbp0i53xmz8g9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-image" ,rust-image-0.24)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-palette" ,rust-palette-0.7)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-structopt" ,rust-structopt-0.3))))
+ (home-page "https://github.com/okaneco/kmeans-colors")
+ (synopsis
+ "Simple k-means clustering to find dominant colors in images.
+Backed by a generic k-means implementation offered as a standalone library")
+ (description
+ "This package provides Simple k-means clustering to find dominant colors in images. Backed by a
+generic k-means implementation offered as a standalone library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libdav1d-sys-0.6
(package
(name "rust-libdav1d-sys")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 08/12] gnu: Add rust-documented-macros-0.6.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
fdca339931ae1fef338bdef54bdcd05f9a28cd47.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-documented-macros-0.6): New variable.

Change-Id: I0713a9ed78f6e075241e190de922d9579b370bf7
---
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 1ed6a81dc0..94909c8ef8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21604,6 +21604,31 @@ (define-public rust-documented-0.6
"This package provides Derive and attribute macros for accessing your type's documentation at runtime.")
(license license:expat)))
+(define-public rust-documented-macros-0.6
+ (package
+ (name "rust-documented-macros")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "documented-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qwclr8ymp5n5fyb6sri9dl36va3ana50clkgwmf7110lva5jdlp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.6)
+ ("rust-optfield" ,rust-optfield-0.3)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/cyqsimon/documented")
+ (synopsis "Derive and attribute macros for `documented`")
+ (description
+ "This package provides Derive and attribute macros for `documented`.")
+ (license license:expat)))
+
(define-public rust-dogged-0.2
(package
(name "rust-dogged")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 07/12] gnu: Add rust-documented-0.6.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
b1a74b17cce9698943ee5125c4424038b7319071.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-documented-0.6): New variable.

Change-Id: I2cb45d5f549102932efa9d231436adb51670eab0
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e04e17965..1ed6a81dc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21580,6 +21580,30 @@ (define-public rust-document-features-0.2
@code{Cargo.toml}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-documented-0.6
+ (package
+ (name "rust-documented")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "documented" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zc7akchjkwnsl0hnzygwad58sfnvrvkcl7w117679cnbg9zxbgy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-documented-macros" ,rust-documented-macros-0.6)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/cyqsimon/documented")
+ (synopsis
+ "Derive and attribute macros for accessing your type's documentation at runtime")
+ (description
+ "This package provides Derive and attribute macros for accessing your type's documentation at runtime.")
+ (license license:expat)))
+
(define-public rust-dogged-0.2
(package
(name "rust-dogged")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 09/12] gnu: Add rust-new-string-template-1.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
3944d669f38c43a9d94c08bd8b1483389443a364.1736117349.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-new-string-template-1): New variable.

Change-Id: I41b95af465fb52037bdfc554e6ce458472f944ae
---
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 94909c8ef8..26c3837721 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45101,6 +45101,28 @@ (define-public rust-new-debug-unreachable-1
release (fork of debug_unreachable)")
(license license:expat)))
+(define-public rust-new-string-template-1
+ (package
+ (name "rust-new-string-template")
+ (version "1.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "new_string_template" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1svmx6a6qqz70mhrgz77bi9ifpnlpwpslqzvdbw557jc6d9ih3y5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/hasezoey/new_string_template")
+ (synopsis "Simple Customizable String-Templating Library for Rust")
+ (description
+ "This package provides Simple Customizable String-Templating Library for Rust.")
+ (license license:expat)))
+
;; Keep this package for future packaging of NewsFlash.
(define-public rust-news-flash-1
(package
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 11/12] gnu: rust-owo-colors-4: Update to 4.1.0.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
675fbbce91a0c3b7e3014577a47689db9475c294.1736117350.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-owo-colors-4): Update to 4.1.0.

Change-Id: I003a2e2acfe0782444bbd0dd413746cbb6976a39
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6ea089ff04..d95d6d3b0c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50148,14 +50148,14 @@ (define-public rust-owning-ref-0.3
(define-public rust-owo-colors-4
(package
(name "rust-owo-colors")
- (version "4.0.0")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "owo-colors" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0grsk47cllj0s4nc4qxvy4gdhj2lyiglbqx4lmw2m7grdmq59zya"))))
+ (base32 "0mms4sbisxm1w8v08qz85m90sv861xg4ahil85587kb9cmzpcdzv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-2))))
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 10/12] gnu: Add rust-optfield-0.3.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
0f0db7a60f7f16309bf747ad9406c66a83b43c4f.1736117350.git.wongandj@icloud.com
* gnu/packages/crates-io.scm (rust-optfield-0.3): New variable.

Change-Id: I5686f2d92365833459959312f8da6a312d558d85
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26c3837721..6ea089ff04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49230,6 +49230,29 @@ (define-public rust-opml-1
(description "This package provides an OPML parser for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-optfield-0.3
+ (package
+ (name "rust-optfield")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "optfield" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "079a5n7lhqsj444fkgk580vra5v2nhym7czwnky9iip9rljz0ngs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/roignpar/optfield")
+ (synopsis "macro that generates structs with optional fields")
+ (description
+ "This package provides a macro that generates structs with optional fields.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-optick-1
(package
(name "rust-optick")
--
2.47.1
A
A
Andrew Wong wrote 5 days ago
[PATCH 12/12] gnu: Add rust-spinners-4.
(address . 75391@debbugs.gnu.org)(name . Andrew Wong)(address . wongandj@icloud.com)
acb52a13cc7d6957a5956947a7a83c221e2e01e9.1736117350.git.wongandj@icloud.com
* gnu/packages/crates-shell.scm (rust-spinners-4): New variable.

Change-Id: I04666a1b0edf7cbceba845950b1e8ea5634a761b
---
gnu/packages/crates-shell.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-shell.scm b/gnu/packages/crates-shell.scm
index ee5344183c..c3db985261 100644
--- a/gnu/packages/crates-shell.scm
+++ b/gnu/packages/crates-shell.scm
@@ -1130,3 +1130,25 @@ (define-public rust-reedline-0.38
"This package provides a readline-like crate for CLI text input.")
(license license:expat)))
+(define-public rust-spinners-4
+ (package
+ (name "rust-spinners")
+ (version "4.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spinners" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10jgzdy6x79ipnfhavn46zbg4hlx98mcfr7p4f4j774b6mzr9vx0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-maplit" ,rust-maplit-1)
+ ("rust-strum" ,rust-strum-0.24))))
+ (home-page "https://github.com/fgribreau/spinners")
+ (synopsis "🛎 60+ Elegant terminal spinners for Rust")
+ (description
+ "This package provides 🛎 60+ Elegant terminal spinners for Rust.")
+ (license license:expat)))
--
2.47.1
E
E
Efraim Flashner wrote 3 days ago
Re: [bug#75391] [PATCH rust-team 00/12] gnu: Add wallust.
(name . Andrew Wong)(address . wongandj@icloud.com)(address . 75391-done@debbugs.gnu.org)
Z3zk-6pXShVO7cjn@3900XT
Thanks for the patches. I had to make a couple of changes, mostly
adding cargo-development-inputs so I could build the packages.

Patches pushed to the rust-team branch!

On Sun, Jan 05, 2025 at 05:49:48PM -0500, Andrew Wong wrote:
Toggle quote (30 lines)
> This patch series adds the "Wallust" theme generator. This is my first patch series of this size, so please LMK if I missed anything!
>
> Andrew Wong (12):
> gnu: Add wallust.
> gnu: Add rust-vergen-9.
> gnu: Add rust-vergen-lib-0.1.
> gnu: Add rust-vergen-git2-1.
> gnu: Add rust-fast-image-resize-5.
> gnu: Add rust-kmeans-colors-0.6.
> gnu: Add rust-documented-0.6.
> gnu: Add rust-documented-macros-0.6.
> gnu: Add rust-new-string-template-1.
> gnu: Add rust-optfield-0.3.
> gnu: rust-owo-colors-4: Update to 4.1.0.
> gnu: Add rust-spinners-4.
>
> gnu/packages/crates-graphics.scm | 57 ++++++++++
> gnu/packages/crates-io.scm | 181 ++++++++++++++++++++++++++++++-
> gnu/packages/crates-shell.scm | 22 ++++
> gnu/packages/rust-apps.scm | 108 ++++++++++++++++++
> 4 files changed, 366 insertions(+), 2 deletions(-)
>
>
> base-commit: 4ee631832635a34bb38b4d0dc650e9b34fc14dd5
> --
> 2.47.1
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmd85PsACgkQQarn3Mo9
g1GTLxAAoEs+Spogmq9L2dcPMBT5mcKFU5AEfWVMcJjEfblqXHbBwfEN+X+UWohx
3bD4kSIbLQWr4OSNvs4RvFV9IA9ZLUbad/kLG0q+1kP9b76U7bUfdEfeIpjKTZP2
m7K2iEKFMT8l/q8g8x95U3sC6sn+c9U3ioYNO3NbEYIDMvOUvdDd+ApoUuAwyLKS
8bHzhiMhQDu0VQMrXAXGqNxbjL/XhNT/yzKFAKut5VPcOhkhNWOrTVS9nCmd91dS
lZ3Waxj8V6aruB1WsrW2rRfcUxKNJcT1DBxau4Kf5RVeSN86tHKQbC3R+KwLORJL
p2v+2r8fIRPgUVuGxGjEsTUt+BEX+qjeCgxJ8vSGh+n4l3UcFzvaTjMGdrkGRdIr
xPuiRHbbYbJUvbxEgJMLV+7eSfy2RCy8f5tb9ttsMhicKDKaJfOp4+kSFsAHFCKD
f4WkrhVURYFnouJ2F6+IZUx0rHgd9MeCUtuiQCfpBliqZKdf8viDgmTdVMRY379Y
9rAa/bkxvlVUKZiaoHTkW25cuqc9F7Dyt77l/6mi1Is/Ms1WIi5dZYBubvQNehF3
9Z9WZkYn5KEBjeqQm/igBIw9g8iiEBEy/lsEdcGC79fcibDj0QmGFs9jIMVE92ni
6jftuLZl2J0csnVgi+vlxKHPSKvNaRKiWPFTiyWRCDLT7qZ0MfA=
=hsOf
-----END PGP SIGNATURE-----


Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75391@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75391
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