From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mFkJD6euhWOC9gAAbAwnHQ (envelope-from ) for ; Tue, 29 Nov 2022 08:03:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GHg+DqeuhWPYRQAAG6o9tA (envelope-from ) for ; Tue, 29 Nov 2022 08:03:03 +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 012AD8D06 for ; Tue, 29 Nov 2022 08:03:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozud1-0002qS-UQ; Tue, 29 Nov 2022 02:02: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 1ozud0-0002pu-N3 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02: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 1ozud0-0003jD-6H for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozud0-0004na-0I for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59670] [PATCH 01/50] gnu: Add rust-nix-0.24. References: <20221129065937.7942-1-paren@disroot.org> In-Reply-To: <20221129065937.7942-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Nov 2022 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59670@debbugs.gnu.org Cc: "\(" Received: via spool by 59670-submit@debbugs.gnu.org id=B59670.166970527317931 (code B ref 59670); Tue, 29 Nov 2022 07:02:01 +0000 Received: (at 59670) by debbugs.gnu.org; 29 Nov 2022 07:01:13 +0000 Received: from localhost ([127.0.0.1]:53613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozucD-0004f2-61 for submit@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:13 -0500 Received: from knopi.disroot.org ([178.21.23.139]:52430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozucB-0004ej-OF for 59670@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:12 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 16F7D413D9; Tue, 29 Nov 2022 08:01:11 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BEoxPm4MhZzZ; Tue, 29 Nov 2022 08:01:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1669705269; bh=mclx48bmS1qTuBqnEHXXFEbdavS4RtrXIt3HP4rKsvA=; h=From:To:Cc:Subject:Date:From; b=gSYbb4Kh9InxUgQew8FRWpI0ZuYpOaxkN8cNgl226H/EInbgnuFjNNJlJ2pO05S9Y 0yB2Iun6UbyuPhR5EJnE4l5Wp+HMGAn+I7j2/nq9k5StT6RtFlvcn3WNa9KeK2Xdgb mBGzV+9QV/jAj5Tin0TkqkTdEMgC1QCJ4A+zY/3yW1zyMj767sUma24IVsV9kbNs7P TRKQKN0hMIglHjDZI7m+gobUKNq6TBPJ4eCJ+gl3fz296krZPqs9srN/9ynJn4WzND BRIp5yk8VZxXoy1G7lCdSzopjQcVrKgOwmtHksjoXVgyrUqspD2cuPhtIyCQSNmXx8 6BKJizhiSYvEg== Date: Tue, 29 Nov 2022 07:00:15 +0000 Message-Id: <20221129070104.8007-1-paren@disroot.org> 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: , Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669705383; h=from:from:sender:sender:reply-to: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=WouzovZL0pxdGG5TZPNvtnCUZAFse0Znba0PCLvEkaE=; b=KIcHlQY8XPev3TFBYucOwQDP2kT1t+6s+8r2/e3Hu3raWQFd7PTlB/Infp6o9eF2dsJJ87 7d1VZQlbXLYArLbXdkcBnITMWgDXlZd1OZvm6U/9fu0fql16+xp701kBoEnKN/EFC87PYN FT3ckvLPPSYdCrpdLWtlvJ6f+yxjsGLE1VbjNZmsodGHhm6RX9O8yASRu/CKy/O8TGOpem y+xuaF3TBHnXOuVR84lhekOa4tcYU70/rXa1Mnn06JyDBFuNPIjcoQ8FAtlvkm7rDdRlIc eNJwjA4ai2+w1njucJ2KB9thQ41kRb8wpNdrDAvSL11dxIK4NHyAQ+gX0+V8Uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669705383; a=rsa-sha256; cv=none; b=mztuml3iJng2+Twaly/1S7Wl4l/BrLp8+7HY7EyCQATdmPO4CXy/eQZSGc733AzI3dlKpG tNl0DhhTkCIpfhrAq3CaqcYW6qcZBpWxXvhrHfR5b75iVYoOWCQpjhu+Ck8bj56cbaZm5L e3DdJkUKwfIWiNcH9zTigkYJ9aSFzU5cy9PDwD8ncEUyeDt+JMNA00Js871AZ82yzhLGBJ mLP/OvUujHoMpvHrZKflI8VE02hxCdk72rV4Kbbmau8Ee6y56TUqbyiPMYOKX5L1Q0ebYN w35th8UIxZ0MrbNQN4p6pfXSkxctCXToQufsFZX7X1FuNhzBvHtG6EI+u0vYSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=gSYbb4Kh; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=gSYbb4Kh; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 012AD8D06 X-Spam-Score: -4.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: VWWacCGHoyf3 * gnu/packages/crates-io.scm (rust-nix-0.24): New variable. (rust-nix-0.23): Inherit from RUST-NIX-0.24. --- gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8db968a7a9..3d16ecbf5b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34894,26 +34894,25 @@ (define-public rust-nitrokey-test-state-0.1 nitrokey-test crate.") (license license:gpl3+))) -(define-public rust-nix-0.23 +(define-public rust-nix-0.24 (package (name "rust-nix") - (version "0.23.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iimixk7y2qk0jswqich4mkd8kqyzdghcgy6203j8fmxmhbn71lz")))) + (version "0.24.2") + (source (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z35n1bhzslr7zawy2c0fl90jjy9l5b3lnsidls3908vfk0xnp0r")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cc" ,rust-cc-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.6)))) + (list #:skip-build? #t + #:cargo-inputs + `(("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6)))) (home-page "https://github.com/nix-rust/nix") (synopsis "Rust friendly bindings to *nix APIs") (description @@ -34922,6 +34921,27 @@ (define-public rust-nix-0.23 while still providing platform specific APIs.") (license license:expat))) +(define-public rust-nix-0.23 + (package + (inherit rust-nix-0.24) + (name "rust-nix") + (version "0.23.1") + (source (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1iimixk7y2qk0jswqich4mkd8kqyzdghcgy6203j8fmxmhbn71lz")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-bitflags" ,rust-bitflags-1) + ("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6)))))) + (define-public rust-nix-0.22 (package (inherit rust-nix-0.23) -- 2.38.1