diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-03 10:19:58 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:10 +0200 |
commit | 8119040ffdcd0ec5e862008511d07409276e0701 (patch) | |
tree | 1f0005f67630f9c201355a06e57c70d30c567b6a | |
parent | c92816c5d9faa2ca0971f0678be1c84119bcdc10 (diff) |
gnu: rust-cargo: Update to 0.76.
* gnu/packages/crates-io.scm (rust-cargo): Update to 0.76.
[source]: Remove snippet.
[cargo-inputs]: Add rust-anystream-0.6, rust-anstyle-1,
rust-color-print-0.3, rust-serde-untagged-0.1,
rust-supports-hyperlinks-2. Replace rust-cargo-credential-0.3 with 0.4,
rust-cargo-credential-libsecret-0.3 with 0.4,
rust-cargo-credential-macos-keychain-0.3 with 0.4,
rust-cargo-credential-wincred-0.3 with 0.4, rust-crates-io-0.38 with
0.39, rust-git2-0.17 with 0.18, rust-git2-curl-0.18 with 0.19,
rust-gix-0.45 with 0.55, rust-gix-features-0.30 with 0.35,
rust-itertools-0.10 with 0.11, rust-libgit2-sys-0.15 with 0.16,
rust-toml-0.7 with 0.8, rust-toml-edit-0.19 with 0.20. Remove
rust-fwdansi-1, rust-strip-ansi-escapes-0.1, rust-termcolor-1.
[inputs]: Replace libgit2-1.6 with 1.7.
Change-Id: I6a46b9d95dab076d0ff238d6b34902da512f1468
-rw-r--r-- | gnu/packages/crates-io.scm | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 423179657e..a7b50b8cc8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9869,47 +9869,44 @@ capabilities.") (description "This package provides spec generation for clap-rs/clap.") (license license:expat))) -(define-public rust-cargo-0.74 +(define-public rust-cargo-0.76 (package (name "rust-cargo") - (version "0.74.0") + (version "0.76.0") (source (origin (method url-fetch) (uri (crate-uri "cargo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mjcdim8fryq5kr4c3agzc8pvjlaf67kkmhws6wykpqrkkxp8i94")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version) - (string-append "^" version))))))) + (base32 "14yjyvj9bl6mlzx6bbi3igflgdrx1hil9ifnf1dl9xnm4mb2gjw6")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `cargo_test_support` + `(#:tests? #f ; unresolved import `cargo_test_support` #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) + (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anyhow" ,rust-anyhow-1) ("rust-base64" ,rust-base64-0.21) ("rust-bytesize" ,rust-bytesize-1) - ("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.3) - ("rust-cargo-credential-macos-keychain" ,rust-cargo-credential-macos-keychain-0.3) - ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.3) + ("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.4) + ("rust-cargo-credential-macos-keychain" ,rust-cargo-credential-macos-keychain-0.4) + ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.4) ("rust-cargo-platform" ,rust-cargo-platform-0.1) ("rust-cargo-util" ,rust-cargo-util-0.2) ("rust-clap" ,rust-clap-4) - ("rust-crates-io" ,rust-crates-io-0.38) + ("rust-color-print" ,rust-color-print-0.3) + ("rust-crates-io" ,rust-crates-io-0.39) ("rust-curl" ,rust-curl-0.4) ("rust-curl-sys" ,rust-curl-sys-0.4) ("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.17) - ("rust-git2-curl" ,rust-git2-curl-0.18) - ("rust-gix" ,rust-gix-0.45) - ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-git2" ,rust-git2-0.18) + ("rust-git2-curl" ,rust-git2-curl-0.19) + ("rust-gix" ,rust-gix-0.55) + ("rust-gix-features" ,rust-gix-features-0.35) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) @@ -9919,11 +9916,11 @@ capabilities.") ("rust-ignore" ,rust-ignore-0.4) ("rust-im-rc" ,rust-im-rc-15) ("rust-indexmap" ,rust-indexmap-2) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-itertools" ,rust-itertools-0.11) ("rust-jobserver" ,rust-jobserver-0.1) ("rust-lazycell" ,rust-lazycell-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.15) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) ("rust-memchr" ,rust-memchr-2) ("rust-opener" ,rust-opener-0.6) ("rust-openssl" ,rust-openssl-0.10) @@ -9935,20 +9932,20 @@ capabilities.") ("rust-rustfix" ,rust-rustfix-0.6) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) + ("rust-serde-untagged" ,rust-serde-untagged-0.1) ("rust-serde-value" ,rust-serde-value-0.7) ("rust-serde-ignored" ,rust-serde-ignored-0.1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha1" ,rust-sha1-0.10) ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) + ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-2) ("rust-syn" ,rust-syn-2) ("rust-tar" ,rust-tar-0.4) ("rust-tar" ,rust-tar-0.4) ("rust-tempfile" ,rust-tempfile-3) - ("rust-termcolor" ,rust-termcolor-1) ("rust-time" ,rust-time-0.3) - ("rust-toml" ,rust-toml-0.7) - ("rust-toml-edit" ,rust-toml-edit-0.19) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.20) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-unicase" ,rust-unicase-2) @@ -9957,13 +9954,12 @@ capabilities.") ("rust-url" ,rust-url-2) ("rust-walkdir" ,rust-walkdir-2) ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-same-file" ,rust-same-file-1) - ("rust-snapbox" ,rust-snapbox-0.4)))) + #:cargo-development-inputs (("rust-same-file" ,rust-same-file-1) + ("rust-snapbox" ,rust-snapbox-0.4)))) (native-inputs (list pkg-config)) (inputs - (list curl libssh2 libgit2-1.6 openssl zlib)) + (list curl libssh2 libgit2-1.7 openssl zlib)) (home-page "https://crates.io") (synopsis "Package manager for Rust") (description "Cargo, a package manager for Rust. This package provides |