From: Andrew Wong via Guix-patches via <guix-patches@gnu.org>
To: 75391@debbugs.gnu.org
Cc: Andrew Wong <wongandj@icloud.com>,
Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75391] [PATCH 06/12] gnu: Add rust-kmeans-colors-0.6.
Date: Sun, 5 Jan 2025 18:01:09 -0500 [thread overview]
Message-ID: <548c7413e293427481066c31a8b2bd75cb693129.1736117349.git.wongandj@icloud.com> (raw)
In-Reply-To: <cover.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(+)
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
next prev parent reply other threads:[~2025-01-05 23:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 22:49 [bug#75391] [PATCH rust-team 00/12] gnu: Add wallust Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 01/12] " Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 02/12] gnu: Add rust-vergen-9 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 03/12] gnu: Add rust-vergen-lib-0.1 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 04/12] gnu: Add rust-vergen-git2-1 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 05/12] gnu: Add rust-fast-image-resize-5 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` Andrew Wong via Guix-patches via [this message]
2025-01-05 23:01 ` [bug#75391] [PATCH 07/12] gnu: Add rust-documented-0.6 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 08/12] gnu: Add rust-documented-macros-0.6 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 09/12] gnu: Add rust-new-string-template-1 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 10/12] gnu: Add rust-optfield-0.3 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 11/12] gnu: rust-owo-colors-4: Update to 4.1.0 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 12/12] gnu: Add rust-spinners-4 Andrew Wong via Guix-patches via
2025-01-07 8:25 ` bug#75391: [PATCH rust-team 00/12] gnu: Add wallust Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=548c7413e293427481066c31a8b2bd75cb693129.1736117349.git.wongandj@icloud.com \
--to=guix-patches@gnu.org \
--cc=75391@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=wongandj@icloud.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).