From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WIzGCUVExmEywgAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 23:05:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +Ca/A0VExmFzDAEAG6o9tA (envelope-from ) for ; Fri, 24 Dec 2021 23:05:57 +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 2997828B45 for ; Fri, 24 Dec 2021 23:05:56 +0100 (CET) Received: from localhost ([::1]:56552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0shH-0002QG-8X for larch@yhetil.org; Fri, 24 Dec 2021 17:05:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0seU-0007yU-3k for guix-patches@gnu.org; Fri, 24 Dec 2021 17:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0seT-0003vJ-QQ for guix-patches@gnu.org; Fri, 24 Dec 2021 17:03:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0seT-0005vW-JA for guix-patches@gnu.org; Fri, 24 Dec 2021 17:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52149] [PATCH] core-updates-frozen: Update `rustc` to version 1.56.1 (from 1.54.0) Resent-From: Parenthesis Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Dec 2021 22:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 52149@debbugs.gnu.org Received: via spool by 52149-submit@debbugs.gnu.org id=B52149.164038335822742 (code B ref 52149); Fri, 24 Dec 2021 22:03:01 +0000 Received: (at 52149) by debbugs.gnu.org; 24 Dec 2021 22:02:38 +0000 Received: from localhost ([127.0.0.1]:38230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0se1-0005ub-0m for submit@debbugs.gnu.org; Fri, 24 Dec 2021 17:02:38 -0500 Received: from knopi.disroot.org ([178.21.23.139]:58396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0sdw-0005uN-9g for 52149@debbugs.gnu.org; Fri, 24 Dec 2021 17:02:31 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D286E50FAF; Fri, 24 Dec 2021 23:02:26 +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 toHkMGGNcBV4; Fri, 24 Dec 2021 23:02:23 +0100 (CET) Date: Fri, 24 Dec 2021 22:02:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1640383343; bh=Q8xmqGSUAA/Xt4sPl6J5cmLyxB4HSuOzkFLXT6nQ46E=; h=Date:From:Subject:To:Cc:In-Reply-To:References; b=mflFzqPagoW0aEAKuQqeTkILCjDaDpvlopS0u14Z7YJXfMHfv4m4dY5bGshYs1sBg JDSfo5xjW56e3iqJddoYH50wf9v/6lZY1j8k3yJIlOXeoI8jJNViBpZCWBmx2Y45Ff R2Z8qI5mEZUPNnY9W9I9griCTZVZ9y45EXzO8/FATWf5a1nWAFxoQgNDMplYUU9X2o TD1l0XscoC8f95FjG2tLRITn25DpLCIcyj6Kwuat+FOX0OchlAtPDRBpSk3gvrO5zo 2IqhqArfD5A7tI2ufmtBOBAsHFjtAgaqc19gov4J1ou6eFn57by8kwi8JeTTXf+62t yweVBBXc6U7fw== Message-Id: In-Reply-To: <87lf0azgfc.fsf_-_@gmail.com> References: <20211127204237.4195-1-paren@disroot.org> <20211127232323.2039-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-pP41bTCLplfiMwy5RtG9" 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" Reply-to: Parenthesis X-ACL-Warn: , Parenthesis via Guix-patches From: Parenthesis via Guix-patches via 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=1640383556; 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-type:content-type: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=Bw6LkyzYgp4Z8R01OQJY8KjhlPZaTwlo82eQuDSpRFQ=; b=oVVFaeR9ExZMHjsyptyjr9HcOQ/F+d2srwszQntvq1nV7Tjzz40rW6VN+b/hI7M3vd/GBt VmDoYvN/LPMQGwYH27p6Fgz7lU8QxazAtaoAtQcohDeH2XjgQ3BmpYgAO5jilZ20p+85jx 696oOlrve/Y2MRetzH+mGZcV22Dp25129tsBfbYBTuu6U7aoc/sac38wZqIhrAD2Z/qHBS Ixu+oCpsQXpcPU2EhlhWFNqfD+yjVt6aeJXft3n6xV8Cf6n86zZgZYUBbZvcb3SmMV7/C2 Oqa5sVW6blr7h4Ozmu5s417Lf+eamFOQkcwUF3x3T5pR6glCNqjWrn8i+mxpEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640383556; a=rsa-sha256; cv=none; b=KoWkXhxrwQa3XXLLlc4arYGnid0mGOYBK4fuRSDuPBu9zsEi5yxW51CYU9Tu+gAOZIz13i RoTJ1v1Al3q8GKVkFjgZtCoMwwQiHSIV7IMZhEt8WcnIgdvj3G5An42pXcstmfK4DrBh1U 2VkrpTH4J8dxv8r/owpaNsSARtzQ2mH8fTHCd0kdtsoxe/aj44+a005FU7DQ4TiPiEbbgc SMj9uj/oYh2M3b4eXLRhzBmt9Ini6tXaiRCYshtskYCp+hblys4/8+lWw1qjhwCReZvdyl 9qylr1zTxZ3Nyg2EH14Jx/zh6iyq8UMU24OFcN8Mxr5AFCM+REPlavJ+wOYgNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=mflFzqPa; 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: -3.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=mflFzqPa; 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: 2997828B45 X-Spam-Score: -3.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ch093YLY58bq --=-pP41bTCLplfiMwy5RtG9 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On Fri, Dec 24 2021 at 01:05:11 -0500, Maxim Cournoyer=20 wrote: > Hello! >=20 > "(unmatched-parenthesis" > writes: >=20 >> This amended email adds a copyright notice to crates-io.scm. >>=20 >> --- >> gnu/packages/crates-io.scm | 314=20 >> +++++++++++++++++++++++++++++++++++-- >> gnu/packages/rust.scm | 11 +- >> 2 files changed, 308 insertions(+), 17 deletions(-) >> mode change 100644 =3D> 100755 gnu/packages/rust.scm >>=20 >> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm >> index b8c4c7bd39..cf77cb2b53 100644 >> --- a/gnu/packages/crates-io.scm >> +++ b/gnu/packages/crates-io.scm >> @@ -22,6 +22,7 @@ >> ;;; Copyright =A9 2021 Petr Hodina > > >> ;;; Copyright =A9 2021 Ricardo Wurmus > > >> ;;; Copyright =A9 2021 Jacob Hrbek > > >> +;;; Copyright =A9 2021 (unmatched parenthesis > > >> ;;; >> ;;; This file is part of GNU Guix. >> ;;; >> @@ -8134,6 +8135,96 @@ (define-public rust-caps-0.3 >> ("rust-error-chain" ,rust-error-chain-0.12) >> ("rust-libc" ,rust-libc-0.2)))))) >>=20 >> +(define-public rust-cargo-0.57 >> + (package >> + (name "rust-cargo") >> + (version "0.57.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "cargo" version)) >> + (file-name >> + (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32 >> + "0nw73wf2f2024qya0lgm6c7wy0vrqd521k2kwzr63gy33fnvk7ai")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(;; The test suite is disabled as the internal=20 >> 'cargo-test-macro' and >> + ;; 'cargo-test-support' crates are not included in the=20 >> release. >> + #:tests? #f >> + #:cargo-inputs >> + (("rust-anyhow" ,rust-anyhow-1) >> + ("rust-atty" ,rust-atty-0.2) >> + ("rust-bytesize" ,rust-bytesize-1) >> + ("rust-cargo-platform" ,rust-cargo-platform-0.1) >> + ("rust-cargo-util" ,rust-cargo-util-0.1) >> + ("rust-clap" ,rust-clap-2) >> + ("rust-core-foundation" ,rust-core-foundation-0.9) >> + ("rust-crates-io" ,rust-crates-io-0.33) >> + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) >> + ("rust-crypto-hash" ,rust-crypto-hash-0.3) >> + ("rust-curl" ,rust-curl-0.4) >> + ("rust-curl-sys" ,rust-curl-sys-0.4) >> + ("rust-env-logger" ,rust-env-logger-0.9) >> + ("rust-filetime" ,rust-filetime-0.2) >> + ("rust-flate2" ,rust-flate2-1) >> + ("rust-flate2" ,rust-flate2-1) >> + ("rust-fwdansi" ,rust-fwdansi-1) >> + ("rust-git2" ,rust-git2-0.13) >> + ("rust-git2-curl" ,rust-git2-curl-0.14) >> + ("rust-glob" ,rust-glob-0.3) >> + ("rust-hex" ,rust-hex-0.4) >> + ("rust-home" ,rust-home-0.5) >> + ("rust-humantime" ,rust-humantime-2) >> + ("rust-ignore" ,rust-ignore-0.4) >> + ("rust-im-rc" ,rust-im-rc-15) >> + ("rust-itertools" ,rust-itertools-0.10) >> + ("rust-jobserver" ,rust-jobserver-0.1) >> + ("rust-lazy-static" ,rust-lazy-static-1) >> + ("rust-lazycell" ,rust-lazycell-1) >> + ("rust-libc" ,rust-libc-0.2) >> + ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) >> + ("rust-log" ,rust-log-0.4) >> + ("rust-memchr" ,rust-memchr-2) >> + ("rust-miow" ,rust-miow-0.3) >> + ("rust-num-cpus" ,rust-num-cpus-1) >> + ("rust-opener" ,rust-opener-0.5) >> + ("rust-openssl" ,rust-openssl-0.10) >> + ("rust-percent-encoding" ,rust-percent-encoding-2) >> + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) >> + ("rust-rand" ,rust-rand-0.8) >> + ("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1) >> + ("rust-rustfix" ,rust-rustfix-0.6) >> + ("rust-same-file" ,rust-same-file-1) >> + ("rust-semver" ,rust-semver-1) >> + ("rust-serde" ,rust-serde-1) >> + ("rust-serde-ignored" ,rust-serde-ignored-0.1) >> + ("rust-serde-json" ,rust-serde-json-1) >> + ("rust-shell-escape" ,rust-shell-escape-0.1) >> + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) >> + ("rust-tar" ,rust-tar-0.4) >> + ("rust-tempfile" ,rust-tempfile-3) >> + ("rust-termcolor" ,rust-termcolor-1) >> + ("rust-toml" ,rust-toml-0.5) >> + ("rust-unicode-width" ,rust-unicode-width-0.1) >> + ("rust-unicode-xid" ,rust-unicode-xid-0.2) >> + ("rust-url" ,rust-url-2) >> + ("rust-walkdir" ,rust-walkdir-2) >> + ("rust-winapi" ,rust-winapi-0.3)))) >> + (native-inputs >> + `(("pkg-config" ,pkg-config))) >> + (inputs >> + `(("curl" ,curl) >> + ("libssh2" ,libssh2) >> + ("openssl" ,openssl) >> + ("zlib" ,zlib))) >> + (home-page "https://crates.io ") >> + (synopsis "Package manager for Rust") >> + (description "Cargo, a package manager for Rust. This package=20 >> provides >> +the library crate of Cargo.") >> + (license (list license:expat license:asl2.0)))) >> + >> (define-public rust-cargo-0.53 >> (package >> (name "rust-cargo") >> @@ -8201,7 +8292,6 @@ (define-public rust-cargo-0.53 >> ("rust-shell-escape" ,rust-shell-escape-0.1) >> ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) >> ("rust-tar" ,rust-tar-0.4) >> - ("rust-tar" ,rust-tar-0.4) >> ("rust-tempfile" ,rust-tempfile-3) >> ("rust-termcolor" ,rust-termcolor-1) >> ("rust-toml" ,rust-toml-0.5) >> @@ -8309,7 +8399,7 @@ (define-public rust-cargo-metadata-0.6 >> (define-public rust-cargo-platform-0.1 >> (package >> (name "rust-cargo-platform") >> - (version "0.1.1") >> + (version "0.1.2") >> (source >> (origin >> (method url-fetch) >> @@ -8318,7 +8408,7 @@ (define-public rust-cargo-platform-0.1 >> (string-append name "-" version ".tar.gz")) >> (sha256 >> (base32 >> - "1mzi60pf0z83qkzqp7jwd61xnqz2b5ydsj7rnnikbgyicd5989h2")))) >> + "09zsf76b9yr02jh17xq925xp1w824w2bwvb78fd0gpx5m1fq5nyb")))) >> (build-system cargo-build-system) >> (arguments >> `(#:cargo-inputs >> @@ -8329,6 +8419,39 @@ (define-public rust-cargo-platform-0.1 >> supported by Cargo.") >> (license (list license:expat license:asl2.0)))) >>=20 >> +(define-public rust-cargo-util-0.1 >> + (package >> + (name "rust-cargo-util") >> + (version "0.1.1") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "cargo-util" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "1szsqx6n9lvvpfnppw9xiah0d5mg8x80i5s17kv25q6lg8zn7gzj")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-anyhow" ,rust-anyhow-1) >> + ("rust-core-foundation" ,rust-core-foundation-0.9) >> + ("rust-crypto-hash" ,rust-crypto-hash-0.3) >> + ("rust-filetime" ,rust-filetime-0.2) >> + ("rust-hex" ,rust-hex-0.4) >> + ("rust-jobserver" ,rust-jobserver-0.1) >> + ("rust-libc" ,rust-libc-0.2) >> + ("rust-log" ,rust-log-0.4) >> + ("rust-miow" ,rust-miow-0.3) >> + ("rust-same-file" ,rust-same-file-1) >> + ("rust-shell-escape" ,rust-shell-escape-0.1) >> + ("rust-tempfile" ,rust-tempfile-3) >> + ("rust-walkdir" ,rust-walkdir-2) >> + ("rust-winapi" ,rust-winapi-0.3)))) >> + (home-page "") >> + (synopsis "Miscellaneous support code used by Cargo.") >> + (description "Miscellaneous support code used by Cargo.") >> + (license (list license:expat license:asl2.0)))) >> + >> (define-public rust-cargon-0.0 >> (package >> (name "rust-cargon") >> @@ -12857,14 +12980,14 @@ (define-public rust-cty-0.2 >> (define-public rust-curl-0.4 >> (package >> (name "rust-curl") >> - (version "0.4.34") >> + (version "0.4.41") >> (source >> (origin >> (method url-fetch) >> (uri (crate-uri "curl" version)) >> (file-name (string-append name "-" version ".tar.gz")) >> (sha256 >> - (base32=20 >> "0vkm6fyizf8m9yxpv3n5pm9ag3bwlyqa6nz2ga8qkzm5y4m1cs72")))) >> + (base32=20 >> "1qqbrvgbnzik4vlni25jwsk3ff57snmbp0zvdzdzhq9jaqrx5ihv")))) >> (build-system cargo-build-system) >> (arguments >> `(#:tests? #false ;require internet access >> @@ -12874,7 +12997,7 @@ (define-public rust-curl-0.4 >> ("rust-openssl-probe" ,rust-openssl-probe-0.1) >> ("rust-openssl-sys" ,rust-openssl-sys-0.9) >> ("rust-schannel" ,rust-schannel-0.1) >> - ("rust-socket2" ,rust-socket2-0.3) >> + ("rust-socket2" ,rust-socket2-0.4) >> ("rust-winapi" ,rust-winapi-0.3)) >> #:cargo-development-inputs >> (("rust-anyhow" ,rust-anyhow-1) >> @@ -12897,7 +13020,7 @@ (define-public rust-curl-0.4 >> (define-public rust-curl-sys-0.4 >> (package >> (name "rust-curl-sys") >> - (version "0.4.39+curl-7.74.0") >> + (version "0.4.51+curl-7.80.0") >> (source >> (origin >> (method url-fetch) >> @@ -12905,7 +13028,7 @@ (define-public rust-curl-sys-0.4 >> (file-name (string-append name "-" version ".tar.gz")) >> (sha256 >> (base32 >> - "0x7qhq7c3b1vmp3740yiigzm09qvkzpdf578jjrs0s3v3s3cxa07")) >> + "085gwlfq15fxp0zvx14sf3k91ka8z8i30271i44gwd3ad9z9hc6i")) >> (modules '((guix build utils))) >> (snippet >> '(begin (delete-file-recursively "curl") #t)))) >> @@ -15756,6 +15879,31 @@ (define-public rust-duct-0.13 >> "A library for running child processes.") >> (license license:expat))) >>=20 >> +(define-public rust-duct-0.9 >> + (package >> + (name "rust-duct") >> + (version "0.9.2") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "duct" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "17al305wq9qw54c1idlnjpvwyq37kd1g76z427vgfx0fyiwksmcc")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-lazycell" ,rust-lazycell-0.5) >> + ("rust-libc" ,rust-libc-0.2) >> + ("rust-os-pipe" ,rust-os-pipe-0.6) >> + ("rust-shared-child" ,rust-shared-child-0.3)) >> + #:cargo-development-inputs >> + (("rust-tempdir" ,rust-tempdir-0.3)))) >> + (home-page "") >> + (synopsis "a library for running child processes") >> + (description "a library for running child processes") >> + (license license:expat))) >> + >> (define-public rust-dunce-1 >> (package >> (name "rust-dunce") >> @@ -16807,6 +16955,36 @@ (define-public rust-enumflags2-derive-0.6 >> (description "Enumflags2 implements the classic bitflags=20 >> datastructure.") >> (license (list license:expat license:asl2.0)))) >>=20 >> +(define-public rust-env-logger-0.9 >> + (package >> + (name "rust-env-logger") >> + (version "0.9.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "env_logger" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-atty" ,rust-atty-0.2) >> + ("rust-humantime" ,rust-humantime-2) >> + ("rust-log" ,rust-log-0.4) >> + ("rust-regex" ,rust-regex-1) >> + ("rust-termcolor" ,rust-termcolor-1)))) >> + (home-page "") >> + (synopsis >> + "A logging implementation for `log` which is configured via=20 >> an environment >> +variable. >> +") >> + (description >> + "This package provides a logging implementation for `log`=20 >> which is configured via an environment >> +variable. >> +") >> + (license (list license:expat license:asl2.0)))) >> + >> (define-public rust-env-logger-0.8 >> (package >> (name "rust-env-logger") >> @@ -25063,14 +25241,14 @@ (define-public rust-iso8601-0.1 >> (define-public rust-itertools-0.10 >> (package >> (name "rust-itertools") >> - (version "0.10.0") >> + (version "0.10.1") >> (source >> (origin >> (method url-fetch) >> (uri (crate-uri "itertools" version)) >> (file-name (string-append name "-" version ".tar.gz")) >> (sha256 >> - (base32=20 >> "06dkghwi1a6ah2103gibxnr2ys762m5x4rp75x0q43imis8p5m9p")))) >> + (base32=20 >> "1bsyxnm20x05rwc5qskrqy4cfswrcadzlwc26dkqml6hz64vipb9")))) >> (build-system cargo-build-system) >> (arguments >> `(#:skip-build? #t >> @@ -25530,7 +25708,7 @@ (define-public rust-jni-sys-0.3 >> (define-public rust-jobserver-0.1 >> (package >> (name "rust-jobserver") >> - (version "0.1.22") >> + (version "0.1.24") >> (source >> (origin >> (method url-fetch) >> @@ -25539,7 +25717,7 @@ (define-public rust-jobserver-0.1 >> (string-append name "-" version ".tar.gz")) >> (sha256 >> (base32 >> - "1zg7p4khibisbvd8b1lqvvni6lr00g49d4bq2zj6m76bs7jmlbwp")))) >> + "1yn1vxbbqv7dqir6qbfcj8h8ddjf89m5mhvm36h13xx7k5raf9dg")))) >> (build-system cargo-build-system) >> (arguments >> `(#:cargo-inputs >> @@ -34079,6 +34257,28 @@ (define-public rust-open-1 >> the system.") >> (license license:expat))) >>=20 >> +(define-public rust-opener-0.5 >> + (package >> + (name "rust-opener") >> + (version "0.5.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "opener" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "0lkrn4fv1h4m8gmp7ll6x7vjvb6kls2ngwa5cgsh2ix5fb6yp8sf")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-bstr" ,rust-bstr-0.2) ("rust-winapi"=20 >> ,rust-winapi-0.3)) >> + #:cargo-development-inputs >> + (("rust-version-sync" ,rust-version-sync-0.9)))) >> + (home-page "") >> + (synopsis "Open a file or link using the system default=20 >> program.") >> + (description "Open a file or link using the system default=20 >> program.") >> + (license (list license:expat license:asl2.0)))) >> + >> (define-public rust-opener-0.4 >> (package >> (name "rust-opener") >> @@ -44267,6 +44467,36 @@ (define-public rust-rustdoc-stripper-0.1 >> "This package provides a tool to manipulate rustdoc=20 >> comments.") >> (license license:asl2.0))) >>=20 >> +(define-public rust-rustfix-0.6 >> + (package >> + (name "rust-rustfix") >> + (version "0.6.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "rustfix" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "0apkjxv3z70vhnyz2kpwsivvndk6qk7kkp0rf7sg8pk7q1gy02vg")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-anyhow" ,rust-anyhow-1) >> + ("rust-log" ,rust-log-0.4) >> + ("rust-serde" ,rust-serde-1) >> + ("rust-serde-json" ,rust-serde-json-1)) >> + #:cargo-development-inputs >> + (("rust-duct" ,rust-duct-0.9) >> + ("rust-env-logger" ,rust-env-logger-0.5) >> + ("rust-log" ,rust-log-0.4) >> + ("rust-proptest" ,rust-proptest-0.7) >> + ("rust-similar" ,rust-similar-0.4) >> + ("rust-tempdir" ,rust-tempdir-0.3)))) >> + (home-page "") >> + (synopsis "Automatically apply the suggestions made by rustc") >> + (description "Automatically apply the suggestions made by=20 >> rustc") >> + (license (list license:asl2.0 license:expat)))) >> + >> (define-public rust-rustfix-0.5 >> (package >> (name "rust-rustfix") >> @@ -48793,6 +49023,28 @@ (define-public rust-similar-1 >> (description "This package provides a diff library for Rust.") >> (license license:asl2.0))) >>=20 >> +(define-public rust-similar-0.4 >> + (package >> + (name "rust-similar") >> + (version "0.4.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "similar" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "1v6h326qwjdydxk22dfz3x86zp8r1qdnajb3f37w8ngyivzmjgw2")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-unicode-segmentation"=20 >> ,rust-unicode-segmentation-1)) >> + #:cargo-development-inputs >> + (("rust-console" ,rust-console-0.14) ("rust-insta"=20 >> ,rust-insta-1)))) >> + (home-page "") >> + (synopsis "A diff library for Rust") >> + (description "This package provides a diff library for Rust") >> + (license license:asl2.0))) >> + >> (define-public rust-simple-mutex-1 >> (package >> (name "rust-simple-mutex") >> @@ -49635,7 +49887,7 @@ (define-public rust-snap-1 >> (define-public rust-socket2-0.4 >> (package >> (name "rust-socket2") >> - (version "0.4.0") >> + (version "0.4.2") >> (source >> (origin >> (method url-fetch) >> @@ -49644,7 +49896,7 @@ (define-public rust-socket2-0.4 >> (string-append name "-" version ".tar.gz")) >> (sha256 >> (base32 >> - =20 >> "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy")))) >> + =20 >> "05imvybc86slkbg6sj9rd1xy9a8ydn1v2bcqjqr346myqzk0zjax")))) >> (build-system cargo-build-system) >> (arguments >> `(#:cargo-inputs >> @@ -52620,7 +52872,7 @@ (define-public rust-tap-1 >> (define-public rust-tar-0.4 >> (package >> (name "rust-tar") >> - (version "0.4.26") >> + (version "0.4.37") >> (source >> (origin >> (method url-fetch) >> @@ -52628,7 +52880,7 @@ (define-public rust-tar-0.4 >> (file-name (string-append name "-" version ".crate")) >> (sha256 >> (base32 >> - =20 >> "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk")))) >> + =20 >> "0p5srm08dly2bdgkpnjdfmxvldmvi31q6yxdvjxy0lnx79fm3xfn")))) >> (build-system cargo-build-system) >> (arguments >> `(#:tests? #f ; Test tarballs not included in crate. >> @@ -59888,6 +60140,36 @@ (define-public rust-version-compare-0.0 >> numbers, and test them against various comparison operators.") >> (license license:expat))) >>=20 >> +(define-public rust-version-sync-0.9 >> + (package >> + (name "rust-version-sync") >> + (version "0.9.3") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (crate-uri "version-sync" version)) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32=20 >> "0kaqwjr7jlq3afh28jn052vm15z58h8szvbggwdavdng0wzy98x7")))) >> + (build-system cargo-build-system) >> + (arguments >> + `(#:cargo-inputs >> + (("rust-proc-macro2" ,rust-proc-macro2-1) >> + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8) >> + ("rust-regex" ,rust-regex-1) >> + ("rust-semver-parser" ,rust-semver-parser-0.9) >> + ("rust-syn" ,rust-syn-1) >> + ("rust-toml" ,rust-toml-0.5) >> + ("rust-url" ,rust-url-2)) >> + #:cargo-development-inputs >> + (("rust-tempfile" ,rust-tempfile-3)))) >> + (home-page "") >> + (synopsis >> + "Crate for ensuring that version numbers in README files and=20 >> other files are kept in sync with the crate version.") >> + (description >> + "Crate for ensuring that version numbers in README files and=20 >> other files are kept in sync with the crate version.") >> + (license license:expat))) >> + >> (define-public rust-version-sync-0.8 >> (package >> (name "rust-version-sync") >> diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm >> old mode 100644 >> new mode 100755 >> index f7f05851f1..a1f3d757cd >> --- a/gnu/packages/rust.scm >> +++ b/gnu/packages/rust.scm >> @@ -12,6 +12,7 @@ >> ;;; Copyright =A9 2020 Pierre Langlois > > >> ;;; Copyright =A9 2020 Matthew James Kraai > > >> ;;; Copyright =A9 2021 Maxim Cournoyer > > >> +;;; Copyright =A9 2021 (unmatched parenthesis > > >> ;;; >> ;;; This file is part of GNU Guix. >> ;;; >> @@ -769,8 +770,16 @@ (define rust-1.54 >> `("procps" ,procps) >> (package-native-inputs base-rust)))))) >>=20 >> +(define rust-1.55 >> + (rust-bootstrapped-package >> + rust-1.54 "1.55.0"=20 >> "07l28f7grdmi65naq71pbmvdd61hwcpi40ry7kp7dy7m233rldxj")) >> + >> +(define rust-1.56 >> + (rust-bootstrapped-package >> + rust-1.55 "1.56.1"=20 >> "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3")) >> + >> ;;; Note: Only the latest versions of Rust are supported and=20 >> tested. The >> ;;; intermediate rusts are built for bootstrapping purposes and=20 >> should not >> ;;; be relied upon. This is to ease maintenance and reduce the=20 >> time >> ;;; required to build the full Rust bootstrap chain. >> -(define-public rust rust-1.54) >> +(define-public rust rust-1.56) >=20 > Thank you for this, it looks promising! >=20 > We usually split the commits as one per package touched (unless when > doing otherwise would break packages for a long series of commits).) >=20 > Were you able to test it? >=20 > After you've split your commits into per-package ones, I'll try=20 > having a > look! >=20 > Thank you, >=20 > Maxim Sorry, I forgot to add a 'Cc' address, and sent it directly to you...=20 I'll repost that. Hi! I was able to test Rust, I can definitely remember 1.56 building=20 properly on my machine. I'll get to work updating it to the latest Guix=20 master tomorrow. I'm not sure if Cargo worked. BTW, Rust has released a new 1.57 version; I'll make sure to add that. One question: will it be possible to merge this into master _if_ I=20 don't touch the 'rust' variable (so that Rust packages won't be=20 rebuilt)? If so, I'll revert that change when I update this to latest=20 guix. Rust packages have a habit of always depending on the newest,=20 shinyest releases (that's why I did this in the first place, although=20 the c-u-f merge did improve the situation by adding 1.54.0) --=-pP41bTCLplfiMwy5RtG9 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Dec 24 2021 at 01:05:11 -0500, Maxim Cournoyer <maxim.courno= yer@gmail.com> wrote:
Hello! "(unmatched-parenthesis" <paren@dis= root.org> writes:
This amended email adds a copyright notice to crates-io.scm. --- gnu/packages/crates-io.scm | 314 +++++++++++++++++++++++++++++++++++-- gnu/packages/rust.scm | 11 +- 2 files changed, 308 insertions(+), 17 deletions(-) mode change 100644 =3D> 100755 gnu/packages/rust.scm diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8c4c7bd39..cf77cb2b53 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22,6 +22,7 @@ ;;; Copyright =A9 2021 Petr Hodina <phodina@protonmail.com> ;;; Copyright =A9 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright =A9 2021 Jacob Hrbek <kreyren@rixotstudio.cz> +;;; Copyright =A9 2021 (unmatched parenthesis <paren@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -8134,6 +8135,96 @@ (define-public rust-caps-0.3 ("rust-error-chain" ,rust-error-chain-0.12) ("rust-libc" ,rust-libc-0.2)))))) =20 +(define-public rust-cargo-0.57 + (package + (name "rust-cargo") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nw73wf2f2024qya0lgm6c7wy0vrqd521k2kwzr63gy33fnvk7ai")))) + (build-system cargo-build-system) + (arguments + `(;; The test suite is disabled as the internal 'cargo-test-macro' a= nd + ;; 'cargo-test-support' crates are not included in the release. + #:tests? #f + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-cargo-util" ,rust-cargo-util-0.1) + ("rust-clap" ,rust-clap-2) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-crates-io" ,rust-crates-io-0.33) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-crypto-hash" ,rust-crypto-hash-0.3) + ("rust-curl" ,rust-curl-0.4) + ("rust-curl-sys" ,rust-curl-sys-0.4) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-fwdansi" ,rust-fwdansi-1) + ("rust-git2" ,rust-git2-0.13) + ("rust-git2-curl" ,rust-git2-curl-0.14) + ("rust-glob" ,rust-glob-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) + ("rust-humantime" ,rust-humantime-2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-im-rc" ,rust-im-rc-15) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-jobserver" ,rust-jobserver-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-miow" ,rust-miow-0.3) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-opener" ,rust-opener-0.5) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1) + ("rust-rustfix" ,rust-rustfix-0.6) + ("rust-same-file" ,rust-same-file-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-ignored" ,rust-serde-ignored-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-url" ,rust-url-2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi" ,rust-winapi-0.3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("libssh2" ,libssh2) + ("openssl" ,openssl) + ("zlib" ,zlib))) + (home-page "https://crates.io") + (synopsis "Package manager for Rust") + (description "Cargo, a package manager for Rust. This package provid= es +the library crate of Cargo.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cargo-0.53 (package (name "rust-cargo") @@ -8201,7 +8292,6 @@ (define-public rust-cargo-0.53 ("rust-shell-escape" ,rust-shell-escape-0.1) ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) ("rust-tar" ,rust-tar-0.4) - ("rust-tar" ,rust-tar-0.4) ("rust-tempfile" ,rust-tempfile-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-toml" ,rust-toml-0.5) @@ -8309,7 +8399,7 @@ (define-public rust-cargo-metadata-0.6 (define-public rust-cargo-platform-0.1 (package (name "rust-cargo-platform") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) @@ -8318,7 +8408,7 @@ (define-public rust-cargo-platform-0.1 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mzi60pf0z83qkzqp7jwd61xnqz2b5ydsj7rnnikbgyicd5989h2")))) + "09zsf76b9yr02jh17xq925xp1w824w2bwvb78fd0gpx5m1fq5nyb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -8329,6 +8419,39 @@ (define-public rust-cargo-platform-0.1 supported by Cargo.") (license (list license:expat license:asl2.0)))) =20 +(define-public rust-cargo-util-0.1 + (package + (name "rust-cargo-util") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1szsqx6n9lvvpfnppw9xiah0d5mg8x80i5s17kv25q6lg8zn7gzj")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-crypto-hash" ,rust-crypto-hash-0.3) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-hex" ,rust-hex-0.4) + ("rust-jobserver" ,rust-jobserver-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-miow" ,rust-miow-0.3) + ("rust-same-file" ,rust-same-file-1) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://gi= thub.com/rust-lang/cargo") + (synopsis "Miscellaneous support code used by Cargo.") + (description "Miscellaneous support code used by Cargo.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cargon-0.0 (package (name "rust-cargon") @@ -12857,14 +12980,14 @@ (define-public rust-cty-0.2 (define-public rust-curl-0.4 (package (name "rust-curl") - (version "0.4.34") + (version "0.4.41") (source (origin (method url-fetch) (uri (crate-uri "curl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vkm6fyizf8m9yxpv3n5pm9ag3bwlyqa6nz2ga8qkzm5y4m1cs72")))= ) + (base32 "1qqbrvgbnzik4vlni25jwsk3ff57snmbp0zvdzdzhq9jaqrx5ihv")))= ) (build-system cargo-build-system) (arguments `(#:tests? #false ;require internet access @@ -12874,7 +12997,7 @@ (define-public rust-curl-0.4 ("rust-openssl-probe" ,rust-openssl-probe-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-schannel" ,rust-schannel-0.1) - ("rust-socket2" ,rust-socket2-0.3) + ("rust-socket2" ,rust-socket2-0.4) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -12897,7 +13020,7 @@ (define-public rust-curl-0.4 (define-public rust-curl-sys-0.4 (package (name "rust-curl-sys") - (version "0.4.39+curl-7.74.0") + (version "0.4.51+curl-7.80.0") (source (origin (method url-fetch) @@ -12905,7 +13028,7 @@ (define-public rust-curl-sys-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0x7qhq7c3b1vmp3740yiigzm09qvkzpdf578jjrs0s3v3s3cxa07")) + "085gwlfq15fxp0zvx14sf3k91ka8z8i30271i44gwd3ad9z9hc6i")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "curl") #t)))) @@ -15756,6 +15879,31 @@ (define-public rust-duct-0.13 "A library for running child processes.") (license license:expat))) =20 +(define-public rust-duct-0.9 + (package + (name "rust-duct") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "duct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17al305wq9qw54c1idlnjpvwyq37kd1g76z427vgfx0fyiwksmcc")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazycell" ,rust-lazycell-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-os-pipe" ,rust-os-pipe-0.6) + ("rust-shared-child" ,rust-shared-child-0.3)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https:/= /github.com/oconnor663/duct.rs") + (synopsis "a library for running child processes") + (description "a library for running child processes") + (license license:expat))) + (define-public rust-dunce-1 (package (name "rust-dunce") @@ -16807,6 +16955,36 @@ (define-public rust-enumflags2-derive-0.6 (description "Enumflags2 implements the classic bitflags datastructur= e.") (license (list license:expat license:asl2.0)))) =20 +(define-public rust-env-logger-0.9 + (package + (name "rust-env-logger") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-humantime" ,rust-humantime-2) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-termcolor" ,rust-termcolor-1)))) + (home-page "= https://github.com/env-logger-rs/env_logger/") + (synopsis + "A logging implementation for `log` which is configured via an envi= ronment +variable. +") + (description + "This package provides a logging implementation for `log` which is = configured via an environment +variable. +") + (license (list license:expat license:asl2.0)))) + (define-public rust-env-logger-0.8 (package (name "rust-env-logger") @@ -25063,14 +25241,14 @@ (define-public rust-iso8601-0.1 (define-public rust-itertools-0.10 (package (name "rust-itertools") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "itertools" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06dkghwi1a6ah2103gibxnr2ys762m5x4rp75x0q43imis8p5m9p")))= ) + (base32 "1bsyxnm20x05rwc5qskrqy4cfswrcadzlwc26dkqml6hz64vipb9")))= ) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -25530,7 +25708,7 @@ (define-public rust-jni-sys-0.3 (define-public rust-jobserver-0.1 (package (name "rust-jobserver") - (version "0.1.22") + (version "0.1.24") (source (origin (method url-fetch) @@ -25539,7 +25717,7 @@ (define-public rust-jobserver-0.1 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1zg7p4khibisbvd8b1lqvvni6lr00g49d4bq2zj6m76bs7jmlbwp")))) + "1yn1vxbbqv7dqir6qbfcj8h8ddjf89m5mhvm36h13xx7k5raf9dg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -34079,6 +34257,28 @@ (define-public rust-open-1 the system.") (license license:expat))) =20 +(define-public rust-opener-0.5 + (package + (name "rust-opener") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "opener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lkrn4fv1h4m8gmp7ll6x7vjvb6kls2ngwa5cgsh2ix5fb6yp8sf")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-0.2) ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https:/= /github.com/Seeker14491/opener") + (synopsis "Open a file or link using the system default program.") + (description "Open a file or link using the system default program.") + (license (list license:expat license:asl2.0)))) + (define-public rust-opener-0.4 (package (name "rust-opener") @@ -44267,6 +44467,36 @@ (define-public rust-rustdoc-stripper-0.1 "This package provides a tool to manipulate rustdoc comments.") (license license:asl2.0))) =20 +(define-public rust-rustfix-0.6 + (package + (name "rust-rustfix") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0apkjxv3z70vhnyz2kpwsivvndk6qk7kkp0rf7sg8pk7q1gy02vg")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-duct" ,rust-duct-0.9) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-proptest" ,rust-proptest-0.7) + ("rust-similar" ,rust-similar-0.4) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "= https://github.com/rust-lang-nursery/rustfix") + (synopsis "Automatically apply the suggestions made by rustc") + (description "Automatically apply the suggestions made by rustc") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustfix-0.5 (package (name "rust-rustfix") @@ -48793,6 +49023,28 @@ (define-public rust-similar-1 (description "This package provides a diff library for Rust.") (license license:asl2.0))) =20 +(define-public rust-similar-0.4 + (package + (name "rust-similar") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "similar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v6h326qwjdydxk22dfz3x86zp8r1qdnajb3f37w8ngyivzmjgw2")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) + #:cargo-development-inputs + (("rust-console" ,rust-console-0.14) ("rust-insta" ,rust-insta-1)= ))) + (home-page "https://= github.com/mitsuhiko/similar") + (synopsis "A diff library for Rust") + (description "This package provides a diff library for Rust") + (license license:asl2.0))) + (define-public rust-simple-mutex-1 (package (name "rust-simple-mutex") @@ -49635,7 +49887,7 @@ (define-public rust-snap-1 (define-public rust-socket2-0.4 (package (name "rust-socket2") - (version "0.4.0") + (version "0.4.2") (source (origin (method url-fetch) @@ -49644,7 +49896,7 @@ (define-public rust-socket2-0.4 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy")))) + "05imvybc86slkbg6sj9rd1xy9a8ydn1v2bcqjqr346myqzk0zjax")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -52620,7 +52872,7 @@ (define-public rust-tap-1 (define-public rust-tar-0.4 (package (name "rust-tar") - (version "0.4.26") + (version "0.4.37") (source (origin (method url-fetch) @@ -52628,7 +52880,7 @@ (define-public rust-tar-0.4 (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk")))) + "0p5srm08dly2bdgkpnjdfmxvldmvi31q6yxdvjxy0lnx79fm3xfn")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Test tarballs not included in crate. @@ -59888,6 +60140,36 @@ (define-public rust-version-compare-0.0 numbers, and test them against various comparison operators.") (license license:expat))) =20 +(define-public rust-version-sync-0.9 + (package + (name "rust-version-sync") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "version-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kaqwjr7jlq3afh28jn052vm15z58h8szvbggwdavdng0wzy98x7")= ))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-semver-parser" ,rust-semver-parser-0.9) + ("rust-syn" ,rust-syn-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "http= s://github.com/mgeisler/version-sync") + (synopsis + "Crate for ensuring that version numbers in README files and other = files are kept in sync with the crate version.") + (description + "Crate for ensuring that version numbers in README files and other = files are kept in sync with the crate version.") + (license license:expat))) + (define-public rust-version-sync-0.8 (package (name "rust-version-sync") diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm old mode 100644 new mode 100755 index f7f05851f1..a1f3d757cd --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -12,6 +12,7 @@ ;;; Copyright =A9 2020 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright =A9 2020 Matthew James Kraai <kraai@ftbfs.org> ;;; Copyright =A9 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright =A9 2021 (unmatched parenthesis <paren@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -769,8 +770,16 @@ (define rust-1.54 `("procps" ,procps) (package-native-inputs base-rust)))))) =20 +(define rust-1.55 + (rust-bootstrapped-package + rust-1.54 "1.55.0" "07l28f7grdmi65naq71pbmvdd61hwcpi40ry7kp7dy7m233rld= xj")) + +(define rust-1.56 + (rust-bootstrapped-package + rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2= f3")) + ;;; Note: Only the latest versions of Rust are supported and tested. The ;;; intermediate rusts are built for bootstrapping purposes and should no= t ;;; be relied upon. This is to ease maintenance and reduce the time ;;; required to build the full Rust bootstrap chain. -(define-public rust rust-1.54) +(define-public rust rust-1.56)
Thank you for this, it looks promising! We usually split the commits as one per package touched (unless when doing otherwise would break packages for a long series of commits).) Were you able to test it? After you've split your commits into per-package ones, I'll try having a look! Thank you, Maxim

Sorry, I forgot to add = a 'Cc' address, and sent it directly to you... I'll repost that.

Hi!

I was able to test Rust, I can definitely remember 1.56 building pro= perly on my machine. I'll get to work updating it to the latest Guix master= tomorrow. I'm not sure if Cargo worked.

BTW, Rust has released a new 1.57 version; I'll make sure t= o add that.
One question:= will it be possible to merge this into master _if_ I don't touch the 'rust= ' variable (so that Rust packages won't be rebuilt)? If so, I'll revert tha= t change when I update this to latest guix. Rust packages have a habit of a= lways depending on the newest, shinyest releases (that's why I did this in = the first place, although the c-u-f merge did improve the situation by addi= ng 1.54.0)


<= /span>
--=-pP41bTCLplfiMwy5RtG9--