Subject: [PATCH rust-team v3 06/10] gnu: rust-boxxy-0.14: New variable.

From: Aaron Covrig <[email-masked]>
Date: Wed, 19 Mar 2025 19:41:33 -0400

* gnu/packages/crates-io.scm (rust-boxxy-0.14): New variable
* gnu/packages/crates-io.scm (rust-boxxy-0.13): Fix build/skip failing
  test
---
 gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++------
 1 file changed, 53 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83bfa38a45..76333a28bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8929,8 +8929,56 @@ (define-public rust-boxfnonce-0.1
     (description "This package provides a safe FnOnce boxing for Rust.")
     (license license:expat)))
 
+(define-public rust-boxxy-0.14
+  (package
+    (name "rust-boxxy")
+    (version "0.14.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "boxxy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18c57hzln2v1iwjq8a593814vil45jk48fhrf2grna6fc690cdkq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-base64" ,rust-base64-0.13)
+                       ("rust-bufstream" ,rust-bufstream-0.1)
+                       ("rust-caps" ,rust-caps-0.5)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-clap" ,rust-clap-3)
+                       ("rust-close-fds" ,rust-close-fds-0.3)
+                       ("rust-errno" ,rust-errno-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libflate" ,rust-libflate-2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nix" ,rust-nix-0.29)
+                       ("rust-pledge" ,rust-pledge-0.4)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-reqwest" ,rust-reqwest-0.12)
+                       ("rust-rustls" ,rust-rustls-0.20)
+                       ("rust-rustyline" ,rust-rustyline-15)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-tar" ,rust-tar-0.4)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-ctrlc" ,rust-ctrlc-3)
+                                   ("rust-elf" ,rust-elf-0.7)
+                                   ("rust-env-logger" ,rust-env-logger-0.11)
+                                   ("rust-pem" ,rust-pem-3)
+                                   ("rust-rustls" ,rust-rustls-0.20)
+                                   ("rust-sha2" ,rust-sha2-0.10))))
+    (home-page "https://github.com/kpcyrd/boxxy-rs")
+    (synopsis "Linkable sandbox explorer")
+    (description
+     "This library provides an interactive shell that can be linked into a
+program to verify sandboxing measures are adequate.")
+    (license license:lgpl3)))
+
 (define-public rust-boxxy-0.13
   (package
+    (inherit rust-boxxy-0.14)
     (name "rust-boxxy")
     (version "0.13.1")
     (source
@@ -8940,9 +8988,11 @@ (define-public rust-boxxy-0.13
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0rhzv4c6xn6va4dikbq2a2cmd5sa3svl13lhpcrchdn23y744aq0"))))
-    (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+     `(#:cargo-test-flags '("--"
+                            ;; Broken Doc Test
+                            "--skip=src/ffi/unix.rs - ffi::unix::getgroups (line 41)")
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
                        ("rust-base64" ,rust-base64-0.13)
                        ("rust-bufstream" ,rust-bufstream-0.1)
                        ("rust-caps" ,rust-caps-0.5)
@@ -8968,13 +9018,7 @@ (define-public rust-boxxy-0.13
                                    ("rust-env-logger" ,rust-env-logger-0.9)
                                    ("rust-pem" ,rust-pem-1)
                                    ("rust-rustls" ,rust-rustls-0.20)
-                                   ("rust-sha2" ,rust-sha2-0.10))))
-    (home-page "https://github.com/kpcyrd/boxxy-rs")
-    (synopsis "Linkable sandbox explorer")
-    (description
-     "This library provides an interactive shell that can be linked into a
-program to verify sandboxing measures are adequate.")
-    (license license:lgpl3)))
+                                   ("rust-sha2" ,rust-sha2-0.10))))))
 
 (define-public rust-bracoxide-0.1
   (package
-- 
2.48.1