From 7c8f5f4aea82f24314457cc52c1079ccfcba9fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=96R=C3=96SK=C5=90I=20Andr=C3=A1s?= Date: Sat, 24 Feb 2024 21:39:31 +0100 Subject: [PATCH] gnu: Add rust-struct-patch-derive-0.4. * gnu/packages/crates-io.scm (rust-struct-patch-derive-0.4): New variable. Change-Id: If9eaa5de7ab42414d2fbb5626bf99c8bdb96cc07 Signed-off-by: Efraim Flashner --- 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 96e51e260a..98232ef6fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71333,6 +71333,29 @@ (define-public rust-strsim-0.5 (base32 "0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37")))))) +(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-structmeta-0.2 (package (name "rust-structmeta")