aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Alesius <paul@unnservice.com>2023-02-08 14:33:01 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-08 15:44:33 -0500
commit0357bbbcd850f9220078a62da3c30358b8983765 (patch)
treecb2ecd29ca0f0052fb9f445873ca32306c8d5238
parent8d79f78e3eb15e8f4075ebf0643706333c9391eb (diff)
downloadguix-0357bbbcd850f9220078a62da3c30358b8983765.tar
guix-0357bbbcd850f9220078a62da3c30358b8983765.tar.gz
gnu: rust-cargo: Update to 0.60.0.
* gnu/packages/crates-io.scm (rust-cargo-0.60): Update to 0.60.0. [cargo-inputs]: Add rust-cargo-util-0.1. Replace rust-env-logger-0.8 with rust-env-logger-0.9. Replace rust-opener-0.4 with rust-opener-0.5. Add rust-os-info-3. Replace rust-rustfix-0.5 with rust-rustfix-0.6. Add rust-socket2-0.4. Remove duplicate rust-tar-0.4. * gnu/packages/rust-apps.scm (rust-cargo-c): Update to 0.9.8+cargo-0.60. [cargo-inputs]: Replace rust-cbindgen-0.19 with rust-cbindgen-0.20. Replace rust-cargo-0.53 with rust-cargo-0.60. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/crates-io.scm16
-rw-r--r--gnu/packages/rust-apps.scm11
2 files changed, 15 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c404b48842..b06162bdfa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9254,10 +9254,10 @@ capabilities.")
("rust-error-chain" ,rust-error-chain-0.12)
("rust-libc" ,rust-libc-0.2))))))
-(define-public rust-cargo-0.53
+(define-public rust-cargo-0.60
(package
(name "rust-cargo")
- (version "0.53.0")
+ (version "0.60.0")
(source
(origin
(method url-fetch)
@@ -9266,7 +9266,7 @@ capabilities.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "12ns9v4dd8vnvsaqgd897h2zc19w00i5ii3slda653zbhfzm6zna"))))
+ "0xws4y7h4mmq8flnzsgf6fph2hx3rjgypyll4wzp15035ymly6dw"))))
(build-system cargo-build-system)
(arguments
`(;; The test suite is disabled as the internal 'cargo-test-macro' and
@@ -9277,6 +9277,7 @@ capabilities.")
("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)
@@ -9284,7 +9285,7 @@ capabilities.")
("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.8)
+ ("rust-env-logger" ,rust-env-logger-0.9)
("rust-filetime" ,rust-filetime-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-flate2" ,rust-flate2-1)
@@ -9306,22 +9307,23 @@ capabilities.")
("rust-memchr" ,rust-memchr-2)
("rust-miow" ,rust-miow-0.3)
("rust-num-cpus" ,rust-num-cpus-1)
- ("rust-opener" ,rust-opener-0.4)
+ ("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-rand" ,rust-rand-0.8)
("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1)
- ("rust-rustfix" ,rust-rustfix-0.5)
+ ("rust-rustfix" ,rust-rustfix-0.6)
("rust-same-file" ,rust-same-file-1)
("rust-semver" ,rust-semver-0.10)
("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-socket2" ,rust-socket2-0.4)
("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)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index f4ef2f103e..71605f1b88 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
@@ -1871,10 +1871,11 @@ language. It is a part of a larger rls-2.0 effort to create excellent IDE
support for Rust.")
(license (list license:expat license:asl2.0))))
+;;; Note: keep in sync with our current Rust/Cargo version.
(define-public rust-cargo-c
(package
(name "rust-cargo-c")
- (version "0.8.1+cargo-0.53")
+ (version "0.9.8+cargo-0.60")
(source
(origin
(method url-fetch)
@@ -1883,12 +1884,12 @@ support for Rust.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0fwdxhdj2963xr6xfqr56i7hikhsdv562vgxq2dj3h2mi3dil1k6"))))
+ "1zdzs3drjr9p6chg32inyi05rfv1c12nkk4bi7qpha12m6rsn26d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-cbindgen" ,rust-cbindgen-0.19)
- ("rust-cargo" ,rust-cargo-0.53) ;
+ (("rust-cbindgen" ,rust-cbindgen-0.20)
+ ("rust-cargo" ,rust-cargo-0.60)
("rust-anyhow" ,rust-anyhow-1)
("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)
("rust-structopt" ,rust-structopt-0.3)