diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-03 23:14:23 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:02 -0500 |
commit | d887784c5fe3fda10c122c3ef1b2b792bf78da2e (patch) | |
tree | b23418a886e6a1b2de783e0fe6066109632ef4b8 | |
parent | 6f1ec0e461a3e7983ca634aff52b0d820f83e091 (diff) | |
download | guix-d887784c5fe3fda10c122c3ef1b2b792bf78da2e.tar.gz |
gnu: rust-dav1d-0.6: New variable.
* gnu/packages/crates-graphics.scm (rust-dav1d-sys-0.3): Update to 0.3.4. [arguments]: Require rust-bindgen-0.58 and rust-system-deps-3. Remove rust-bindgen-0.54 and rust-metadeps-1. (rust-dav1d-0.6): New variable.
-rw-r--r-- | gnu/packages/crates-graphics.scm | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 3fb92a29a1..e4cd01fadf 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -570,24 +570,44 @@ types.") and iOS.") (license license:expat))) +(define-public rust-dav1d-0.6 + (package + (name "rust-dav1d") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dav1d" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pn6r1a9qfrpg2xwc7ci2iddvnzxb17ddca0bwymgi839cxc2chl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-dav1d-sys" ,rust-dav1d-sys-0.3)))) + (home-page "https://github.com/rust-av/dav1d-rs") + (synopsis "libdav1d bindings in Rust") + (description "This package provides libdav1d bindings in Rust.") + (license license:expat))) + (define-public rust-dav1d-sys-0.3 (package (name "rust-dav1d-sys") - (version "0.3.2") + (version "0.3.4") (source - (origin - (method url-fetch) - (uri (crate-uri "dav1d-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx")))) + (origin + (method url-fetch) + (uri (crate-uri "dav1d-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "020lla2l703iy69gbksq18snj2b1sp7vmjf39qqykd4242d4msr5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.54) - ("rust-metadeps" ,rust-metadeps-1)))) + (("rust-bindgen" ,rust-bindgen-0.58) + ("rust-metadeps" ,rust-system-deps-3)))) (native-inputs (list pkg-config)) (inputs |