[bug#75127,12/67] gnu: Add rust-debug-ignore-1.

Message ID 685110542f327c2413d97ded54ebb4fcae004ed3.1735253328.git.lockbox@struct.foo
State New
Headers
Series rust-team: Add cargo-nextest |

Commit Message

Jordan Moore Dec. 26, 2024, 11:10 p.m. UTC
  * gnu/packages/crates-io.scm (rust-debug-ignore-1): New variable.

Change-Id: Ia30df0f8425b0c3776710e1f81a6231e21f353bb
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c5b317c5a..c41eeaefd8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21811,6 +21811,29 @@  (define-public rust-deadpool-sync-0.1
 for sync managers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-debug-ignore-1
+  (package
+    (name "rust-debug-ignore")
+    (version "1.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "debug-ignore" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08gwdny6124ggy4hyli92hdyiqc5j2z9lqhbw81k0mgljcfyvrzz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/sunshowers-code/debug-ignore")
+    (synopsis
+     "newtype wrapper that causes a field to be skipped while printing out Debug output.")
+    (description
+     "This package provides a newtype wrapper that causes a field to be skipped while
+printing out Debug output.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-debug-helper-0.3
   (package
     (name "rust-debug-helper")