aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 23:47:49 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:56 +0100
commit7310c403796fa4aa388c4aa69a1be045ff6b7ef4 (patch)
tree4afa7fe7f713f6e017aeede8d0c4e1f512554082
parent508f7aa6f1b6aa0588dbfa42fa63e06ab5519c25 (diff)
downloadguix-7310c403796fa4aa388c4aa69a1be045ff6b7ef4.tar.gz
guix-7310c403796fa4aa388c4aa69a1be045ff6b7ef4.zip
gnu: Add rust-avif-serialize-0.6.
* gnu/packages/crates-graphics.scm (rust-avif-serialize-0.6): New variable.
-rw-r--r--gnu/packages/crates-graphics.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4f59858bb1..14282acdcc 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -269,6 +269,31 @@ the term library to handle the ANSI nonsense and hence it works on Windows,
Mac, and Unix.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-avif-serialize-0.6
+ (package
+ (name "rust-avif-serialize")
+ (version "0.6.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "avif-serialize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "130wq838lslkcqcp2kjci7q3aq9qpir07pvxndc81xqbn63wvdjg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5))))
+ (home-page "https://lib.rs/avif-serialize")
+ (synopsis "Writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)")
+ (description
+ "This package provides a minimal writer for AVIF header structure. This
+is a tiny alternative to @code{libavif}. It creates the jungle of
+MPEG/HEIF/MIAF/ISO-BMFF ``boxes'' as appropriate for AVIF files. It supports
+alpha channel embedding.")
+ (license license:bsd-3)))
+
(define-public rust-cgl-0.3
(package
(name "rust-cgl")