[bug#75677,rust-team,v2,39/81] gnu: rust-serde-assert-0.8: New variable.

Message ID 20250308033446.2101481-40-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-serde-assert-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9063b21be..29da6424da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71668,6 +71668,33 @@  (define-public rust-serde-0.8
        (("rust-clippy" ,rust-clippy-0.0.302))
        #:tests? #f))))
 
+(define-public rust-serde-assert-0.8
+  (package
+    (name "rust-serde-assert")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_assert" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m1aqpq070wygfcza5d97s1qiv89n1k2l0sxdmsqb7581fmind7p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-claims" ,rust-claims-0.7)
+                                   ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+                                   ("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/Anders429/serde_assert")
+    (synopsis
+     "Testing library for serde Serialize and Deserialize implementations")
+    (description
+     "This library provides a Serializer and Deserializer to be used in writing
+unit tests to assert the behavior of manual Serialize and Deserialize
+implementations, respectively.  The implementation behavior can be verified using
+a sequence of Tokens representing a generic serialized state.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-serde-aux-4
   (package
     (name "rust-serde-aux")