mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
399b091800
commit
9b4fe91fdf
1 changed files with 31 additions and 9 deletions
|
@ -247,8 +247,38 @@ the term library to handle the ANSI nonsense and hence it works on Windows,
|
||||||
Mac, and Unix.")
|
Mac, and Unix.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(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
|
(define-public rust-avif-parse-0.13
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-avif-parse-1)
|
||||||
(name "rust-avif-parse")
|
(name "rust-avif-parse")
|
||||||
(version "0.13.2")
|
(version "0.13.2")
|
||||||
(source
|
(source
|
||||||
|
@ -260,7 +290,6 @@ Mac, and Unix.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj"))))
|
"1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-bitreader" ,rust-bitreader-0.3)
|
(("rust-bitreader" ,rust-bitreader-0.3)
|
||||||
|
@ -270,14 +299,7 @@ Mac, and Unix.")
|
||||||
("rust-static-assertions" ,rust-static-assertions-1))
|
("rust-static-assertions" ,rust-static-assertions-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-env-logger" ,rust-env-logger-0.8)
|
(("rust-env-logger" ,rust-env-logger-0.8)
|
||||||
("rust-walkdir" ,rust-walkdir-2))))
|
("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-serialize-0.6
|
(define-public rust-avif-serialize-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue