diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-14 10:26:45 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:21 +0200 |
commit | a01baf555f4778981852796febf6f9156f973514 (patch) | |
tree | e405c47939fc7fce8e77cf0f0b72de224911a2fa /gnu/packages/crates-graphics.scm | |
parent | 96f26d6a67e5036cacaeabadfcfd0f6b5b94f010 (diff) | |
download | guix-a01baf555f4778981852796febf6f9156f973514.tar.gz guix-a01baf555f4778981852796febf6f9156f973514.zip |
gnu: Add rust-dav1d-sys-0.8.
* gnu/packages/crates-graphics.scm (rust-dav1d-sys-0.8): New variable.
(rust-dav1d-sys-0.7): Inherit from rust-dav1d-sys-0.8.
Change-Id: Icf453b47465f8dd2e0a623dc99aff634e13f6ac6
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index f815760024..9ecdf5f71b 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -997,8 +997,33 @@ and iOS.") `(#:cargo-inputs (("rust-dav1d-sys" ,rust-dav1d-sys-0.3)))))) +(define-public rust-dav1d-sys-0.8 + (package + (name "rust-dav1d-sys") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "dav1d-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "158fqp97ny3206sydnimc2jy1c1gcxa4llqvvkp3ii2dixg1rjvf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)))) + (native-inputs + (list pkg-config)) + (inputs + (list dav1d)) + (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 rust-dav1d-sys-0.7 (package + (inherit rust-dav1d-sys-0.8) (name "rust-dav1d-sys") (version "0.7.3") (source (origin @@ -1007,20 +1032,11 @@ and iOS.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13z5qvf35lkda67l6l1bkdp1gmqg75cqfblldxh4n8rbmn4zsj9s")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Expects 1.0.0 <= dav1d < 1.3.0 #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config)) - (inputs - (list dav1d)) - (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))) + ("rust-system-deps" ,rust-system-deps-6)))))) (define-public rust-dav1d-sys-0.3 (package |