Subject: [bug#66717] [PATCH 01/64] gnu: Add rust-ogg.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:20:46 +0100

* gnu/packages/crates-io.scm (rust-ogg): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fba8641a8..5f9cb84eb8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45970,6 +45970,31 @@ (define-public rust-odds-0.2
         ("rust-memchr" ,rust-memchr-2)
         ("rust-quickcheck" ,rust-quickcheck-0.4))))))
 
+(define-public rust-ogg-0.8
+  (package
+    (name "rust-ogg")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ogg" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0vjxmqcv9252aj8byy70iy2krqfjknfcxg11lcyikj11pzlb8lb9"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-byteorder" ,rust-byteorder-1)
+                            ("rust-bytes" ,rust-bytes-0.4)
+                            ("rust-futures" ,rust-futures-0.1)
+                            ("rust-tokio-io" ,rust-tokio-io-0.1))
+           #:cargo-development-inputs `(("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/RustAudio/ogg")
+    (synopsis "Ogg container decoder and encoder written in pure Rust")
+    (description "An Ogg decoder and encoder.  Implements the xiph.org Ogg
+spec in pure Rust.")
+    (license license:expat)))
+
 (define-public rust-oid-registry-0.6
   (package
     (name "rust-oid-registry")

base-commit: cbd20d627497053871db863970c07d93c7081786
-- 
2.41.0