Subject: [bug#75677] [PATCH rust-team 87/89] gnu: rust-expectorate-1: New variable.

From: Aaron Covrig <[email-masked]>
Date: Sun, 19 Jan 2025 17:50:01 -0500

* gnu/packages/crates-io.scm (rust-expectorate-1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b8d06f81d9..09486a271a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25002,6 +25002,32 @@ (define-public rust-expectest-0.12
 testing.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-expectorate-1
+  (package
+    (name "rust-expectorate")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "expectorate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0pypl45889q7psak1j74sir147y3178prwvmwxx798nzbfr1jvyy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-console" ,rust-console-0.15)
+        ("rust-newline-converter" ,rust-newline-converter-0.3)
+        ("rust-predicates" ,rust-predicates-3)
+        ("rust-similar" ,rust-similar-2))))
+    (home-page "https://github.com/oxidecomputer/expectorate")
+    (synopsis "Library for comparing output to file contents with updating")
+    (description
+     "This is a little library to validate expected output saved in files.  It
+makes it easy to update that content when it should be updated to match the new
+results.")
+    (license license:asl2.0)))
+
 (define-public rust-expectrl-0.7
   (package
     (name "rust-expectrl")
-- 
2.47.1