From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sF6nBqLvomGvWAAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 03:55:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4GmCAaLvomGVfQAAbx9fmQ (envelope-from ) for ; Sun, 28 Nov 2021 02:55:30 +0000 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 5CDA829D9 for ; Sun, 28 Nov 2021 03:55:29 +0100 (CET) Received: from localhost ([::1]:46008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrALf-0008Le-U8 for larch@yhetil.org; Sat, 27 Nov 2021 21:55:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrALH-0008JP-Ep for guix-patches@gnu.org; Sat, 27 Nov 2021 21:55:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrALH-0006gO-5w for guix-patches@gnu.org; Sat, 27 Nov 2021 21:55:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mrALH-0000py-56 for guix-patches@gnu.org; Sat, 27 Nov 2021 21:55:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52149] [PATCH v2] Update Cargo to v0.57.0 along with rustc References: <20211127204237.4195-1-paren@disroot.org> In-Reply-To: <20211127204237.4195-1-paren@disroot.org> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Nov 2021 02:55:03 +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: 52149@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 52149-submit@debbugs.gnu.org id=B52149.16380680803164 (code B ref 52149); Sun, 28 Nov 2021 02:55:03 +0000 Received: (at 52149) by debbugs.gnu.org; 28 Nov 2021 02:54:40 +0000 Received: from localhost ([127.0.0.1]:34777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrAKt-0000or-8k for submit@debbugs.gnu.org; Sat, 27 Nov 2021 21:54:40 -0500 Received: from knopi.disroot.org ([178.21.23.139]:35008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr6wM-0003PS-6V for 52149@debbugs.gnu.org; Sat, 27 Nov 2021 18:17:07 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C58C87BA34; Sun, 28 Nov 2021 00:17:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new 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 yYOMV8y9LfnA; Sun, 28 Nov 2021 00:17:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1638055022; bh=HMe1wA/mY7gI8IV2Puc1LzEJPo7miwGxaHXwX52WjBc=; h=From:To:Cc:Subject:Date; b=fukF6gJcJRfyeoDfNccx4fEydWNGZd6TaOKZiWbJzPXXX5SvmUtdwgXYWCzTE7mgI NAJo0MsrOU53mOd9W3Ys/Eyd5EEtXtZDZdUytvP/VxbzookRejo0nqsB3wfdXAoI5j NGPFpOFdoa/l/8a3i8m3tK+9yxW+EB3jvEA/SlX+jEHXwedYlg4ZHUN07X7NUHqHaQ BbWHk8Sry+zOyE/I/IhC47g/Uk+qT0vF0hTNWh/CjEhHRmRYWIKiECkrOpnnM+trlx RbjtMG4WZUoep8dXCqdXh1uDVYeWaPFeZXtFXzAsbb58jRX1ndvF1ruSneXIwCBInB H+ybn2IAjliIw== Date: Sat, 27 Nov 2021 23:16:53 +0000 Message-Id: <20211127231653.1835-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 27 Nov 2021 21:54:37 -0500 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: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" From: "\(unmatched-parenthesis via Guix-patches" via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638068129; 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: 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=bDBRXnQMkb/Nt70MEZGdyIhoA6lP3m8/3J8ua27tewU=; b=I/pukXPNeb0Uev+IhdXwfydHqOmxHCXg5ZOa4EMpACMzusbFNXiFHJdHBn8aX3YFQEMmW2 eC7ubfkrJac9G8cp9GRr51TOamKHFClKFjf1E/tLF2/dpo/HRmIHYM5+Auo2Eb1hYUroUW 1fZOIppbVzZ0vD0/1sSbZVzdIQ+89TqPET/6CrHDmZiFF65Bpdukax5ynCbdp6w3LAXDsw u5JpL/bwPSJ/i81LZPBuKUYTm8lt972KiIG4belCERJxPqpjATyIIbZn+EK9fqaoo9hMAl 9yrYpwjMCRp1zv4CvlCSWWsMbP5Jx6gEyu73KOfQMVLTMJw6yupq4ynPg61UWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638068129; a=rsa-sha256; cv=none; b=aRMjUUFZkzbcfqu7GI6gAEiDZ3VU3yIkCiPyF5rSPP4zX6u2JO19FKllG6nHRj9wJz3Ecp YQpnnajajbfISK6NqgMKSQT70/O3xcSapJYSuc7DQxOl8tinYjpDX/vlUTduauMLhRE4fD /+LIEtIUc7hr4JYpkLIh0zTWfvCp/Ag6QrC5oRUxb6n8Y/HErXX+dqxLEJKuX5u8EgPEgJ DCbv8CB4YuRkdpAu6d9eTWqk123M4NhraPEiB/3igCLdY/SHFEZRDST5Xyc6dp6tNmodxh xwxVLOuK5CtMGou5hZo6Orw5FftR3edz6KrgCT4+2jpYJ+BYCENC7uRbKFfGdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=fukF6gJc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=fukF6gJc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5CDA829D9 X-Spam-Score: -2.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: Wiht9/3q6Dmn --- gnu/packages/crates-io.scm | 313 +++++++++++++++++++++++++++++++++++-- gnu/packages/rust.scm | 11 +- 2 files changed, 307 insertions(+), 17 deletions(-) mode change 100644 => 100755 gnu/packages/rust.scm diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8c4c7bd39..911ef4de72 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8134,6 +8134,96 @@ (define-public rust-caps-0.3 ("rust-error-chain" ,rust-error-chain-0.12) ("rust-libc" ,rust-libc-0.2)))))) +(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' and + ;; '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 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 +8291,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 +8398,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 +8407,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 +8418,39 @@ (define-public rust-cargo-platform-0.1 supported by Cargo.") (license (list license:expat license:asl2.0)))) +(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://github.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 +12979,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 +12996,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 +13019,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 +13027,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 +15878,31 @@ (define-public rust-duct-0.13 "A library for running child processes.") (license license:expat))) +(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 +16954,36 @@ (define-public rust-enumflags2-derive-0.6 (description "Enumflags2 implements the classic bitflags datastructure.") (license (list license:expat license:asl2.0)))) +(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 environment +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 +25240,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 +25707,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 +25716,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 +34256,28 @@ (define-public rust-open-1 the system.") (license license:expat))) +(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 +44466,36 @@ (define-public rust-rustdoc-stripper-0.1 "This package provides a tool to manipulate rustdoc comments.") (license license:asl2.0))) +(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 +49022,28 @@ (define-public rust-similar-1 (description "This package provides a diff library for Rust.") (license license:asl2.0))) +(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 +49886,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 +49895,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 +52871,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 +52879,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 +60139,36 @@ (define-public rust-version-compare-0.0 numbers, and test them against various comparison operators.") (license license:expat))) +(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 "https://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 © 2020 Pierre Langlois ;;; Copyright © 2020 Matthew James Kraai ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 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)))))) +(define rust-1.55 + (rust-bootstrapped-package + rust-1.54 "1.55.0" "07l28f7grdmi65naq71pbmvdd61hwcpi40ry7kp7dy7m233rldxj")) + +(define rust-1.56 + (rust-bootstrapped-package + rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3")) + ;;; Note: Only the latest versions of Rust are supported and tested. The ;;; intermediate rusts are built for bootstrapping purposes and should not ;;; 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) -- 2.34.0