From patchwork Tue Mar 19 03:50:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61976 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 2A35627BBEB; Tue, 19 Mar 2024 04:29:39 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 7FC4327BBE2 for ; Tue, 19 Mar 2024 04:29:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmR6U-0007Uj-1y; Tue, 19 Mar 2024 00:29:34 -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 1rmR6L-0007SX-Ah for guix-patches@gnu.org; Tue, 19 Mar 2024 00:29:25 -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 1rmR6L-0000CZ-2H for guix-patches@gnu.org; Tue, 19 Mar 2024 00:29:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmR6x-0007vO-H2; Tue, 19 Mar 2024 00:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 08/43] gnu: Add rust-nix-0.28. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 04:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082256230342 (code B ref 69890); Tue, 19 Mar 2024 04:30:03 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 04:29:22 +0000 Received: from localhost ([127.0.0.1]:36831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmR6I-0007tD-0y for submit@debbugs.gnu.org; Tue, 19 Mar 2024 00:29:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmR6E-0007sW-V1 for 69890@debbugs.gnu.org; Tue, 19 Mar 2024 00:29:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6590A240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:52:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820375; bh=Fm8evPfrAP7zvRbY7rbKT0MWzNwUfEdU+nlnWPigtZ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=CqmELfIxijlRn1H+VV1tDIgjlnP+hwKsTQ+eEW0V8jAFQxQgI54bAui9f5S+O+CU2 kjhicu2lYxr9t+jWA8lkz7nk35MfL6JjkFfWqszJtxzoiYM76Jh/sXRf/CIhDXc6TE bSdIfyWqLnqg/yWazC4wPv3GAfH1VsdkGN3tgkVHOyMDQ0ZJw/4qXYqcs3TFZchHul blP6fVMdOS8BsD8KP4BLLTBuP4EGZuRbFRgL4+wfSY6OgYY3AaNIiYNCp07yeGBUVt MAoEXfiBfQDbyvf7yPr/Ux70bXfiP6DqN6nW+bOO54ftS12hahO5S79YuWAkIM5SbX C8vfDXnyKU0tA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqp4V5Pz6twD; Tue, 19 Mar 2024 04:52:54 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:39 +0000 Message-ID: In-Reply-To: References: 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: , 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-nix-0.28): New variable. Change-Id: Ibb1c75b3c83e9fccfce1b58e10294111723b5fec --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa090607b8..993f50d862 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40930,23 +40930,24 @@ (define-public rust-nispor-1 (description "Unified interface for Linux network state querying.") (license license:asl2.0))) -(define-public rust-nix-0.27 +(define-public rust-nix-0.28 (package (name "rust-nix") - (version "0.27.1") + (version "0.28.0") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f")))) + (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `nix::sys::aio` + `(#:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.9) ("rust-pin-utils" ,rust-pin-utils-0.1)) @@ -40966,6 +40967,35 @@ (define-public rust-nix-0.27 while still providing platform specific APIs.") (license license:expat))) +(define-public rust-nix-0.27 + (package + (inherit rust-nix-0.28) + (name "rust-nix") + (version "0.27.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f")))) + (arguments + `(#:tests? #f ; unresolved import `nix::sys::aio` + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-pin-utils" ,rust-pin-utils-0.1)) + #:cargo-development-inputs + (("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-sysctl" ,rust-sysctl-0.4) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-nix-0.26 (package (inherit rust-nix-0.27)