summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-23 17:15:13 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:19 +0300
commit6ca6e26960ba9369a70c99f266b7f999c6256ce2 (patch)
tree3ff28277da9f7bb29a46666c1c178a76dc1f270d /gnu
parent1667c3e44cbf9278fa75ab651a3c919615f10175 (diff)
downloadguix-6ca6e26960ba9369a70c99f266b7f999c6256ce2.tar.gz
gnu: Add rust-av1-grain-0.2.
* gnu/packages/crates-io.scm (rust-av1-grain-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 695101bee9..3d40b2f25d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5430,6 +5430,36 @@ in Rust.")
 audio/video metrics.")
     (license license:expat)))
 
+(define-public rust-av1-grain-0.2
+  (package
+    (name "rust-av1-grain")
+    (version "0.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "av1-grain" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "07kzx7qma0msfla0z66mys2s7f5fp18zb78izkxw40lcq7qacv3g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-arrayvec" ,rust-arrayvec-0.7)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nom" ,rust-nom-7)
+        ("rust-num-rational" ,rust-num-rational-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-v-frame" ,rust-v-frame-0.3))
+       #:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-quickcheck-macros" ,rust-quickcheck-macros-1))))
+    (home-page "https://github.com/rust-av/av1-grain")
+    (synopsis "Helpers for generating and parsing AV1 film grain data")
+    (description "This package procides helpers for generating and parsing AV1
+film grain data.")
+    (license license:bsd-2)))
+
 (define-public rust-average-0.9
   (package
     (inherit rust-average-0.10)