GNU bug report logs -
#75391
[PATCH rust-team 00/12] gnu: Add wallust.
Previous Next
Reported by: Andrew Wong <wongandj <at> icloud.com>
Date: Sun, 5 Jan 2025 22:58:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* 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
This bug report was last modified 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.