guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

29/135: gnu: Add rust-struct-patch-0.4.


From: guix-commits
Subject: 29/135: gnu: Add rust-struct-patch-0.4.
Date: Wed, 27 Mar 2024 04:54:46 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 311406d93a0f824cde0452bfcb13cc07909a0faf
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:32 2024 +0100

    gnu: Add rust-struct-patch-0.4.
    
    * gnu/packages/crates-io.scm (rust-struct-patch-0.4): New variable.
    
    Change-Id: I4847cd881f3ab3c5984cf9bc24a20c9c0114498a
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 b0b2dee407..65d535a60b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71136,6 +71136,29 @@ and Jaro-Winkler.")
         (base32
          "0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37"))))))
 
+(define-public rust-struct-patch-0.4
+  (package
+    (name "rust-struct-patch")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "struct-patch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hlmncwmq6005znjjk12f5asx4r4m7cfzaxv88i1gcw97r9fylkw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-struct-patch-derive" 
,rust-struct-patch-derive-0.4))
+       #:cargo-development-inputs (("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (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-struct-patch-derive-0.4
   (package
     (name "rust-struct-patch-derive")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]