Subject: [bug#74116] [PATCH 12/16] gnu: Add rust-lv2-state-2.

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

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

Change-Id: I1a18aaac8278d8c0f651fdc7e959aa1043938b97
---
 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 d195292d61..571ce9f558 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-state-2
+  (package
+    (name "rust-lv2-state")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lv2-state" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0nm0fc7cb4rkmfsvvr4xbac4qf0j7wl2gws3qrcflx057i2lpsb5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lv2-atom" ,rust-lv2-atom-2)
+                       ("rust-lv2-core" ,rust-lv2-core-3)
+                       ("rust-lv2-sys" ,rust-lv2-sys-2)
+                       ("rust-urid" ,rust-urid-0.1))))
+    (home-page "https://github.com/RustAudio/rust-lv2")
+    (synopsis "Rust LV2 state handling library")
+    (description "This package provides a Rust LV2 state handling library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lv2-sys-2
   (package
     (name "rust-lv2-sys")
-- 
2.46.0