diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:07:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:23 +0200 |
commit | a418ba4039a9af76c00986759b8740542607ef00 (patch) | |
tree | 37fa697333a4d9d954259c644b123369985712a0 /gnu/packages | |
parent | bf5a538eea4de75cb81ed2ebae6df2153ea0446d (diff) |
gnu: Add rust-qoi-0.4.
* gnu/packages/crates-graphics.scm (rust-qoi-0.4): New variable.
Change-Id: I0ef8c44fcdc2b63bb8225ff40561ea0d2c577ce2
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 26 |
1 files changed, 26 insertions, 0 deletions
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") |