From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AEQeB2s2TWXMswAAG6o9tA:P1 (envelope-from ) for ; Thu, 09 Nov 2023 20:43:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AEQeB2s2TWXMswAAG6o9tA (envelope-from ) for ; Thu, 09 Nov 2023 20:43:39 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F1364120D8 for ; Thu, 9 Nov 2023 20:43:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699559019; a=rsa-sha256; cv=none; b=VT/cSsxaU633DYLD8keFCapE2Dx/kHhN1lwxGuocncNibTneLYiaFrsEh8SFXTLodTfrnj E/duST3rsr0PVzgnVSTI0xBblG7svu08QSkAJOGD4Y3KzfkVRq85WBFzZ6O37jR+W2pgl/ mBejVjaHXL/uYELs1z0TyN69IXMeDdXVhW8b2WkwFVAHUdOUYCE/G9em1CgDL1M74GLveg 4e+kJT/SHkHYjY1Zd7ekTtkMfDyuCDxpckyNG1FAz2l3tWJGUEQ5srBHVZfYMZhP5dmqT0 pLUeZH4jyOfxVcU2RUXZLPmegrm3DX+pd/gavl+LPzzoktc3UHWN7U8Udrp62w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699559019; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=N+/fKcPlSzAgSnppYY5ydC0r/4Chr/mcdK/+puOMKik=; b=MEp+vkZxldVJ47ZAEZ4R+FuKDeMImrb+J0q8A7oHgSgvad/zUqpZBbRI/esQU9n6yYmtuj vUtWP98mkQESsaKEBUlsaJoDJnGAzvgdCGQdPdFlta7uJ8Dxd2hgWTHcA0T/9z9Xz+oE7z 4qVizaL8f0zeggIwevgbDfMgfIJut37XilW+twcyW11+pXdMdFID3A6qesAQwBFZSB4Nmt jLEZvhFVBIff//Xl0wNp1O/TVBgnhnWSvY1Nf4NQ5SKiWhccsoZQ1Ni+umRW2HIoLuDmW2 EPQxBN4ETLeoMxw3nSJK8HgSavbeP93pH334QZ2PBZ0SjEmSjcB1ZQJhDLKP7A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1AvF-0008Lr-Cv; Thu, 09 Nov 2023 14:42:37 -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 1r1AvE-0008LK-3C for guix-patches@gnu.org; Thu, 09 Nov 2023 14:42:36 -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 1r1AvD-0007rk-RN for guix-patches@gnu.org; Thu, 09 Nov 2023 14:42:35 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1Avr-0006nP-3Y; Thu, 09 Nov 2023 14:43:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67024] [PATCH 52/54] gnu: Add rust-nix-0.27. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 09 Nov 2023 19:43:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67024 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67024@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 67024-submit@debbugs.gnu.org id=B67024.169955897325736 (code B ref 67024); Thu, 09 Nov 2023 19:43:15 +0000 Received: (at 67024) by debbugs.gnu.org; 9 Nov 2023 19:42:53 +0000 Received: from localhost ([127.0.0.1]:48931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1AvU-0006h0-Jx for submit@debbugs.gnu.org; Thu, 09 Nov 2023 14:42:52 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:38678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Av9-0006cv-RC for 67024@debbugs.gnu.org; Thu, 09 Nov 2023 14:42:32 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1r1AuQ-001c7g-Qi for 67024@debbugs.gnu.org; Thu, 09 Nov 2023 20:41:46 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1r1AuQ-0004Gg-Eb for 67024@debbugs.gnu.org; Thu, 09 Nov 2023 20:41:46 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1r1AuM-003gK5-EF; Thu, 09 Nov 2023 20:41:42 +0100 From: Steve George Date: Thu, 9 Nov 2023 19:38:49 +0000 Message-ID: <1dc980f9ac1c9457186405073e84880e95b2e276.1699556976.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231109184212.173223-1-steve@futurile.net> References: <20231109184212.173223-1-steve@futurile.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F1364120D8 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.71 X-Spam-Score: -4.71 X-TUID: cOQy0VCSQj+v * gnu/packages/crates-io.scm (rust-nix-0.27): New variable. Change-Id: I0c718a9a6116f0b93414da5f922c18e9f6946d10 --- gnu/packages/crates-io.scm | 48 +++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3b1cd966b4f..90c16435811 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48212,8 +48212,45 @@ (define-public rust-nitrokey-test-state-0.1 nitrokey-test crate.") (license license:gpl3+))) +(define-public rust-nix-0.27 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #: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)))) + (home-page "https://github.com/nix-rust/nix") + (synopsis "Rust friendly bindings to *nix APIs") + (description + "Nix seeks to provide friendly bindings to various *nix platform APIs. +The goal is to not provide a 100% unified interface, but to unify what can be +while still providing platform specific APIs.") + (license license:expat))) + (define-public rust-nix-0.26 (package + (inherit rust-nix-0.27) (name "rust-nix") (version "0.26.2") (source @@ -48223,7 +48260,7 @@ (define-public rust-nix-0.26 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06lfvjhsj5zlslsg2jhijrm69npprmsh7r1667qnl7c2jv8s7pdz")))) - (build-system cargo-build-system) + ;(build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs @@ -48232,14 +48269,7 @@ (define-public rust-nix-0.26 ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.7) ("rust-pin-utils" ,rust-pin-utils-0.1) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/nix-rust/nix") - (synopsis "Rust friendly bindings to *nix APIs") - (description - "Nix seeks to provide friendly bindings to various *nix platform APIs. -The goal is to not provide a 100% unified interface, but to unify what can be -while still providing platform specific APIs.") - (license license:expat))) + ("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-nix-0.25 (package -- 2.41.0