summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:20:46 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:25:48 +0300
commit62ff322ea9f01bfba3bff485f1e72a0ebba380a6 (patch)
tree2cb32c7f594683cdbd2704b3b8ee2652173d4cad /gnu
parent7383d15641f17af5a8c656a4ad592138abc7d5ec (diff)
downloadguix-62ff322ea9f01bfba3bff485f1e72a0ebba380a6.tar.gz
gnu: Add rust-ogg-0.8.
* gnu/packages/crates-io.scm (rust-ogg-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I2b180cf4c493cad4f512a442f6e041762f76081c
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fba8641a8..5c4327599e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45970,6 +45970,32 @@ Things in odds may move to more appropriate crates if we find them.")
         ("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 #: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")