diff mbox series

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

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

Commit Message

Roman Scherer Oct. 30, 2024, 6:55 p.m. UTC
* 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 mbox series

Patch

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")