gnu: Add rust-dav1d-sys-0.3.2.

* gnu/packages/video.scm (rust-dav1d-sys-0.3.2): New variable.
This commit is contained in:
Nicolas Goaziou 2021-12-28 21:20:04 +01:00
parent 0d9d151424
commit b1548937e9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -5178,6 +5178,34 @@ (define-public w-scan
(home-page "https://www.gen2vdr.de/wirbel/w_scan/index2.html") (home-page "https://www.gen2vdr.de/wirbel/w_scan/index2.html")
(license license:gpl2+))) (license license:gpl2+)))
;;; XXX: This crate is used only for rav1e and can be removed once the latter
;;; is updated. See <https://issues.guix.gnu.org/52837>.
(define rust-dav1d-sys-0.3.2
(package
(name "rust-dav1d-sys")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "dav1d-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.54)
("rust-metadeps" ,rust-metadeps-1))))
(native-inputs
(list pkg-config))
(inputs
(list dav1d clang llvm))
(home-page "https://github.com/rust-av/dav1d-rs")
(synopsis "FFI bindings to dav1d")
(description "This package provides FFI bindings to dav1d.")
(license license:expat)))
(define-public rav1e (define-public rav1e
(package (package
(name "rav1e") (name "rav1e")
@ -5206,7 +5234,7 @@ (define-public rav1e
("rust-clap" ,rust-clap-2) ("rust-clap" ,rust-clap-2)
("rust-console" ,rust-console-0.14) ("rust-console" ,rust-console-0.14)
("rust-crossbeam" ,rust-crossbeam-0.8) ("rust-crossbeam" ,rust-crossbeam-0.8)
("rust-dav1d-sys" ,rust-dav1d-sys-0.3) ("rust-dav1d-sys" ,rust-dav1d-sys-0.3.2)
("rust-fern" ,rust-fern-0.6) ("rust-fern" ,rust-fern-0.6)
("rust-image" ,rust-image-0.23) ("rust-image" ,rust-image-0.23)
("rust-interpolate-name" ,rust-interpolate-name-0.2) ("rust-interpolate-name" ,rust-interpolate-name-0.2)