From patchwork Wed Mar 19 23:41:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 40458 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 A26B427BBEA; Wed, 19 Mar 2025 23:45:13 +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=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, 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 19D0B27BBE2 for ; Wed, 19 Mar 2025 23:45:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tv35E-0003XH-OK; Wed, 19 Mar 2025 19:44:24 -0400 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 1tv34u-0003U3-Lg for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:06 -0400 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 1tv34u-0007Hr-B1 for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:04 -0400 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=4CFqZ82il4SUnn7cikZpkcu8q0pjTHrf374FSfFn28E=; b=EhLJASPxGQPAvGJoA22F+2kijQ1M7DjQYg5qnJY5tJ8cUCyNqbd/a/qc/SSQny+39bfts974Rp0PdPTYYnc5pUI67ogmkn/uOzDtrwIbAk0V0OFm6e98cQPFzRYz5qE1M2nEHHjk5mj92mY+bcPPDdIhcQwlfbt74eFEswVUqyZhmTVX2Zs+eZaCKeS9k/RrRcB3xJnSjODn9fq3R01CzSC1iRFzsyn+AeXRGk0fZeICJdkSNYCF3QK/1473B1aGkQJLVrf990oVmMOaC1wrfJoyaGTgxuuEWx3MO57a/ZzsEFzvnc5ZYk9hPe2M4rglZy1YsB/3JGX/UJ2gEDFJSw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tv34u-0006Zd-4r for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team v3 06/10] gnu: rust-boxxy-0.14: New variable. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 23:44: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 Received: via spool by 76872-submit@debbugs.gnu.org id=B76872.174242780025116 (code B ref 76872); Wed, 19 Mar 2025 23:44:04 +0000 Received: (at 76872) by debbugs.gnu.org; 19 Mar 2025 23:43:20 +0000 Received: from localhost ([127.0.0.1]:54030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tv34B-0006Wy-FQ for submit@debbugs.gnu.org; Wed, 19 Mar 2025 19:43:20 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:46489) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tv342-0006Vr-78 for 76872@debbugs.gnu.org; Wed, 19 Mar 2025 19:43:11 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7c5b2472969so11304985a.1 for <76872@debbugs.gnu.org>; Wed, 19 Mar 2025 16:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1742427784; x=1743032584; 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=4CFqZ82il4SUnn7cikZpkcu8q0pjTHrf374FSfFn28E=; b=B0n0F3UXQh0ZN5SKmzh5Yf8jorNqvBeYSOSd0um68PT9q6L0fMb0+VESkL3CzmpUrP ZDEJjpItxRCuzpTi38B8uU3/zD2wbyNcfSkUfQN4f+S30nH/wT1KUmQCJYfree24+q6Y RXJbHZYXfQtUTRJUZJx9TOM6+4se/tg5LeEmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742427784; x=1743032584; 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=4CFqZ82il4SUnn7cikZpkcu8q0pjTHrf374FSfFn28E=; b=j+QeHBUvxXcMneJ9tPt9FpwUxW5fTyZNQZFBboGERukeMYzAWDHxESzkuRi3YjW63V 61McBOLX/z7Ijuuct92JAKfuWBI5YBiMwfrcsXWPxad7v+z0ki1Pj1nEgy/LEH+7kxmY DQiKOdWiid9vmos153xdBdVrz8l58W4/wWHDmHanjmPzb0BJ3jV0uES3LMX8X9xVTWAn jm3qe/G7Y1zBkcYKVms2+bYJFopE3naUtcT7Ltc8KanX037WXZ0+V5KPZQmre37Hp3wS KLBt89ZZU0169XesI/elYW6iMns8y2yc4iY1i1GJhOGQW/sR+4CC5XDnx8125yoKZ4Eo SWpA== X-Gm-Message-State: AOJu0YyRHb61HQRpF9p0wJO6o3udxZbW69PTBKc5MmoDEU+Vaj1b/xzP hQ371I+i5kli5B71dqsQMeGsqNgAEXVWa8NcrAzdwm0a5rpn84VXoifsUlSoIOaGY+9ZnhQHGQ/ 6JL0Z85whqp+6VY5XPO/Ij90/5fhVG2MgXG+kZBzvTwYynf8tBrXJfbEg/0gyZZyUKr6+bDCinL CZFYVCbMtZjO1he65a0bHytGTg6gmXn9l+8AhaN3Y= X-Gm-Gg: ASbGncuRCuRwNX4Y1QFZ8gibExi8re9ToxaASlmG8lxF4UqEhXz2zpCTPvIn3BjWtPZ GSnNkvyR6jUa/rMouTYFoU56a8QkiwMh0bHhwYbw7+f5IBporGffTYfep74wSoK8costTgz3eMV 4tl1FL21rHjh5EOfA8X6p4V7VIuL6bo3D0+hagFl+gfvhy2WX3Li2+R5LtZWCQmD3rnprac4r4p eMUCjEx8671rVMX29qk7gIvg9IYcRLp1wGEdUNLM/LL9K+3VGMe8r2A7QQV0YdvhX6YLu0YbaZg oAveO4ta8hpGCMaiF4/voczOIM/X7m42sPAV1cxX75t90fHznrjjb40= X-Google-Smtp-Source: AGHT+IGWop6Dqbe2REifaGVhrQBnyHWv5ayMOCcvS3X86R3o0frjex3Y0+a7xPP6y20VeON58UuCMg== X-Received: by 2002:a05:620a:25ce:b0:7c5:3e22:6167 with SMTP id af79cd13be357-7c5a8396afdmr660781685a.23.1742427784241; Wed, 19 Mar 2025 16:43:04 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c573d89b16sm916446685a.92.2025.03.19.16.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 16:43:03 -0700 (PDT) Date: Wed, 19 Mar 2025 19:41:33 -0400 Message-ID: <20250319234237.1906210-7-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250319234237.1906210-1-aaron.covrig.us@ieee.org> References: <20250319234237.1906210-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 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