From patchwork Sat Mar 8 17:10:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 39938 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D475427BBEB; Sat, 8 Mar 2025 17:13:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A453527BBE2 for ; Sat, 8 Mar 2025 17:13:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tqxiZ-0007Az-3T; Sat, 08 Mar 2025 12:12:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tqxiW-00078C-3i for guix-patches@gnu.org; Sat, 08 Mar 2025 12:12:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tqxiV-00005F-Ad for guix-patches@gnu.org; Sat, 08 Mar 2025 12:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=JdhgAPQ2jZagzxJueBUNh3G2wmfEDkzEz/6e9ua0qS8=; b=DnHBT0JtTGibygNhEVQSs6nJ0boEf0r8R5LEPyJ5J1Y94ww1NRs1TRkLALlXRYnFC9seEhn2tQE+FQnT8FXxbwIgKFlM03/XT8Ri8McQcD5fBSZGtDEU4HyiYnNA44XLitV/6u2pEciVTxvDu+Oo9+PPik/UZjy/63H/eXL7eFjGB2dT4PfCDbSlT+1v8d36ooMEW196kCE1J8w9IlRA9ryiHcYk91niH1jMzJJIyr3w8OQzkpX49SuBghT9xuY8gLbAiXGnSAyJn/a4gpGA//kpQnRXWKOWLwrJItOvXBeih2uGylMJDGth4+g2RPmo2AAU4KcBIjHWiO8tuWZf0w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tqxiV-000764-6U; Sat, 08 Mar 2025 12:12:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team v2 06/10] gnu: rust-boxxy-0.14: New variable. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sat, 08 Mar 2025 17:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76872@debbugs.gnu.org Cc: Aaron Covrig , divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net X-Debbugs-Original-Xcc: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net Received: via spool by 76872-submit@debbugs.gnu.org id=B76872.174145387427150 (code B ref 76872); Sat, 08 Mar 2025 17:12:03 +0000 Received: (at 76872) by debbugs.gnu.org; 8 Mar 2025 17:11:14 +0000 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqxhh-00073n-Vi for submit@debbugs.gnu.org; Sat, 08 Mar 2025 12:11:14 -0500 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:60829) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tqxhc-00071w-Ek for 76872@debbugs.gnu.org; Sat, 08 Mar 2025 12:11:09 -0500 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-7c3c4ff7d31so365022785a.1 for <76872@debbugs.gnu.org>; Sat, 08 Mar 2025 09:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1741453862; x=1742058662; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JdhgAPQ2jZagzxJueBUNh3G2wmfEDkzEz/6e9ua0qS8=; b=S0JNGxnDNWXKKcFsYOfCPcLZiqeZX/3Zp+xomoCuRNwqGo4Uf/ntViWlebkRZ4TgEh gBKmomKVgMaToMlXgJJjeqGXJNAYpF7Vyo6uBh0AWlDRBjVl+d0zdt3HuCqghD+RhcvO EEiu7+BM6ac9Pz0cRx0vTjYIoJlpId8H7NS4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741453862; x=1742058662; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JdhgAPQ2jZagzxJueBUNh3G2wmfEDkzEz/6e9ua0qS8=; b=Wb8DDa1mpcrmEdKt25YOLm6jUsW2aa1Kcz/E8sliJo1W04UkBZKntTucr+dxy0fEOy Kr0bVhc07/z8Fq4BPp2A6QPAdTzED1SvtWGgOaSxdVBHiYTRy/eGsyJHz5rv1solYK0U HvY4gsq9fRXFegHJW3ZraZwyrLZ0CbRPmGg2J8yhUURqtS56NcNZAzB+eHeEJsZ8o54R hPCB0dC0MuJAqu22gcs3XLx/bHGlvJK8413ntGU2vCMCe3NopNmTp7D2/J3IeCDSrY9e vrz7LAnEEqiTnigZj+cibJyR6z/DxPIQ+x9Oakjt6IvoFjccfWPvbgk6JMfmoqRs9dhf Sw4w== X-Gm-Message-State: AOJu0YyPzzJzvcIPNkG+H9A1gkAk+HO3DAoZHadzJZDslWZoeSLppT7p eGnlknoRcZ7C0tfCLSkP4kmkBI8yHQYahc6D2yGLyUyh727A2yhopHspwc23jVOmhJ/xOyk4daI C5ohjPREgbLko5frf7YzBA8tBL0euNsDbneLRXTM3rGoXOKG8Ke81GaBgAkW+oZSnIcKD4+5w3k A/SXMa7LzET5EUnjh9vFYyQBR7Yy2JyBZXm+R3nBk= X-Gm-Gg: ASbGncuQdJfzFp5o8IyxyCravAS9THZvLWA6Lc2/QBBBEmSVtQlYH29BjHFRYVIY+GL lFpR0gYVPMf5423QZF6OIgc6bdoGFfOLW2K15t2Y7zOzJyf6MPJiEwtGu3ObrAE4bTpTCIGFESx zR3RtfUfbWFzNiJoPhr1FDrynWx7sLeqcltOyF64GsGXfDYcmcfHDhu8pZtEzSMd1tvBhVKunnc N1kQ8C9c2L9FgA+FXsk3xVJz8aSuhkBe/LVVeyZAfTf5ZVxTdUhjXVp7G7YfxiWLefVJHLUtOwL ISSFFR6nDVWNU2gYw9ZA2BLLRKjXx9Yp1dSJVebNbFOTw7oH+FbwXMXd+1KusyGPcFU0rxjYORB bT2JRNlEWkiEiJAC/I2l0+Fv489e61mCIUrPeBlt7n0uNAbWrMNDZEY6S X-Google-Smtp-Source: AGHT+IH8dczW2BAklRhOS7yIHc5fm4ouCJk2u55CPuXKB3Or00VLa09ozlapD+hru9k0kuBzoBKurQ== X-Received: by 2002:a05:620a:26a7:b0:7c3:d313:2a8e with SMTP id af79cd13be357-7c4e61b952dmr1344383585a.54.1741453862580; Sat, 08 Mar 2025 09:11:02 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c3e534e9b7sm397761685a.42.2025.03.08.09.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 09:11:01 -0800 (PST) Date: Sat, 8 Mar 2025 12:10:24 -0500 Message-ID: <20250308171035.2399793-7-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250308171035.2399793-1-aaron.covrig.us@ieee.org> References: <20250308171035.2399793-1-aaron.covrig.us@ieee.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 eb019434f3..b7f80c3560 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