Subject: [PATCH 33/87] gnu: Add rust-struct-patch-derive-0.4.1.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:31 +0100

* gnu/packages/crates-io.scm (rust-struct-patch-derive-0.4): New variable.

Change-Id: If9eaa5de7ab42414d2fbb5626bf99c8bdb96cc07
---
 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 eeb0478070..752c7d0c3c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65898,6 +65898,29 @@ (define-public rust-structopt-derive-0.2
      "Parse command line argument by defining a struct, derive crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-struct-patch-derive-0.4
+  (package
+    (name "rust-struct-patch-derive")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "struct-patch-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nsdjvm1xinqx53s520y4fkqshjdfff3r4rglamrzrgb4yf38jpi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/yanganto/struct-patch/")
+    (synopsis "library for partial updates of structs")
+    (description
+     "This package provides a library that helps you implement partial updates for
+your structs.")
+    (license license:expat)))
+
 (define-public rust-strum-0.25
   (package
     (name "rust-strum")
-- 
2.41.0