[PATCH] core-updates-frozen: Update `rustc` to version 1.56.1 (from 1.54.0)

  • Done
  • quality assurance status badge
Details
4 participants
  • Efraim Flashner
  • Ludovic Courtès
  • Maxim Cournoyer
  • (unmatched-parenthesis
Owner
unassigned
Submitted by
(unmatched-parenthesis
Severity
normal
Merged with
(
(
(unmatched-parenthesis wrote on 27 Nov 2021 21:42
(address . guix-patches@gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211127204237.4195-1-paren@disroot.org
---
gnu/packages/rust.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
mode change 100644 => 100755 gnu/packages/rust.scm

Toggle diff (28 lines)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
old mode 100644
new mode 100755
index f7f05851f1..0c44eebf29
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -769,8 +769,18 @@ (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)
+
+rust
--
2.34.0
(
(
(unmatched-parenthesis wrote on 28 Nov 2021 00:16
[PATCH v2] Update Cargo to v0.57.0 along with rustc
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211127231653.1835-1-paren@disroot.org
---
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

Toggle diff (517 lines)
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 <pierre.langlois@gmx.com>
;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 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))))))
+(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
(
(
(unmatched-parenthesis wrote on 28 Nov 2021 00:23
[PATCH v3] Update Cargo to v0.57.0 along with rustc
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211127232323.2039-1-paren@disroot.org
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 => 100755 gnu/packages/rust.scm

Toggle diff (525 lines)
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 © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz>
+;;; Copyright © 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))))))
+(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 +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))))
+(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 +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)))
+(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 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 +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)))
+(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)))
+(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)))
+(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)))
+(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 <pierre.langlois@gmx.com>
;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 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))))))
+(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
L
L
Ludovic Courtès wrote on 8 Dec 2021 22:11
control message for bug #52149
(address . control@debbugs.gnu.org)
87lf0uhkex.fsf@gnu.org
merge 52149 52153
quit
M
M
Maxim Cournoyer wrote on 24 Dec 2021 07:05
Re: bug#52149: [PATCH] core-updates-frozen: Update `rustc` to version 1.56.1 (from 1.54.0)
(name . (unmatched-parenthesis)(address . paren@disroot.org)(address . 52149@debbugs.gnu.org)
87lf0azgfc.fsf_-_@gmail.com
Hello!

"(unmatched-parenthesis" <paren@disroot.org> writes:

Toggle quote (508 lines)
> 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 => 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 © 2021 Petr Hodina <phodina@protonmail.com>
> ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz>
> +;;; Copyright © 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))))))
>
> +(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 +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))))
>
> +(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 +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)))
>
> +(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 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 +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)))
>
> +(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)))
>
> +(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)))
>
> +(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)))
>
> +(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 <pierre.langlois@gmx.com>
> ;;; Copyright © 2020 Matthew James Kraai <kra
This message was truncated. Download the full message here.
P
P
Parenthesis wrote on 24 Dec 2021 23:02
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 52149@debbugs.gnu.org)
NV3N4R.AQQTZDNIMPI63@disroot.org
On Fri, Dec 24 2021 at 01:05:11 -0500, Maxim Cournoyer
<maxim.cournoyer@gmail.com> wrote:
Toggle quote (515 lines)
> Hello!
>
> "(unmatched-parenthesis" <paren@disroot.org
> <mailto:paren@disroot.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 => 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 © 2021 Petr Hodina <phodina@protonmail.com
>> <mailto:phodina@protonmail.com>>
>> ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net
>> <mailto:rekado@elephly.net>>
>> ;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz
>> <mailto:kreyren@rixotstudio.cz>>
>> +;;; Copyright © 2021 (unmatched parenthesis <paren@disroot.org
>> <mailto: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))))))
>>
>> +(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 <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 +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))))
>>
>> +(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 +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)))
>>
>> +(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
>> 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 +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)))
>>
>> +(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)))
>>
>> +(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)))
>>
>> +(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)))
>>
>> +(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
>> "0kaqwj
This message was truncated. Download the full message here.
Attachment: file
(
(
(unmatched-parenthesis wrote on 25 Dec 2021 20:54
[PATCH] feat(gnu packages rust): add 'rust-1.55'
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211225195422.10717-1-paren@disroot.org
This commit adds a new version of Rust. This is one part of the extended
bootstrap chain to reach Rust 1.57.
---
gnu/packages/rust.scm | 5 +++++
1 file changed, 5 insertions(+)

Toggle diff (25 lines)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2a43e88727..3cdb9a3cd5 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -771,6 +772,10 @@ (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"))
+
;;; 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
--
2.34.0
(
(
(unmatched-parenthesis wrote on 25 Dec 2021 21:05
[PATCH] feat(gnu/packages/rust): Add 'rust-1.56'
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211225200504.11299-1-paren@disroot.org
This is part of the bootstrap chain towards Rust 1.57.
---
gnu/packages/rust.scm | 4 ++++
1 file changed, 4 insertions(+)

Toggle diff (17 lines)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 3cdb9a3cd5..a07a86763e 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -776,6 +776,10 @@ (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
--
2.34.0
(
(
(unmatched-parenthesis wrote on 26 Dec 2021 15:48
[PATCH] feat(gnu packages rust): Add 'rust-1.57'; Change 'rust' to 'rust-1.57'
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211226144842.4136-1-paren@disroot.org
---
gnu/packages/rust.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Toggle diff (20 lines)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index a07a86763e..524a558777 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -780,8 +780,12 @@ (define rust-1.56
(rust-bootstrapped-package
rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3"))
+(define rust-1.57
+ (rust-bootstrapped-package
+ rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))
+
;;; 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.57)
--
2.34.0
P
P
Parenthesis wrote on 26 Dec 2021 21:46
Re: bug#52149: [PATCH] core-updates-frozen: Update `rustc` to version 1.56.1 (from 1.54.0)
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 52149@debbugs.gnu.org)
ROPQ4R.HLDS5FQVSORH1@disroot.org
Okay, disregard the above patch set... I'm still trying to figure
everything out :)

I didn't realize that you had to send the emails /after/ you finished
the entire patch :P
P
P
Parenthesis wrote on 26 Dec 2021 22:12
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 52149@debbugs.gnu.org)
XWQQ4R.HJZFP8772I6Y@disroot.org
On Sun, Dec 26 2021 at 20:46:03 +0000, Parenthesis <paren@disroot.org>
wrote:
Toggle quote (6 lines)
> Okay, disregard the above patch set... I'm still trying to figure
> everything out :)
>
> I didn't realize that you had to send the emails /after/ you finished
> the entire patch :P

The rustc patches should be okay to merge... I'm still figuring out the
cargo ones
E
E
Efraim Flashner wrote on 27 Dec 2021 13:16
Re: [bug#52149] [PATCH] feat(gnu packages rust): Add 'rust-1.57'; Change 'rust' to 'rust-1.57'
(name . (unmatched-parenthesis)(address . paren@disroot.org)(address . 52149@debbugs.gnu.org)
YcmupzCAbD12I7Eu@3900XT
On Sun, Dec 26, 2021 at 02:48:42PM +0000, (unmatched-parenthesis via Guix-patches via wrote:
Toggle quote (26 lines)
> ---
> gnu/packages/rust.scm | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
> index a07a86763e..524a558777 100644
> --- a/gnu/packages/rust.scm
> +++ b/gnu/packages/rust.scm
> @@ -780,8 +780,12 @@ (define rust-1.56
> (rust-bootstrapped-package
> rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3"))
>
> +(define rust-1.57
> + (rust-bootstrapped-package
> + rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))
> +
> ;;; 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.57)
> --
> 2.34.0
>

I removed the part about updating rust to 1.57. I made the three new
rust- variables public, so that they can be used easily with the #:rust
keyword.

I'm leaving the bug open so you can work on the other patches you
attached before.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHJrqYACgkQQarn3Mo9
g1G9+Q//QZMhUHXisLDwjzaoWYwHi/VESQqEGwxkfMNMScJ0MRbhj1y85OGIgJOH
3a/CRUPhZw236RZdhI7uU8rIaOdcotRXhk3CN62PldmjinkD73iKadT/+oJQtcdD
3DJkts2sSgcPT02Q2tkGC4w7ou1pauITqp8Gs8T7KgH8fwl90CmTW9pQAF+nyPvj
PARwqXZWzfNC1hM7oIa+ZV/N7DtuzcDRqVbahPuDgfifntXK5d1XPgz2ziFXI0Zj
2xMEYn1Qec0taa7UROC9lfO58xDpEB+hwHFGXA1YPrBtFOajP0Y4sK/bl3DkoJXu
yBCDb3jJNFdzZwFz0Zx6DkV4Lick+1X/jKwkC3Nxb7cKMBp+DwkIkm4ubX6WI6ql
DdRq5kI0Iecdn7VKJpFHq3ZNOrJYqB3sd7x/IKAmJ/9xS5BRIqZlaiQ1HKzXmBgj
SxCc2MAak3IcGo+rxh1oi97Ms4L2ua5ojByRha4wKTjLOJhCpErf0h/rPMY0t2Iz
ijvWPS4mS1KZTeeI1O7BB7RIt3nT9oyzHoozqfv9kWvUqNar66pxbjH2ZTbYFwHJ
XTKJURjNskVUGnKXXpwTDWS8nChNO3nduiBzPJk3weAgwXbvgP/LdgjDRvUcB3WK
WWDVc2Ic21VkRuFz6ChJXlAR5jk3Cnhf/+LuCJruJBpj8ywVVnk=
=kfKr
-----END PGP SIGNATURE-----


P
P
Parenthesis wrote on 27 Dec 2021 16:29
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 52149@debbugs.gnu.org)
KP5S4R.7KNF5PB9KNSG2@disroot.org
~/code/clones/guix $
/gnu/store/5lc2cfxszksmak1hhb7d1bj6cz0wzxj7-rust-cargo-0.58.0/bin/cargo
--version
cargo 1.57.0

the patches will be coming in shortly :D

(cargo's versioning scheme is a little weird; the binary seems to have
+1 major version and -1 minor version compared to the crate on
crates.io; see https://lib.rs/crates/cargo.this is the case with
guix's current cargo too:

~/code/clones/guix $ cargo --version
cargo 1.52.0

so don't be alarmed by the 1.57.0 :))
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 01/26] gnu: Add rust-cargo-0.58.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-1-paren@disroot.org
* gnu/packages/crates-io.scm: Add copyright notice.
* gnu/packages/crates-io.scm (rust-cargo-0.58): New variable.
* gnu/packages/crates-io.scm (rust-cargo-0.53): Inherit from rust-cargo-0.58.
---
gnu/packages/crates-io.scm | 88 ++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)

Toggle diff (110 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 656fe164a5..35c39abcdd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Jacob Hrbek <kreyren@rixotstudio.cz>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8221,8 +8222,95 @@ (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.58
+ (package
+ (name "rust-cargo")
+ (version "0.58.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargo" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "011pcmmydmibq2mha19q23mn0yypcpj222fpd9zjj2bvhgm7xdya"))))
+ (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-0.8" ,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-1" ,rust-flate2-1)
+ ("rust-fwdansi" ,rust-fwdansi-1)
+ ("rust-git2" ,rust-git2-0.13)
+ ("rust-git2-curl" ,rust-git2-curl-0.14)
+ ("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-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-os-info" ,rust-os-info-3)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
+ ("rust-proptest" ,rust-proptest-0.9)
+ ("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1)
+ ("rust-rustfix" ,rust-rustfix-0.6)
+ ("rust-same-file" ,rust-same-file-1)
+ ("rust-security-framework" ,rust-security-framework-2)
+ ("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-0.3" ,rust-winapi-0.3))))
+ (inputs
+ (list curl libssh2 openssl zlib))
+ (native-inputs
+ (list pkg-config))
+ (build-system cargo-build-system)
+ (home-page "https://crates.io")
+ (synopsis "Package manager for Rust")
+ (description
+ "Cargo is the package manager for Rust. This package provides the library crate for Cargo.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cargo-0.53
(package
+ (inherit rust-cargo-0.58)
(name "rust-cargo")
(version "0.53.0")
(source
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 02/26] gnu: Remove redundant parts of rust-cargo-0.53
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-2-paren@disroot.org
* gnu/packages/crates-io.scm (rust-cargo-0.53): Remove redundant fields
---
gnu/packages/crates-io.scm | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 35c39abcdd..788cd445cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8322,11 +8322,8 @@ (define-public rust-cargo-0.53
(sha256
(base32
"12ns9v4dd8vnvsaqgd897h2zc19w00i5ii3slda653zbhfzm6zna"))))
- (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
+ `(#:tests? #f
#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-atty" ,rust-atty-0.2)
@@ -8388,12 +8385,7 @@ (define-public rust-cargo-0.53
(native-inputs
(list pkg-config))
(inputs
- (list curl libssh2 openssl 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))))
+ (list curl libssh2 openssl zlib))))
(define-public rust-cargo-metadata-0.13
(package
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 03/26] gnu: Update rust-crossbeam-utils-0.8.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-3-paren@disroot.org
* gnu/packages/crates-io.scm (rust-crossbeam-utils-0.8): Update to 0.8.5.
---
gnu/packages/crates-io.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 788cd445cc..aeb06c8f99 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12001,22 +12001,22 @@ (define-public rust-crossbeam-queue-0.1
(define-public rust-crossbeam-utils-0.8
(package
(name "rust-crossbeam-utils")
- (version "0.8.1")
+ (version "0.8.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "crossbeam-utils" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13fvrqlap7bgvlnpqr5gjcxdhx1jv99pkfg5xdlq5xcy30g6vn82"))))
+ (base32 "1ny481cx8a5pdknypb41jqym03dl8x26i2ldyyp3yb3zrq8zqb6q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-autocfg" ,rust-autocfg-1)
- ("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-lazy-static" ,rust-lazy-static-1))
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-loom" ,rust-loom-0.5))
#:cargo-development-inputs
- (("rust-rand" ,rust-rand-0.7))))
+ (("rust-rand" ,rust-rand-0.8))))
(home-page
"https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils")
(synopsis "Utilities for concurrent programming")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 04/26] gnu: Add rust-cargo-util-0.1.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-4-paren@disroot.org
* gnu/packages/crates-io.scm (rust-cargo-util-0.1): New variable.
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aeb06c8f99..0ad11c8387 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8493,18 +8493,51 @@ (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")
(version "0.0.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "cargon" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cargon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 05/26] gnu: Update rust-curl-0.4; Update rust-curl-sys-0.4.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-5-paren@disroot.org
* gnu/packages/crates-io.scm (rust-curl-0.4): Update to 0.4.41.
* gnu/packages/crates-io.scm (rust-curl-sys-0.4): Update to 0.4.51+curl-7.80.0.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ad11c8387..91d8d10ed2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13051,14 +13051,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
@@ -13068,7 +13068,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)
@@ -13088,18 +13088,18 @@ (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)
- (uri (crate-uri "curl-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0x7qhq7c3b1vmp3740yiigzm09qvkzpdf578jjrs0s3v3s3cxa07"))
- (modules '((guix build utils)))
- (snippet
- '(begin (delete-file-recursively "curl") #t))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "curl-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "085gwlfq15fxp0zvx14sf3k91ka8z8i30271i44gwd3ad9z9hc6i"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "curl") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 06/26] gnu: Add rust-duct-0.9.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-6-paren@disroot.org
* gnu/packages/crates-io.scm (rust-duct-0.9): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 91d8d10ed2..8afa5da4d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16026,6 +16026,25 @@ (define-public rust-duct-0.13
"A library for running child processes.")
(license license:expat)))
+(define-public rust-duct-0.9
+ (package
+ (inherit rust-duct-0.13)
+ (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"))))
+ (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))))))
+
(define-public rust-dunce-1
(package
(name "rust-dunce")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 08/26] gnu: Update dependencies of rust-bstr-0.2.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-8-paren@disroot.org
* gnu/packages/crates-io.scm (rust-bstr-0.2): Update dependency on
rust-quickcheck-0.8 to rust-quickcheck-1.
(To be clear, I have no idea why it was 0.8 before; the lib.rs page says
version 1, see https://lib.rs/bstr.)
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8617df490c..b86e3107da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6853,7 +6853,7 @@ (define-public rust-bstr-0.2
("rust-regex-automata" ,rust-regex-automata-0.1)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (("rust-quickcheck" ,rust-quickcheck-0.8)
+ (("rust-quickcheck" ,rust-quickcheck-1)
("rust-ucd-parse" ,rust-ucd-parse-0.1)
("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
(home-page "https://github.com/BurntSushi/bstr")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 11/26] gnu: Add rust-tracing-subscriber-0.3.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-11-paren@disroot.org
* gnu/packages/crates-io.scm (rust-tracing-subscriber-0.3): New variable.
* gnu/packages/crates-io.scm (rust-tracing-subscriber-0.2): Inherit from rust-tracing-subscriber-0.3.
---
gnu/packages/crates-io.scm | 52 +++++++++++++++++++++++++++++++++-----
1 file changed, 46 insertions(+), 6 deletions(-)

Toggle diff (99 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c52008acf..f9bb0e7cca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57355,25 +57355,24 @@ (define-public rust-tracing-serde-0.1
with @code{serde}.")
(license license:expat)))
-(define-public rust-tracing-subscriber-0.2
+(define-public rust-tracing-subscriber-0.3
(package
(name "rust-tracing-subscriber")
- (version "0.2.15")
+ (version "0.3.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing-subscriber" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "009lxq14kmakv16sh6r7fy0264xbvs81kg6yr57lwnaciw68zym1"))))
+ (base32 "0vy33cn5bjkr3pz4ivhvdb7mbbq37s44qy6rw2crc1z1k5ki7rnm"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #false ;missing test files
+ `(;#:tests? #false ;missing test files
#:cargo-inputs
(("rust-ansi-term" ,rust-ansi-term-0.12)
- ("rust-chrono" ,rust-chrono-0.4)
("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-matchers" ,rust-matchers-0.0)
+ ("rust-matchers" ,rust-matchers-0.1)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-regex" ,rust-regex-1)
("rust-serde" ,rust-serde-1)
@@ -57381,6 +57380,7 @@ (define-public rust-tracing-subscriber-0.2
("rust-sharded-slab" ,rust-sharded-slab-0.1)
("rust-smallvec" ,rust-smallvec-1)
("rust-thread-local" ,rust-thread-local-1)
+ ("rust-time" ,rust-time-0.3)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-core" ,rust-tracing-core-0.1)
("rust-tracing-log" ,rust-tracing-log-0.1)
@@ -57389,6 +57389,7 @@ (define-public rust-tracing-subscriber-0.2
(("rust-criterion" ,rust-criterion-0.3)
("rust-log" ,rust-log-0.4)
("rust-regex" ,rust-regex-1)
+ ("rust-time" ,rust-time-0.3)
("rust-tokio" ,rust-tokio-0.2)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-futures" ,rust-tracing-futures-0.2)
@@ -57409,6 +57410,45 @@ (define-public rust-tracing-subscriber-0.2
application authors using tracing to instrument their applications.")
(license license:expat)))
+(define-public rust-tracing-subscriber-0.2
+ (package
+ (inherit rust-tracing-subscriber-0.3)
+ (name "rust-tracing-subscriber")
+ (version "0.2.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-subscriber" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "009lxq14kmakv16sh6r7fy0264xbvs81kg6yr57lwnaciw68zym1"))))
+ (arguments
+ `(#:tests? #false ;missing test files
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-matchers" ,rust-matchers-0.0)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-sharded-slab" ,rust-sharded-slab-0.1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thread-local" ,rust-thread-local-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-core" ,rust-tracing-core-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.1)
+ ("rust-tracing-serde" ,rust-tracing-serde-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-futures" ,rust-tracing-futures-0.2)
+ ("rust-tracing-log" ,rust-tracing-log-0.1))))))
+
(define-public rust-tracing-subscriber-0.1
(package
(inherit rust-tracing-subscriber-0.2)
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 09/26] gnu: Add rust-version-sync-0.9.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-9-paren@disroot.org
* gnu/packages/crates-io.scm (rust-version-sync-0.9): New variable.
* gnu/packages/crates-io.scm (rust-version-sync-0.8): Inherit from rust-version-sync-0.9.
---
gnu/packages/crates-io.scm | 55 +++++++++++++++++++++++++++-----------
1 file changed, 40 insertions(+), 15 deletions(-)

Toggle diff (85 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b86e3107da..c91e741d85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60351,31 +60351,30 @@ (define-public rust-version-compare-0.0
numbers, and test them against various comparison operators.")
(license license:expat)))
-(define-public rust-version-sync-0.8
+(define-public rust-version-sync-0.9
(package
(name "rust-version-sync")
- (version "0.8.1")
+ (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
- "01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4"))))
+ (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
`(#:skip-build? #t
#:cargo-inputs
- (("rust-itertools" ,rust-itertools-0.8)
- ("rust-proc-macro2" ,rust-proc-macro2-0.4)
- ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.4)
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-pullmark-cmark" ,rust-pulldown-cmark-0.8)
("rust-regex" ,rust-regex-1)
("rust-semver-parser" ,rust-semver-parser-0.9)
- ("rust-syn" ,rust-syn-0.15)
+ ("rust-syn" ,rust-syn-1)
("rust-toml" ,rust-toml-0.5)
- ("rust-url" ,rust-url-1))))
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/mgeisler/version-sync")
(synopsis
"Ensure that version numbers are updated when the crate version changes")
@@ -60384,6 +60383,32 @@ (define-public rust-version-sync-0.8
updated when the crate version changes.")
(license license:expat)))
+(define-public rust-version-sync-0.8
+ (package
+ (inherit rust-version-sync-0.9)
+ (name "rust-version-sync")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "version-sync" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01pq0ia7ak7d69c3chjgdmaaq271yrspgbzmk6wmrwb74hx3skw4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-itertools" ,rust-itertools-0.8)
+ ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-semver-parser" ,rust-semver-parser-0.9)
+ ("rust-syn" ,rust-syn-0.15)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-url" ,rust-url-1))))))
+
(define-public rust-version-sync-0.6
(package
(inherit rust-version-sync-0.8)
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 12/26] gnu: Add rust-time-0.3.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-12-paren@disroot.org
* gnu/packages/crates-io.scm (rust-time-0.3): New variable.
* gnu/packages/crates-io.scm (rust-time-0.2): Inherit from rust-time-0.3.
* gnu/packages/crates-io.scm (rust-time-0.1): Inherit from rust-time-0.2.
---
gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++----------
1 file changed, 45 insertions(+), 16 deletions(-)

Toggle diff (96 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9bb0e7cca..268caec740 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54810,8 +54810,44 @@ (define-public rust-tikv-jemalloc-ctl-0.4
introspection APIs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-time-0.3
+ (package
+ (name "rust-time")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-itoa" ,rust-itoa-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-time-macros" ,rust-time-macros-0.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-criterion-cycles-per-byte" ,rust-criterion-cycles-per-byte-0.1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/time-rs/time")
+ (synopsis "Date and time library")
+ (description "This package provides a date and time library. It is fully
+interoperable with the standard library, and is mostly compatible with
+@code{#![no_std]}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-time-0.2
(package
+ (inherit rust-time-0.3)
(name "rust-time")
(version "0.2.23")
(source
@@ -54821,7 +54857,6 @@ (define-public rust-time-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-const-fn" ,rust-const-fn-0.4)
@@ -54836,27 +54871,21 @@ (define-public rust-time-0.2
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.7)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-standback" ,rust-standback-0.2))))
- (home-page "https://github.com/time-rs/time")
- (synopsis "Date and time library")
- (description "This package provides a date and time library. It is fully
-interoperable with the standard library, and is mostly compatible with
-@code{#![no_std]}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-standback" ,rust-standback-0.2))))))
(define-public rust-time-0.1
(package
+ (inherit rust-time-0.2)
(name "rust-time")
(version "0.1.43")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "time" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 14/26] gnu: Change checksum of rust-cargo-platform-0.1.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-14-paren@disroot.org
* gnu/packages/crates-io.scm (rust-cargo-platform-0.1): Change checksum.
Not sure what's going on here, i guess i committed a version change before
and forgot to add the checksum, and now the checksum isn't appearing in
the diff. Either way, it certainly works -.o.-
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b39f5bf5a..9abe2fac23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8482,7 +8482,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
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 07/26] gnu: Add rust-env-logger-0.9.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-7-paren@disroot.org
* gnu/packages/crates-io.scm (rust-env-logger-0.9): New variable.
* gnu/packages/crates-io.scm (rust-env-logger-0.8): Remove redundant fields.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)

Toggle diff (57 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8afa5da4d3..8617df490c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17096,17 +17096,18 @@ (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.8
+(define-public rust-env-logger-0.9
(package
(name "rust-env-logger")
- (version "0.8.3")
+ (version "0.9.0")
(source
(origin
(method url-fetch)
- (uri (crate-uri "env-logger" version))
+ (uri (crate-uri "env_logger" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p"))))
+ (base32
+ "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -17115,12 +17116,25 @@ (define-public rust-env-logger-0.8
("rust-log" ,rust-log-0.4)
("rust-regex" ,rust-regex-1)
("rust-termcolor" ,rust-termcolor-1))))
- (home-page "https://github.com/sebasmagri/env_logger/")
+ (home-page "https://github.com/env-logger-rs/env_logger")
(synopsis "Logging implementation for @code{log}")
(description
"This package provides a logging implementation for @code{log} which
is configured via an environment variable.")
- (license (list license:expat license:asl2.0))))
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-env-logger-0.8
+ (package
+ (inherit rust-env-logger-0.9)
+ (name "rust-env-logger")
+ (version "0.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env-logger" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p"))))))
(define-public rust-env-logger-0.7
(package
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 10/26] gnu: Update rust-trybuild-1.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-10-paren@disroot.org
* gnu/packages/crates-io.scm (rust-trybuild-1): Update to version 1.0.53.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c91e741d85..1c52008acf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58500,7 +58500,7 @@ (define-public rust-try-lock-0.1
(define-public rust-trybuild-1
(package
(name "rust-trybuild")
- (version "1.0.38")
+ (version "1.0.53")
(source
(origin
(method url-fetch)
@@ -58509,7 +58509,7 @@ (define-public rust-trybuild-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0l5kicbqkk8b9grdg5l2f2w9l47h0s1kjnv6lywvwk292236zc0p"))))
+ "1immnqz1zmiyhj709fipi6xn476ighx6jzmdjqy1az13k0kxdrc6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 13/26] gnu: Update rust-cargo-metadata-0.6.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-13-paren@disroot.org
* gnu/packages/crates-io.scm (rust-cargo-metadata-0.6): Update to 0.1.2.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 268caec740..1b39f5bf5a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8473,7 +8473,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)
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 16/26] gnu: Update rust-jobserver-0.1.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-16-paren@disroot.org
* gnu/packages/crates-io.scm (rust-jobserver-0.1): Update to 0.1.24.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4a76990f9..39d042e2e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25846,7 +25846,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)
@@ -25855,7 +25855,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
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 17/26] gnu: Update rust-itertools-0.10.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-17-paren@disroot.org
* gnu/packages/crates-io.scm (rust-itertools-0.10): Update to 0.10.3.
---
gnu/packages/crates-io.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 39d042e2e2..c7fff724e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25379,19 +25379,23 @@ (define-public rust-iso8601-0.1
(define-public rust-itertools-0.10
(package
(name "rust-itertools")
- (version "0.10.0")
+ (version "0.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "itertools" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06dkghwi1a6ah2103gibxnr2ys762m5x4rp75x0q43imis8p5m9p"))))
+ (base32 "1qy55fqbaisr9qgbn7cvdvqlfqbh1f4ddf99zwan56z7l6gx3ad9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-either" ,rust-either-1))))
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-either" ,rust-either-1)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-permutohedron" ,rust-permutohedron-0.2)
+ ("rust-rand" ,rust-rand-0.7))))
(home-page "https://github.com/rust-itertools/itertools")
(synopsis "Extra iterator adaptors, methods, free functions, and macros")
(description
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 15/26] gnu: Add rust-generator-0.7.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-15-paren@disroot.org
* gnu/packages/crates-io.scm (rust-generator-0.7): New variable.
* gnu/packages/crates-io.scm (rust-generator-0.6): Inherit from rust-generator-0.7.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)

Toggle diff (61 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9abe2fac23..e4a76990f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20498,8 +20498,34 @@ (define-public rust-gdi32-sys-0.2
API library @code{gdi32}.")
(license license:expat)))
+(define-public rust-generator-0.7
+ (package
+ (name "rust-generator")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vhj3f0rf4mlh5vz7pz5rxmgry1cc62x21mf9ld1r292m2f2gnf1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/Xudong-Huang/generator-rs")
+ (synopsis "Stackfull Generator Library in Rust")
+ (description "Stackfull Generator Library in Rust.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-generator-0.6
(package
+ (inherit rust-generator-0.7)
(name "rust-generator")
(version "0.6.20")
(source
@@ -20511,18 +20537,13 @@ (define-public rust-generator-0.6
(sha256
(base32
"0f07mwkarwrqrykhkzqpvfnd5crz20dd8l24psn01kiqzc71dana"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-winapi" ,rust-winapi-0.3)
("rust-cc" ,rust-cc-1)
- ("rust-rustc-version" ,rust-rustc-version-0.2))))
- (home-page "https://github.com/Xudong-Huang/generator-rs")
- (synopsis "Stackfull Generator Library in Rust")
- (description "Stackfull Generator Library in Rust.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-rustc-version" ,rust-rustc-version-0.2))))))
(define-public rust-generic-array-0.14
(package
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 18/26] gnu: Add rust-matchers-0.1.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-18-paren@disroot.org
* gnu/packages/crates-io.scm (rust-matchers-0.1): New variable.
(Not to be confused with rust-matches-0.1.)
* gnu/packages/crates-io.scm (rust-matchers-0.0): Inherit from rust-matchers-0.1.
---
gnu/packages/crates-io.scm | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)

Toggle diff (52 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7fff724e3..3ddd8e7400 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28943,19 +28943,18 @@ (define-public rust-matches-0.1
whether an expression matches a pattern.")
(license license:expat)))
-(define-public rust-matchers-0.0
+(define-public rust-matchers-0.1
(package
(name "rust-matchers")
- (version "0.0.1")
+ (version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "matchers" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh"))))
+ "0n2mbk7lg2vf962c8xwzdq96yrc9i0p8dbmm4wa1nnkcp1dhfqw2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -28968,6 +28967,21 @@ (define-public rust-matchers-0.0
matching, not parsing substrings.")
(license license:expat)))
+(define-public rust-matchers-0.0
+ (package
+ (inherit rust-matchers-0.1)
+ (name "rust-matchers")
+ (version "0.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matchers" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh"))))))
+
(define-public rust-matrixcompare-core-0.1
(package
(name "rust-matrixcompare-core")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 20/26] gnu: Update rust-os-info-3.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-20-paren@disroot.org
* gnu/packages/crates-io.scm (rust-os-info-3): Update to 3.0.9.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4a1054eb66..5824e3b167 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34787,14 +34787,14 @@ (define-public rust-ordermap-0.3
(define-public rust-os-info-3
(package
(name "rust-os-info")
- (version "3.0.6")
+ (version "3.0.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "os_info" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1pbcf2in8i9w6zjzk6jmrd89gm5h7qpyqi3hvkl0axpzp1m57lmk"))))
+ (base32 "0am726dcqslmkkz5p0ijfvwgqy4331fn5p0s1nyxm5wdimdxb7dq"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 19/26] gnu: Add rust-rustfix-0.6.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-19-paren@disroot.org
* gnu/packages/crates-io.scm (rust-rustfix-0.6): New variable.
* gnu/packages/crates-io.scm (rust-rustfix-0.5): Inherit from rust-rustfix-0.6.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++----------
1 file changed, 23 insertions(+), 10 deletions(-)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ddd8e7400..4a1054eb66 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44599,19 +44599,17 @@ (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.5
+(define-public rust-rustfix-0.6
(package
(name "rust-rustfix")
- (version "0.5.1")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustfix" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0kkhfab60747zpmn8jwfdwl9a2s4rqiq7yjjfs7yppfwp9s0pigj"))))
+ (base32 "0apkjxv3z70vhnyz2kpwsivvndk6qk7kkp0rf7sg8pk7q1gy02vg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -44621,11 +44619,11 @@ (define-public rust-rustfix-0.5
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))
#:cargo-development-inputs
- (("rust-difference" ,rust-difference-2)
- ("rust-duct" ,rust-duct-0.13)
- ("rust-env-logger" ,rust-env-logger-0.6)
+ (("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.9)
+ ("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/rustfix")
(synopsis "Automatically apply the suggestions made by rustc")
@@ -44633,6 +44631,21 @@ (define-public rust-rustfix-0.5
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustfix-0.5
+ (package
+ (inherit rust-rustfix-0.6)
+ (name "rust-rustfix")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustfix" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kkhfab60747zpmn8jwfdwl9a2s4rqiq7yjjfs7yppfwp9s0pigj"))))))
+
(define-public rust-rustfix-0.4
(package/inherit rust-rustfix-0.5
(name "rust-rustfix")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 22/26] gnu: Add rust-loom-0.5.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-22-paren@disroot.org
gnu/packages/crates-io.scm (rust-loom-0.5): New variable.
gnu/packages/crates-io.scm (rust-loom-0.4): Inherit from rust-loom-0.5.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)

Toggle diff (77 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a37d869283..66300c32d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28127,17 +28127,17 @@ (define-public rust-logtest-2
(description "This package tests and asserts log statements.")
(license (list license:expat license:asl2.0))))
-(define-public rust-loom-0.4
+(define-public rust-loom-0.5
(package
(name "rust-loom")
- (version "0.4.0")
+ (version "0.5.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "loom" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l"))))
+ (base32 "02a30cv9l2afjq5bg42hgcjspx8fgwyij0cf9saw8b73539wgigd"))))
(build-system cargo-build-system)
(arguments
;; FIXME: build phase fails with the error: "the
@@ -28145,11 +28145,15 @@ (define-public rust-loom-0.4
`(#:skip-build? #true
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-generator" ,rust-generator-0.6)
+ ("rust-generator" ,rust-generator-0.7)
+ ("rust-pin-utils" ,rust-pin-utils-0.1)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1))))
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3))))
(home-page "https://github.com/tokio-rs/loom")
(synopsis "Permutation testing for concurrent code")
(description
@@ -28159,6 +28163,30 @@ (define-public rust-loom-0.4
explosion.")
(license license:expat)))
+(define-public rust-loom-0.4
+ (package
+ (inherit rust-loom-0.5)
+ (name "rust-loom")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "loom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l"))))
+ (arguments
+ ;; FIXME: build phase fails with the error: "the
+ ;; `#[track_caller]` attribute is an experimental feature".
+ `(#:skip-build? #true
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-generator" ,rust-generator-0.6)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-loom-0.3
(package
(inherit rust-loom-0.4)
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:50
[PATCH 21/26] gnu: Add rust-similar-0.4.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-21-paren@disroot.org
* gnu/packages/crates-io.scm (rust-similar-0.4): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5824e3b167..a37d869283 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49137,6 +49137,26 @@ (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
+ (inherit rust-similar-1)
+ (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"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))
+ #:cargo-development-inputs
+ (("rust-console" ,rust-console-0.14)
+ ("rust-insta" ,rust-insta-1))))))
+
(define-public rust-simple-logger-1
(package
(name "rust-simple-logger")
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:51
[PATCH 24/26] gnu: Update rust-socket2-0.4.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-24-paren@disroot.org
* gnu/packages/crates-io.scm (rust-socket2-0.4): Update to 0.4.2.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0467aa874b..c6a900746a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50073,7 +50073,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)
@@ -50082,7 +50082,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
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:51
[PATCH 25/26] gnu: Update rust-tar-0.4.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-25-paren@disroot.org
gnu/packages/crates-io.scm (rust-tar-0.4): Update to 0.4.37.
---
gnu/packages/crates-io.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6a900746a..6cd36bed41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53123,15 +53123,15 @@ (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)
- (uri (crate-uri "tar" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1lr6v3cpkfxd2lk5ll2jd8wr1xdskwj35smnh5sfb8xvzzxnn6dk"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tar" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p5srm08dly2bdgkpnjdfmxvldmvi31q6yxdvjxy0lnx79fm3xfn"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Test tarballs not included in crate.
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:51
[PATCH 26/26] gnu: Add rust-time-macros-0.2.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-26-paren@disroot.org
gnu/packages/crates-io.scm (rust-time-macros-0.2): New variable.
gnu/packages/crates-io.scm (rust-time-macros-0.1): Inherit from rust-time-macros-0.2.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6cd36bed41..9c58a734a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55015,17 +55015,30 @@ (define-public rust-time-0.1
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-log" ,rust-log-0.4)
- ("rust-winapi" ,rust-winapi-0.3))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
+(define-public rust-time-macros-0.2
+ (package
+ (name "rust-time-macros")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "time-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mj7pv8y9j2csrh1l8aabras36pgysbnfy18330srh4g8sihrsr5"))))
+ (build-system cargo-build-system)
(home-page "https://github.com/time-rs/time")
- (synopsis "Simple time handling in Rust")
- (description
- "This package provides utilities for working with time-related functions
-in Rust.")
- (license (list license:asl2.0
- license:expat))))
+ (synopsis "Procedural macros for the time crate")
+ (description "This package provides procedural macros for the time
+ crate.")
+ (license (list license:expat license:asl2.0))))
(define-public rust-time-macros-0.1
(package
+ (inherit rust-time-macros-0.2)
(name "rust-time-macros")
(version "0.1.0")
(source
@@ -55036,16 +55049,10 @@ (define-public rust-time-macros-0.1
(sha256
(base32
"0bdbxjgbxb81xgy08h5dh4qvwy95sy9x8g1y31g11g4my3lvdscs"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
- ("rust-time-macros-impl" ,rust-time-macros-impl-0.1))))
- (home-page "https://github.com/time-rs/time")
- (synopsis "Procedural macros for the time crate")
- (description "This package provides procedural macros for the time
-crate.")
- (license (list license:expat license:asl2.0))))
+ ("rust-time-macros-impl" ,rust-time-macros-impl-0.1))))))
(define-public rust-time-macros-impl-0.1
(package
--
2.34.0
(
(
(unmatched-parenthesis wrote on 27 Dec 2021 17:51
[PATCH 23/26] gnu: Add rust-opener-0.5.
(address . 52149@debbugs.gnu.org)(name . (unmatched-parenthesis)(address . paren@disroot.org)
20211227165103.10075-23-paren@disroot.org
* gnu/packages/crates-io.scm (rust-opener-0.5): New variable.
* gnu/packages/crates-io.scm (rust-opener-0.4): Inherit from rust-opener-0.5.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)

Toggle diff (62 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 66300c32d8..0467aa874b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34441,29 +34441,49 @@ (define-public rust-open-1
the system.")
(license license:expat)))
-(define-public rust-opener-0.4
+(define-public rust-opener-0.5
(package
(name "rust-opener")
- (version "0.4.1")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "opener" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append "-" version ".tar.gz"))
(sha256
(base32
- "1bpknqvhqkalhmq8n2m97apc0r3y194ppybl1qxay34xr83p848k"))))
+ "0lkrn4fv1h4m8gmp7ll6x7vjvb6kls2ngwa5cgsh2ix5fb6yp8sf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
+ (("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 "This crate provides the ability to open a file or link with
the default program configured on the system.")
(license (list license:expat license:asl2.0))))
+(define-public rust-opener-0.4
+ (package
+ (inherit rust-opener-0.5)
+ (name "rust-opener")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "opener" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bpknqvhqkalhmq8n2m97apc0r3y194ppybl1qxay34xr83p848k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-openssl-0.10
(package
(name "rust-openssl")
--
2.34.0
M
M
Maxim Cournoyer wrote on 17 Jan 2022 18:07
Re: bug#52149: [PATCH] core-updates-frozen: Update `rustc` to version 1.56.1 (from 1.54.0)
(name . Efraim Flashner)(address . efraim@flashner.co.il)
877dayjno1.fsf_-_@gmail.com
Hi!

Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (34 lines)
> On Sun, Dec 26, 2021 at 02:48:42PM +0000, (unmatched-parenthesis via Guix-patches via wrote:
>> ---
>> gnu/packages/rust.scm | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
>> index a07a86763e..524a558777 100644
>> --- a/gnu/packages/rust.scm
>> +++ b/gnu/packages/rust.scm
>> @@ -780,8 +780,12 @@ (define rust-1.56
>> (rust-bootstrapped-package
>> rust-1.55 "1.56.1" "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3"))
>>
>> +(define rust-1.57
>> + (rust-bootstrapped-package
>> + rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))
>> +
>> ;;; 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.57)
>> --
>> 2.34.0
>>
>
> I removed the part about updating rust to 1.57. I made the three new
> rust- variables public, so that they can be used easily with the #:rust
> keyword.
>
> I'm leaving the bug open so you can work on the other patches you
> attached before.

With the version-1.4.0 branch merged, the default rust used is now 1.57.
Were there other patches remaining to apply here? If so, could you
rebase them and send them again? In any case, let us know!

Thank you,

Maxim
(
Fwd: close obsolete patches
(address . control@debbugs.gnu.org)
CMTTMY8LGUOF.3F1ZPF6MVBQBX@guix-aspire
close 52153 53444 53472 54310 54357 56908
thanks

-- (
?
Your comment

This issue is archived.

To comment on this conversation send an email to 52149@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52149
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch