[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
190/459: gnu: Add rust-avif-parse-1.
From: |
guix-commits |
Subject: |
190/459: gnu: Add rust-avif-parse-1. |
Date: |
Mon, 24 Apr 2023 15:02:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 28c1102ce4ad4e332a705da5f54a0961a7e705cf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 15:54:28 2023 +0200
gnu: Add rust-avif-parse-1.
* gnu/packages/crates-graphics.scm (rust-avif-parse-1): New variable.
(rust-avif-parse-0.13): Inherit from rust-avif-parse-1.
---
gnu/packages/crates-graphics.scm | 40 +++++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 688a61621b..759dfb84a6 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -247,8 +247,38 @@ 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-parse-1
+ (package
+ (name "rust-avif-parse")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "avif-parse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"1vhd4n06g5mbf4sznz67mk352pw9hh97f4ysafp737xvzfd3zyw7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitreader" ,rust-bitreader-0.3)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-fallible-collections" ,rust-fallible-collections-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/kornelski/avif-parse")
+ (synopsis "Parser for AVIF image files")
+ (description "This AVIF parser allows extracting the AV1 payload and alpha
+channel metadata out of AVIF image files. The parser is a fork of Mozilla's
+MP4 parser used in Firefox, so it's designed to be robust and safely handle
+untrusted data.")
+ (license license:mpl2.0)))
+
(define-public rust-avif-parse-0.13
(package
+ (inherit rust-avif-parse-1)
(name "rust-avif-parse")
(version "0.13.2")
(source
@@ -260,7 +290,6 @@ Mac, and Unix.")
(sha256
(base32
"1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitreader" ,rust-bitreader-0.3)
@@ -270,14 +299,7 @@ Mac, and Unix.")
("rust-static-assertions" ,rust-static-assertions-1))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.8)
- ("rust-walkdir" ,rust-walkdir-2))))
- (home-page "https://github.com/kornelski/avif-parse")
- (synopsis "Parser for AVIF image files")
- (description "This AVIF parser allows extracting the AV1 payload and alpha
-channel metadata out of AVIF image files. The parser is a fork of Mozilla's
-MP4 parser used in Firefox, so it's designed to be robust and safely handle
-untrusted data.")
- (license license:mpl2.0)))
+ ("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-avif-serialize-0.6
(package
- 130/459: gnu: rust-windows-i686-msvc-0.42: Update to 0.42.1., (continued)
- 130/459: gnu: rust-windows-i686-msvc-0.42: Update to 0.42.1., guix-commits, 2023/04/24
- 134/459: gnu: rust-zeroize-derive-1: Update to 1.3.3., guix-commits, 2023/04/24
- 136/459: gnu: Add rust-bindgen-0.63., guix-commits, 2023/04/24
- 139/459: gnu: rust-getrandom-0.2: Update to 0.2.8., guix-commits, 2023/04/24
- 138/459: gnu: rust-bzip2-sys-0.1: Update to 0.1.11., guix-commits, 2023/04/24
- 142/459: gnu: Add rust-zstd-sys-2., guix-commits, 2023/04/24
- 143/459: gnu: tealdeer: Update to 1.6.1., guix-commits, 2023/04/24
- 145/459: gnu: Add rust-zstd-0.11., guix-commits, 2023/04/24
- 146/459: gnu: rust-async-compression-0.3: Update to 0.3.15., guix-commits, 2023/04/24
- 200/459: gnu: rust-av-metrics: Update to 0.9.0., guix-commits, 2023/04/24
- 190/459: gnu: Add rust-avif-parse-1.,
guix-commits <=
- 199/459: gnu: Add rust-tiff-0.8., guix-commits, 2023/04/24
- 209/459: gnu: Add rust-libdeflate-sys-0.11., guix-commits, 2023/04/24
- 210/459: gnu: rust-libz-sys-1: Update to 1.1.8., guix-commits, 2023/04/24
- 215/459: gnu: rust-pretty-assertions-1: Update to 1.3.0., guix-commits, 2023/04/24
- 226/459: gnu: rust-web-sys-0.3: Update to 0.3.61., guix-commits, 2023/04/24
- 225/459: gnu: rust-wasm-bindgen-test-macro-0.3: Update to 0.3.34., guix-commits, 2023/04/24
- 230/459: gnu: Add rust-serde-big-array-0.4., guix-commits, 2023/04/24
- 231/459: gnu: Add rust-maybe-rayon-0.1., guix-commits, 2023/04/24
- 234/459: gnu: Remove rust-crunchy-0.1., guix-commits, 2023/04/24
- 238/459: gnu: Add rust-built-0.5., guix-commits, 2023/04/24