[bug#75677,rust-team,v2,80/81] gnu: rust-expectorate-1: New variable.

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

Commit Message

Aaron Covrig March 8, 2025, 3:34 a.m. UTC
  * gnu/packages/crates-io.scm (rust-expectorate-1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c99d0970b..1226cc8b60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25485,6 +25485,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")