Subject: [PATCH 04/16] gnu: Add rust-lv2-core-derive-2.

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

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

Change-Id: Id0802cc667527147b40de8c36a451ed6b769912e
---
 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 266ff6983c..2d21c9fa4c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40734,6 +40734,28 @@ (define-public rust-lsp-types-0.80
         ("rust-serde-repr" ,rust-serde-repr-0.1)
         ("rust-url" ,rust-url-2))))))
 
+(define-public rust-lv2-core-derive-2
+  (package
+    (name "rust-lv2-core-derive")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lv2-core-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12w3l41jzargrcywz13hbmaazfw4ix2sljl3601h6jfbdrw8zybv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/RustAudio/rust-lv2")
+    (synopsis "Procedural macros for lv2-core")
+    (description "This package provides Procedural macros for lv2-core.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lz4-1
   (package
     (name "rust-lz4")
-- 
2.46.0