summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:20:53 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:25:49 +0300
commit6b017ed5dde6dc5ed04f52128afbcf89056c959d (patch)
tree496230a2c056c4f703b0aa2f6c757a025cabcf99
parent674bc36794cefb101c8f24679891d8e7bd53c371 (diff)
downloadguix-6b017ed5dde6dc5ed04f52128afbcf89056c959d.tar.gz
gnu: Add rust-lewton-0.10.
* gnu/packages/crates-io.scm (rust-lewton-0.10): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I1a6d6b781f4842a6d4b6ae6340be62d4c1613bee
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bab0a3121..ba67fd62d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36125,6 +36125,34 @@ requires non-const function calls to be computed.")
 sending emails from Rust applications.")
     (license license:expat)))
 
+(define-public rust-lewton-0.10
+  (package
+    (name "rust-lewton")
+    (version "0.10.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "lewton" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0c60fn004awg5c3cvx82d6na2pirf0qdz9w3b93mbcdakbglhyvp"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs
+           `(("rust-byteorder" ,rust-byteorder-1)
+             ("rust-futures" ,rust-futures-0.1)
+             ("rust-ogg" ,rust-ogg-0.8)
+             ("rust-tinyvec" ,rust-tinyvec-1)
+             ("rust-tokio-io" ,rust-tokio-io-0.1))
+           #:cargo-development-inputs
+           `(("rust-alto" ,rust-alto-3)
+             ("rust-ogg" ,rust-ogg-0.8))))
+    (home-page "https://github.com/RustAudio/lewton")
+    (synopsis "Pure Rust Vorbis decoder")
+    (description "A pure Rust Vorbis decoder.  Vorbis is a free and open
+source audio format.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lexical-core-0.8
   (package
     (name "rust-lexical-core")