Subject: [bug#74116] [PATCH 06/16] gnu: Add rust-lv2-units-0.1.

From: Roman Scherer <[email-masked]>
Date: Wed, 30 Oct 2024 19:55:56 +0100

* gnu/packages/crates-io.scm (rust-lv2-units-0.1): New variable.

Change-Id: I90dac2f754fe870c8eefb5cad3bec6873861316d
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 41bd92e39b..0716fef162 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40775,6 +40775,28 @@ (define-public rust-lv2-sys-2
     (description "This package provides Rust LV2 C header bindings.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lv2-units-0.1
+  (package
+    (name "rust-lv2-units")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lv2-units" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fdamp3hxdr36hqi1j6y01rz1x17if1ibzr7rr4nrabidw74gf82"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lv2-sys" ,rust-lv2-sys-2)
+                       ("rust-urid" ,rust-urid-0.1))))
+    (home-page "https://github.com/RustAudio/rust-lv2")
+    (synopsis "Rust LV2 wrapper of LV2 unit types")
+    (description "This package provides a Rust LV2 wrapper of LV2 unit
+types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lz4-1
   (package
     (name "rust-lz4")
-- 
2.46.0