From patchwork Sat Mar 8 16:50:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 39927 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 C906627BBE2; Sat, 8 Mar 2025 16:52:40 +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 C540027BBEA for ; Sat, 8 Mar 2025 16:52:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tqxPP-0001xI-4d; Sat, 08 Mar 2025 11:52:19 -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 1tqxPA-0001sr-NM for guix-patches@gnu.org; Sat, 08 Mar 2025 11:52:05 -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 1tqxPA-0000fP-ES for guix-patches@gnu.org; Sat, 08 Mar 2025 11:52:04 -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=bSzW/7zinjgtmjYFXqcT1hEHh7F3YoEmp36MFekVIP4QG/+OTMZlsUzwT2mkZa7TrgjmDcM2dPwV/pQIwD2ECrBPeTUI12IouAacWP7GxYoq7JqoUHN88n+vUtngurczTxxEGyRBpqMmikFkqSN85qWf/LhIpzHoutjoOvMUX0GwlWPrVj2CBK/bN1jtHq8YD3wMORxxFJtyf6djdlwtEMjwEQvUB2dsPZ2ri/cr171XvAvFfOChcRzG87wG5pek7dPW4m90h1GDnEBRnDopUDo9PoEETnytggKP43a8kA2DOjcSI5UtJJMbGNvaXyI4sKBguk1B4c2v28qLnuuVHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tqxPA-0002yg-8z; Sat, 08 Mar 2025 11:52:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team 6/9] 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 16:52:04 +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.174145272011387 (code B ref 76872); Sat, 08 Mar 2025 16:52:04 +0000 Received: (at 76872) by debbugs.gnu.org; 8 Mar 2025 16:52:00 +0000 Received: from localhost ([127.0.0.1]:56407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqxP5-0002xZ-Ux for submit@debbugs.gnu.org; Sat, 08 Mar 2025 11:52:00 -0500 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]:44306) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tqxP3-0002x8-Qr for 76872@debbugs.gnu.org; Sat, 08 Mar 2025 11:51:58 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6e17d3e92d9so20012706d6.1 for <76872@debbugs.gnu.org>; Sat, 08 Mar 2025 08:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1741452712; x=1742057512; 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=YX9NXNio+tGOG44WMgt7bop7f2SltqB4smszo+MF1QusFAQInShhCEj0DYMFRHxkkg 0Y9O0kdHUA4xaYK9VSFTN7ltUCbopeRZnnDNTXB+5wvdWcXmsjn7A6gQ0jz6falnUSTu Q3Vx1ZNocupmG6q9l+shDFiW+WQqyrqVA7BY4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741452712; x=1742057512; 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=i7Mv+6k+8DcOdMG72CBA2v3r2olGa5aNCth9vY7KZbQOAxpzC3Q/BRee7/T0QjYdbs desjSaMf2H+Vy/AJLCb8MAXOraN66OgEF70ue9n2j4I6iO3FBw1Nxd0sUEyVhdd2jKuV v/98PrdTX8G233D04iIxY4UjhP1IpsrXGv3P/zpmxRdV+r3WfkbpCM2AsT7inmlck/9F zOu6YrFbIe0ONTDvocO45LixCURLAKUWmfCQqAjx5TeiIaD3EXD6vtaMyWZa2RtGfgpf 1aNRoeyNtkHNICgqh+JRai+YwdsM1vVoC8CBmui0Wplpy+zjGKBUEpQMPjjMToE/3UWp WXbw== X-Gm-Message-State: AOJu0Yx4IEzVWW3kFBiZMgbW9wC+n3NZ1bvhwaj+2eBF9r1VgIANgXe7 sTnV5ot0XlMCuY71jFEoetEl51cPrj8BnnZl0OPCfCXw4zLksUMLLNY2bw/S3+FhlSRfAqOgGXt 2cyp7QYjlKi6dkdEBDX/KBUbQvSrzvA5fCaWmgJnHtkK2qtuHkzDAaePkIblBFceXPpDQMgGOW4 So1q2zt5etFR8KIu0XbH9bl/IlJMfNsTgk0N+7b6E= X-Gm-Gg: ASbGncvLR27Y+82SqzCzjz3KFrMEBGONOJ2PIOqNB6HHnMc8SCNdQbBXPPIH93hkE7J +gUyIqCFaJly1JcKDzRWjk5aeN6mbNAp659W4G+gaZIc/v6BU8tcaEnt3l9+n91CxwEsjYuG+9s JkGlfOTGvJ5EyLmOrKl8hLonc1Dieb/qHiK3Eq2TxckZUQMTLDVQz7q2EaSOlCQOVYbxkfbqyM7 aROHX0GoBX+/Ko+vItz/vRl6Yi5rSacjw2F+Yk5XXLoYsZ51qeXA1pDKtpsgHFW5usBSuQrs2Rr 69yYBX+KxqPDg7LQfgezbrVyVVuwXm8nBxrgJZp7vJxsKPLkuJRL7uU66uA3U+sdbK4lHqXKWQC er0gARBZRHyhkwLOFaW1NnFC6p8BmHIV62WXmwk/TgXeydg== X-Google-Smtp-Source: AGHT+IH4uH8uP/Vn+96ZDpc4uF6UxO+G04HKrrppX98ttq0/K/5vjYJojeqwLlyYb/5ub+Ae5wftzQ== X-Received: by 2002:a05:6214:1c48:b0:6e8:c713:31fa with SMTP id 6a1803df08f44-6e9005d45f0mr102242776d6.9.1741452711975; Sat, 08 Mar 2025 08:51:51 -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 6a1803df08f44-6e8f7090904sm32854306d6.28.2025.03.08.08.51.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 08:51:51 -0800 (PST) Date: Sat, 8 Mar 2025 11:50:51 -0500 Message-ID: <20250308165105.2398551-6-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250308165105.2398551-1-aaron.covrig.us@ieee.org> References: <20250308165105.2398551-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