gnu: Add rust-qoi-0.4.

* gnu/packages/crates-graphics.scm (rust-qoi-0.4): New variable.

Change-Id: I0ef8c44fcdc2b63bb8225ff40561ea0d2c577ce2
This commit is contained in:
Efraim Flashner 2024-01-04 12:07:43 +02:00
parent bf5a538eea
commit a418ba4039
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2708,6 +2708,32 @@ (define-public rust-png-0.12
("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")