From 604fbc07eccd5b1602024572add872b6949f0ad6 Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:34 +0100 Subject: [PATCH] gnu: Add rust-minimp3-sys-0.3. * gnu/packages/crates-io.scm (rust-minimp3-sys-0.3): New variable. Signed-off-by: Efraim Flashner Change-Id: I86e1020634522ea020d266f41d69bceab9523749 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9070108201..61ef6e8431 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82,6 +82,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages mail) + #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) @@ -41411,6 +41412,28 @@ (define-public rust-minimal-lexical-0.2 float parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-minimp3-sys-0.3 + (package + (name "rust-minimp3-sys") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (crate-uri "minimp3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "144vmf3s89kad0smjprzigcp2c9r5dm95n4ydilrbp399irp6772")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (native-inputs (list pkg-config)) + (inputs (list minimp3)) + (home-page "https://github.com/germangb/minimp3-rs") + (synopsis "Rust bindings for the minimp3 library") + (description "Rust bindings for the minimp3 library.") + (license license:expat))) + (define-public rust-miniz-oxide-0.7 (package (name "rust-miniz-oxide")