From a418ba4039a9af76c00986759b8740542607ef00 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 12:07:43 +0200 Subject: gnu: Add rust-qoi-0.4. * gnu/packages/crates-graphics.scm (rust-qoi-0.4): New variable. Change-Id: I0ef8c44fcdc2b63bb8225ff40561ea0d2c577ce2 --- gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 85cc2312a4..d3e5d16f56 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2708,6 +2708,32 @@ interactive applications.") ("rust-glob" ,rust-glob-0.2) ("rust-term" ,rust-term-0.4)))))) +(define-public rust-qoi-0.4 + (package + (name "rust-qoi") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "qoi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00c0wkb112annn2wl72ixyd78mf56p4lxkhlmsggx65l3v3n8vbz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `libqoi` + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-png" ,rust-png-0.17) + ("rust-rand" ,rust-rand-0.8) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/aldanor/qoi-rust") + (synopsis "Encoder/decoder for QOI (Quite Okay Image) format") + (description + "VERY fast encoder/decoder for the @acronym{QOI, Quite Okay Image} format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ravif-0.11 (package (name "rust-ravif") -- cgit 1.4.1