From 1c3f36c4d21d2b46b3aee8767ad579a671467ad0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 26 Dec 2024 18:55:41 +0200 Subject: gnu: rust-ogg-0.8: Move to (gnu packages crates-audio). * gnu/packages/crates-io.scm (rust-ogg-0.8): Move from here ... * gnu/packages/crates-audio.scm: ... to here. Change-Id: I7afdeaffd150ed1f1fc5b34552b2993e8c07398f --- gnu/packages/crates-audio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/crates-audio.scm') diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm index 6d8aa921404..c713b7f2a67 100644 --- a/gnu/packages/crates-audio.scm +++ b/gnu/packages/crates-audio.scm @@ -424,6 +424,32 @@ to create LV2 plugins in Rust.") (description "This package provides a Rust LV2 work offloading library.") (license (list license:expat license:asl2.0)))) +(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))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- cgit v1.2.3