From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UDHoDkNSA2RCGQAAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 15:14:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id zj3sDkNSA2TrXQEA9RJhRA (envelope-from ) for ; Sat, 04 Mar 2023 15:14:27 +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 0BC71C48D for ; Sat, 4 Mar 2023 15:14:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=Xa7JgIxE; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677939267; 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:dkim-signature; bh=50qprr8KCGBgIHtcsSV1j0XUjeYQ1/8iWer8VYW+cX4=; b=OgUXu1ZUpRLa02ERjZKwGPYonLv+L0Sij95n5yjVmU5t7p8VbNG49Mdi5+jOr5D3zqMf3w 3r5seZY/foSC7AO9SEi4C5tOx9j9CaUYI4tLvPZ4Ok4Xm9lNLVnoZWg6GBF7b6S1b19LFW sWROlo7GUZDGGZB6Ar4UaJNZDJ3IJCwa86CVX+jkJeXWH2rYX3Dxf5/B3qg7Vt3TkVeeL/ Hp6IloA05yZQqY8e8pdo0SvL+2+fhY7ou5xoZ3A9uCG7d9EJ7A6knUW/wU9zDvD8BzJql5 2EfDjVFC6r5BH4y2d6afBzqBm1WFOE7pCM2cfqa2Ml4+rBs0ip5l684t/HKHww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=Xa7JgIxE; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677939267; a=rsa-sha256; cv=none; b=Dkh7l7H4IRJsGgXoePQO3WGnqnhNZwHQPL0IJ2kwlBuaXOBYM+nOrzSWNUKrwDb4cqjOb2 oxdUU9kYKP909Qnu5sLo+1sClfw9Y5RvMGfL7guy3BkkmojmHiBbb18ZAo2UDHf01ibOIm yNyOYdkdoyZCkd4EQsInwDWxIkJVq02sN2MZdTSuXh69s852UblfLZP1vR5pN+RkONeIit iHGypAbDC4580UDRaxtzGUGJSAuTHyhJbeb5W52uFzsENKyWcsM77UpZTX+JSk6g805mUd S9eD2HOEmEARQVXUqG8fCuvKwW7SK+5v17lhGY2t8wfdetYTLpK99RVfEYG9gA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYSeB-0003Yi-Ql; Sat, 04 Mar 2023 09:14:03 -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 1pYSeA-0003XS-Se for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYSeA-0004O0-Jt for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYSeA-0001D4-6V for guix-patches@gnu.org; Sat, 04 Mar 2023 09:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61958] [PATCH 30/32] gnu: Add rust-rustix-0.36. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Mar 2023 14:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61958@debbugs.gnu.org Cc: Arjan Adriaanse Received: via spool by 61958-submit@debbugs.gnu.org id=B61958.16779392134574 (code B ref 61958); Sat, 04 Mar 2023 14:14:02 +0000 Received: (at 61958) by debbugs.gnu.org; 4 Mar 2023 14:13:33 +0000 Received: from localhost ([127.0.0.1]:35620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSdh-0001Bh-6A for submit@debbugs.gnu.org; Sat, 04 Mar 2023 09:13:33 -0500 Received: from dane.soverin.net ([185.233.34.21]:45085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSdf-0001BK-BZ for 61958@debbugs.gnu.org; Sat, 04 Mar 2023 09:13:32 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4PTRdd32F4zdT; Sat, 4 Mar 2023 14:13:25 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4PTRdd111Lz2J; Sat, 4 Mar 2023 14:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1677939205; bh=ln0e1j5RMlhnVbTEtTPZ0QHFdhm8m7jLL6QZvoV6N04=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xa7JgIxE8+3fJGODwxiX259yj+ImMnXWLQGqDmxvMa9KmAgCdULYAafsEtWxFnoyW YR4Dn4Pc9/CDv/N8vs1GKTJ8oPJrm7j5e2Nvgg3u1lVrNTrwoV3yqvMrKCLejOPj9W tDA6a6iDQD/xrqjsFN0FNmOTO6Iq0IMCFPiI+60HrSUafQiNv9sNQm8aFh80iouwSs vYBPMKjYGWwZIWgsCB562JTokfsRttJGXG+E+hUUieA9pwsTvsdxcqmvlRhI0V+xvG Kge1ahEQpQWFyehnYKJm4wbfS+gzH0f4i16+nHOE1KIZLok3je2f2K0f6xAIKE36WF CiCvuNU6fJCkw== X-Soverin-Authenticated: true From: Arjan Adriaanse Date: Sat, 4 Mar 2023 15:13:19 +0100 Message-Id: <2a2380517f5d4739b61c4da328d92517915e05ad.1677936692.git.arjan@adriaan.se> In-Reply-To: References: 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: X-Migadu-Spam-Score: -1.30 X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 0BC71C48D 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: H9E0ITiJ9W/P * gnu/packages/crates-io.scm (rust-rustix-0.36): New variable. (rust-rustix-0.35): Inherit from above. --- gnu/packages/crates-io.scm | 55 +++++++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5b8023efaf..8e1e3cf22b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49144,8 +49144,53 @@ (define-public rust-rustfix-0.4 `(("rust-failure" ,rust-failure-0.1) ,@(alist-delete "rust-anyhow" cargo-inputs))))))) +(define-public rust-rustix-0.36 + (package + (name "rust-rustix") + (version "0.36.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g1pxwmz82gf47ar5l80ijzpbcrf5yh9a6bdfi05pmgc3zqnyp7x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cc" ,rust-cc-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-errno" ,rust-errno-0.2) + ("rust-io-lifetimes" ,rust-io-lifetimes-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-windows-sys" ,rust-windows-sys-0.42)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-errno" ,rust-errno-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-io-lifetimes" ,rust-io-lifetimes-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.7) + ("rust-serial-test" ,rust-serial-test-0.6) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/bytecodealliance/rustix") + (synopsis "Safe Rust bindings to POSIX syscalls") + (description + "This package provides safe Rust bindings to POSIX syscalls.") + ;; Apache 2.0, Apache 2.0 with LLVM exception, or Expat. + (license (list license:asl2.0 + license:expat)))) + (define-public rust-rustix-0.35 (package + (inherit rust-rustix-0.36) (name "rust-rustix") (version "0.35.13") (source (origin @@ -49155,7 +49200,6 @@ (define-public rust-rustix-0.35 (sha256 (base32 "1yfmkj5nwghxd3nha5ywf1cj6zqh44qwm0cavwifr1ppcmnilykj")))) - (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) @@ -49180,14 +49224,7 @@ (define-public rust-rustix-0.35 ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.6) ("rust-serial-test" ,rust-serial-test-0.6) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/bytecodealliance/rustix") - (synopsis "Safe Rust bindings to POSIX syscalls") - (description - "This package provides safe Rust bindings to POSIX syscalls.") - ;; Apache 2.0, Apache 2.0 with LLVM exception, or Expat. - (license (list license:asl2.0 - license:expat)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustls-0.20 (package -- 2.39.1