summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-28 21:22:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-28 21:28:10 +0100
commitac04b300fc1d679c28300c31361470d4f8e82402 (patch)
tree8efb2ddbaefe1dee192a6498a17f5d876638520b
parentfbd3398b9f26edbdb5c6a8b5d97d51c1e1baf0ed (diff)
downloadguix-ac04b300fc1d679c28300c31361470d4f8e82402.tar.gz
gnu: Add rust-dav1d-0.6.
* gnu/packages/crates-graphics.scm (rust-dav1d-0.6): New variable.
-rw-r--r--gnu/packages/crates-graphics.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 7ce3cfc049..8e4000c1f6 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -570,6 +570,27 @@ 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")