diff mbox series

[bug#74116,13/16] gnu: Add rust-lv2-midi-1.

Message ID 773cdaa89ce1d5a4bad77f12da97b89a2d35b55c.1730314268.git.roman@burningswell.com
State New
Headers show
Series Add rust-bankstown-lv2 | expand

Commit Message

Roman Scherer Oct. 30, 2024, 6:56 p.m. UTC
* gnu/packages/crates-io.scm (rust-lv2-midi-1): New variable.

Change-Id: Id1940ab505b9323ff197d3b83b7a1db741921906
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 571ce9f558..f21f6f39de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40800,6 +40800,29 @@  (define-public rust-lv2-core-derive-2
     (description "This package provides Procedural macros for lv2-core.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lv2-midi-1
+  (package
+    (name "rust-lv2-midi")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lv2-midi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0x0glbrfri1glgcrmvc6i1jfv6azhpqvp4ibk5cihsq3s2yfc8xd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lv2-atom" ,rust-lv2-atom-2)
+                       ("rust-lv2-sys" ,rust-lv2-sys-2)
+                       ("rust-urid" ,rust-urid-0.1)
+                       ("rust-wmidi" ,rust-wmidi-3))))
+    (home-page "https://github.com/RustAudio/rust-lv2")
+    (synopsis "Rust LV2 MIDI processing library")
+    (description "This package provides a Rust LV2 MIDI processing library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lv2-state-2
   (package
     (name "rust-lv2-state")