Commit graph

150457 commits

Author SHA1 Message Date
Maxim Cournoyer
2515817118
gnu: rust-zerocopy-derive-0.8: Update to 0.8.13.
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.8): Update to
0.8.13.

Change-Id: Ia23684a67a84d656036c15d25d7634e6e49f05ab
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:06 +02:00
Maxim Cournoyer
36f7b4e83f
gnu: rust-syn-2: Update to 2.0.90.
* gnu/packages/crates-io.scm (rust-syn-2): Update to 2.0.90.
[arguments]: Update comment above #:tests? argument.

Change-Id: Ic37eef85baebb3e45610fcaad57e0ae622b221e9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:06 +02:00
Maxim Cournoyer
7eb6132e1e
gnu: rust-proc-macro2-1: Update to 1.0.92.
* gnu/packages/crates-io.scm (rust-proc-macro2-1): Update to 1.0.92.

Change-Id: Ib126bce83336075dca0aea7165c6ee084b7180f9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:06 +02:00
Maxim Cournoyer
9d766e7ada
gnu: rust-libc-0.2: Update to 0.2.168.
* gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.168.

Change-Id: If07c0bd242b012465728c7a44c2eb34fd81e75fb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:05 +02:00
Maxim Cournoyer
57ed4771e9
gnu: rust-ruzstd-0.7: Update to 0.7.3.
* gnu/packages/crates-io.scm (rust-ruzstd-0.7): Update to 0.7.3.

Change-Id: I5db86546237a2af5b619a14380a6298b956b8c8c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:05 +02:00
Maxim Cournoyer
071c05d2f8
gnu: rust-object-0.36: Update to 0.36.5.
* gnu/packages/crates-io.scm (rust-object-0.36): Update to 0.36.5.
[arguments]: Simply #:cargo-test-flags.
{#:cargo-inputs}: Update rust-hashbrown to 0.15.

Change-Id: I06b78b73115c4078acb0604c3ac6d45566d42d96
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:05 +02:00
Maxim Cournoyer
cca1d4d92f
gnu: rust-wasmparser-0.216: Update to 0.218.
* gnu/packages/crates-io.scm (rust-wasmparser-0.216): Replace with...
(rust-wasmparser-0.218): ... this.  Add comment w.r.t. disabling tests.
(rust-wasmparser-0.118): Inherit from it, removing now duplicate fields.
(rust-object-0.36): Adjust accordingly.

Change-Id: I712c36a92d751447560c9c5ca9770c450cfc5030
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:05 +02:00
Maxim Cournoyer
3d0814a1e7
gnu: Add rust-read-process-memory-0.1.
* gnu/packages/crates-io.scm (rust-read-process-memory-0.1): New variable.

Change-Id: Iee6386d28ea10a83ac769251a7341a6d0caccdc6
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:15:05 +02:00
Efraim Flashner
07bdee0277
gnu: mrustc: Update to 0.11.0-1.5e01a76.
* gnu/packages/rust.scm (%mrustc-commit): Update to newest commit.
(%mrustc-source): Update to 0.11.0-1.5e01a76.  Add a patch.  Adjust the
snippet to not use vendored openssl.
(rust-bootstrap)[source]: Remove patch, remove patch-flags.  Add to the
snippet a substitution for compatibility with llvm-13.
[inputs]: Remove input labels.  Remove conditional use of clang.
[arguments]: Allow parallel building on all architectures.  Update the
make-flags.  Replace the 'unpack phase to unpack the mrustc sources.
Delete the custom 'set-mrustc-sources and 'patch-cargo-checksum phases.
Adjust the custom 'patch-makefiles phase.  Adjust the 'configure and
'build phases to no longer use clang on some architectures.
* gnu/packages/patches/mrustc-patches.patch: New file.
* gnu/packages/patches/rustc-1.54.0-src.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Update it.

Change-Id: I7e444abe4b386b1bb77f05a278ddef45152ddb3c
2025-01-06 12:15:04 +02:00
Efraim Flashner
584c79d5df
gnu: rust-ring-0.13: Build source using trivial-build-system.
This removes this use of computed-origin-method.

* gnu/packages/crates-crypto.scm (rust-ring-0.13-sources): Replace use
of computed-origin-method with an actual package.

Change-Id: I5501ca204c833e6b0ee17967812af5261db7cd9a
2025-01-06 12:15:04 +02:00
Efraim Flashner
57be7a0184
gnu: rust-ring-0.14: Build source using trivial-build-system.
This removes this use of computed-origin-method.

* gnu/packages/crates-crypto.scm (rust-ring-0.14-sources): Replace use
of computed-origin-method with an actual package.

Change-Id: Ice40161411828b88321509a1cf5b07a6553f0ce7
2025-01-06 12:15:04 +02:00
Efraim Flashner
7db675130f
gnu: rust-ring-0.16: Build source using trivial-build-system.
This removes this use of computed-origin-method.

* gnu/packages/crates-crypto.scm (rust-ring-0.16-sources): Replace use
of computed-origin-method with an actual package.

Change-Id: I142daa76f3c312fa6e9b46a1ef50a88e98d392dd
2025-01-06 12:15:04 +02:00
Efraim Flashner
6975b1871b
gnu: rust-ring-0.17: Build source using trivial-build-system.
This removes this use of computed-origin-method.

* gnu/packages/crates-crypto.scm (rust-ring-0.17-sources): Replace use
of computed-origin-method with an actual package.

Change-Id: I195805492d61e7a1294926a047b0332265ae8187
2025-01-06 12:15:04 +02:00
Efraim Flashner
5c48aa9954
gnu: alacritty: Skip a test.
* gnu/packages/terminals.scm (alacritty)[arguments]: Add a
cargo-test-flag to skip the shell completions test.

Change-Id: I324404c536934652e5e647ab0a37b59f21a29819
2025-01-06 12:15:04 +02:00
Efraim Flashner
c75a1c9e36
gnu: python-pyopenssl: Update to 24.2.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 24.2.1.
[source]: Update pypi-uri name.
[arguments]: Adjust the 'check phase for the new release date.

Change-Id: Iebf7ea8668233a70a05b8cea728734694c3c2dde
2025-01-06 12:15:04 +02:00
Efraim Flashner
97aa14a222
gnu: python-cryptography: Update to 43.0.3.
* gnu/packages/python-crypto.scm (python-cryptography): Update to
43.0.3.
[source]: Add snippet to ease building with maturin.
[build-system]: Switch to cargo-build-system.
[arguments]: Remove custom 'disable-rust-extension-build phase.  Replace
new cargo-build-system 'build, 'check and 'install phases with phases
from the pyproject-build-system.
[cargo-inputs]: New field.
[inputs]: Remove python-cryptography-rust.  Add maturin, python-wrapper.
(python-cryptography-rust): Remove variable.

Change-Id: I6523f00964b8e82a93ed8a1f8b2e1f49ddd1ddbc

squash python-cryptography to 43.0.3

Change-Id: If8497f64265afab1d5d47a8aa017be908f612d3d
2025-01-06 12:15:04 +02:00
Efraim Flashner
a6fdd8099b
gnu: python-cryptography-vectors: Update to 43.0.3.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 43.0.3.

Change-Id: Ie35ceba7a38966dd950d96e7c058749eeab90679
2025-01-06 12:15:04 +02:00
Efraim Flashner
d9d54c6a2c
gnu: Add rust-asn1-0.16.
* gnu/packages/crates-tls.scm (rust-asn1-0.16): New variable.

Change-Id: I1293ae1cb7758d3f494049ad21101b2e0fdd1cd5
2025-01-06 12:15:03 +02:00
Efraim Flashner
cf00c93ae1
gnu: Add rust-asn1-derive-0.16.
* gnu/packages/crates-tls.scm (rust-asn1-derive-0.16): New variable.

Change-Id: I8d395a29872c7dcc0ee23d304415111b030c4ac3
2025-01-06 12:15:03 +02:00
Efraim Flashner
2e1579351f
gnu: rust-python3-dll-a-0.2: Update to 0.2.11.
* gnu/packages/crates-windows.scm (rust-python3-dll-a-0.2): Update to
0.2.11.

Change-Id: Ie7d3a81b477213ceb69f49f77ceb1a1578bbd9a6
2025-01-06 12:15:03 +02:00
Efraim Flashner
e886ad7862
gnu: Add rust-asn1-derive-0.20.
* gnu/packages/crates-tls.scm (rust-asn1-derive-0.20): New variable.
(rust-asn1-derive-0.15): Inherit from rust-asn1-derive-0.20.

Change-Id: I0dc322c8f0e463413095651b630fe12661e021c9
2025-01-06 12:15:03 +02:00
Efraim Flashner
982ef5a459
gnu: Add rust-asn1-0.20.
* gnu/packages/crates-tls.scm (rust-asn1-0.20): New variable.
(rust-asn1-0.15): Inherit from rust-asn1-0.20.

Change-Id: I28c12d4e910d40970d40bcf443a018cbdea3c812
2025-01-06 12:15:03 +02:00
Efraim Flashner
a7af54ec32
gnu: Add rust-pyo3-0.23.
* gnu/packages/crates-io.scm (rust-pyo3-0.23): New variable.
(rust-pyo3-0.22): Inherit from rust-pyo3-0.23.

Change-Id: I026d42ad383641e8c26b7aa51a53eda739957526
2025-01-06 12:15:03 +02:00
Efraim Flashner
cba48b514b
gnu: Add rust-pyo3-macros-0.23.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.23): New variable.
(rust-pyo3-macros-0.22): Inherit from rust-pyo3-macros-0.23.

Change-Id: Iff300f62dfdbeffb5ec867fd0bbf2eb3cbeaaf4b
2025-01-06 12:15:03 +02:00
Efraim Flashner
0d583fa20b
gnu: Add rust-pyo3-macros-backend-0.23.
* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.23): New
variable.
(rust-pyo3-macros-backend-0.22): Inherit from
rust-pyo3-macros-backend-0.23.

Change-Id: Ib4af63c29a5182ed79f0eec89ce3c4f37760fb2c
2025-01-06 12:15:03 +02:00
Efraim Flashner
c39ba6529d
gnu: Add rust-pyo3-ffi-0.23.
* gnu/packages/crates-io.scm (rust-pyo3-ffi-0.23): New variable.
(rust-pyo3-ffi-0.22): Inherit from rust-pyo3-ffi-0.23.

Change-Id: I47249552e5b07ae87cd4300d7a7dc77d8813fb5b
2025-01-06 12:15:02 +02:00
Efraim Flashner
c79665bfdf
gnu: Add rust-pyo3-build-config-0.23.
* gnu/packages/crates-io.scm (rust-pyo3-build-config-0.23): New
variable.
(rust-pyo3-build-config-0.22): Inherit from rust-pyo3-build-config-0.23.

Change-Id: Ief4b3b9d5d52b6062f56ce804c4d6723d7729cba
2025-01-06 12:15:02 +02:00
Efraim Flashner
b3a7c99c92
gnu: rust-pem-3: Update to 3.0.4.
* gnu/packages/crates-io.scm (rust-pem-3): Update to 3.0.4.
[cargo-inputs]: Replace rust-base64-0.21 with 0.22.

Change-Id: I3587c9183782c95b15a9b0d96cddf016bacf9f68
2025-01-06 12:15:02 +02:00
Efraim Flashner
3fa15937e7
gnu: rust-openssl-0.10: Update to 0.10.68.
* gnu/packages/crates-io.scm (rust-openssl-0.10): Update to 0.10.68.
[cargo-development-inputs]: Replace rust-hex-0.3 with 0.4.

Change-Id: I6e476d234c2e3eb924e6ef88f8792776ddb594fa
2025-01-06 12:15:02 +02:00
Efraim Flashner
22139997d1
gnu: rust-openssl-macros-0.1: Update to 0.1.1.
* gnu/packages/crates-io.scm (rust-openssl-macros-0.1): Update to 0.1.1.
[arguments]: Don't skip the build.
[cargo-inputs]: Replace rust-syn-1 with 2.

Change-Id: I737e24223aa4110bd81a602789475a392740a325
2025-01-06 12:15:01 +02:00
Efraim Flashner
3bbb3c23c8
gnu: Add rust-chrono-tz-build-0.4.
* gnu/packages/crates-io.scm (rust-chrono-tz-build-0.4): New variable.
(rust-chrono-tz-build-0.3): Inherit from rust-chrono-tz-build-0.4.

Change-Id: I402e148686094619b05d66a6d33d4f86009be7fd
2025-01-06 12:15:01 +02:00
Efraim Flashner
e9878357d4
gnu: Add rust-chrono-tz-0.10.
* gnu/packages/crates-io.scm (rust-chrono-tz-0.10): New variable.
(rust-chrono-tz-0.9): Inherit from rust-chrono-tz-0.10.

Change-Id: Ie01d9638dfa4e1b17fb313d817cf5ae132b61d4f
2025-01-06 12:15:01 +02:00
Efraim Flashner
56270267b0
gnu: rust-cc-1: Update to 1.2.4.
* gnu/packages/crates-io.scm (rust-cc-1): Update to 1.2.4.
[arguments]: Don't skip the tests.

Change-Id: I7c41f1434fb0ccfb8bbaac18ac46b62c88282abb
2025-01-06 12:15:01 +02:00
Efraim Flashner
d75bee4518
gnu: Add rust-pyo3-build-config-0.22.
* gnu/packages/crates-io.scm (rust-pyo3-build-config-0.22): New
variable.
(rust-pyo3-build-config-0.21): Inherit from rust-pyo3-build-config-0.22.

Change-Id: I3e2606d56ee13f93379340b3c106e83281dbbdc6
2025-01-06 12:15:01 +02:00
Efraim Flashner
a1ba421659
gnu: Add rust-pyo3-ffi-0.22.
* gnu/packages/crates-io.scm (rust-pyo3-ffi-0.22): New variable.
(rust-pyo3-ffi-0.21): Inherit from rust-pyo3-ffi-0.22.

Change-Id: I63e0579dfb0ab9f2d7951b4f84c620593f1cce6a
2025-01-06 12:15:00 +02:00
Efraim Flashner
66fef54407
gnu: Add rust-pyo3-macros-backend-0.22.
* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.22): New
variable.
(rust-pyo3-macros-backend-0.21): Inherit from
rust-pyo3-macros-backend-0.22.

Change-Id: Iecd872b7c240cecf5ea29164c776959443431992
2025-01-06 12:15:00 +02:00
Efraim Flashner
5b3ec79eff
gnu: Add rust-pyo3-macros-0.22.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.22): New variable.
(rust-pyo3-macros-0.21): Inherit from rust-pyo3-macros-0.22.

Change-Id: I8f2b1272d1934c8663d278db85acddd9c469ad1c
2025-01-06 12:15:00 +02:00
Efraim Flashner
6b1f8a435d
gnu: Add rust-pyo3-0.22.
* gnu/packages/crates-io.scm (rust-pyo3-0.22): New variable.
(rust-pyo3-0.21): Inherit from rust-pyo3-0.22.

Change-Id: I59647e404b4244f33c28cad803eac2358218553a
2025-01-06 12:15:00 +02:00
Efraim Flashner
761fe6b9e2
gnu: rust-smallvec-1: Update to 1.13.2.
* gnu/packages/crates-io.scm (rust-smallvec-1): Update to 0.13.2.

Change-Id: I4204a1f3f82e8c9db43adeb55797bda1c5592c5c
2025-01-06 12:15:00 +02:00
Efraim Flashner
fb8d085a55
gnu: rust-smallvec-0.6: Update to 0.6.14.
* gnu/packages/crates-io.scm (rust-smallvec-0.6): Update to 0.6.14.

Change-Id: Iecc8954d7e28e78d8850cc042e10e32499b0d9da
2025-01-06 12:14:59 +02:00
Efraim Flashner
2c35317b06
gnu: rust-smol-1: Update to 1.3.0.
* gnu/packages/crates-io.scm (rust-smol-1): Update to 1.3.0.
[cargo-inputs]: Remove rust-once-cell-1.

Change-Id: I2787c09bbf56ca21083c05e06466812f63161269
2025-01-06 12:14:59 +02:00
Efraim Flashner
61dd8996bf
gnu: Add rust-speedate-0.14.
* gnu/packages/crates-io.scm (rust-speedate-0.14): New variable.
(rust-speedate-0.13): Inherit from rust-speedate-0.14.

Change-Id: Ie4a3202f05d5baf56517ca16ebd7ebe40652391d
2025-01-06 12:14:59 +02:00
Efraim Flashner
36914a3082
gnu: rust-strum-0.26: Update to 0.26.3.
* gnu/packages/crates-io.scm (rust-strum-0.26): Update to 0.26.3.
[arguments]: Update cargo-test-flags.

Change-Id: I8f74745857d7621214b80907ecac68bc3154d149
2025-01-06 12:14:59 +02:00
Efraim Flashner
5920906bdb
gnu: rust-strum-macros-0.26: Update to 0.26.4.
* gnu/packages/crates-io.scm (rust-strum-macros-0.26): Update to 0.26.4.
[cargo-inputs]: Replace rust-heck-0.4 with 0.5.

Change-Id: I29b065ae8b9b468777885da60bd408551fa63173
2025-01-06 12:14:58 +02:00
Efraim Flashner
33b774c418
gnu: Add rust-jiter-0.5.
* gnu/packages/crates-io.scm (rust-jiter-0.5): New variable.
(rust-jiter-0.0.6): Inherit from rust-jiter-0.5.

Change-Id: Idcacd6d28ce201ac23c75c8ccfcd5d782f176e03
2025-01-06 12:14:58 +02:00
Efraim Flashner
feb843a317
gnu: rust-enum-dispatch-0.3: Update to 0.3.13.
* gnu/packages/crates-io.scm (rust-enum-dispatch-0.3): Update to 0.3.13.
[arguments]: Don't skip the build.  Skip the tests.
[cargo-inputs]: Replace rust-syn-1 with 2.
[cargo-development-inputs]: Replace rust-rand-0.6 with 0.5.

Change-Id: If76260579c3e26bc0a72755ffe16ac9dcc119fc2
2025-01-06 12:14:58 +02:00
Maxim Cournoyer
0b2a66393c
build/cargo: Resolve byte compilation warning.
* guix/build/cargo-build-system.scm: Hide `delete' symbol from (guix build
utils) import.

Change-Id: I75f0109a1a0984deb9888ec1c2b71cea4de22c76
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:14:58 +02:00
Maxim Cournoyer
9947252442
build/cargo: Honor #:parallel-build? and #:parallel-tests? arguments.
* guix/build-system/cargo.scm (cargo-build): Add #:parallel-build? and
 #:parallel-tests? arguments.
(cargo-cross-build): Likewise.
* guix/build/cargo-build-system.scm (build): Honor them.
(check): Likewise.

Change-Id: Idbee7aa3a6a7cd0fc222082837390b83cc8e8c07
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:14:58 +02:00
Maxim Cournoyer
e8ef2371e9
build/cargo: Delete trailing #t in phases.
* guix/build/cargo-build-system.scm (unpack-rust-crates): Delete trailing #t.
(configure, patch-cargo-checksums, package, install): Likewise.

Change-Id: I510a46b3d35cd292d71d5646d4a0436f7d77f98e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:14:58 +02:00
Maxim Cournoyer
283ecf51fc
gnu: rust-1.55: Use minimal variant of python-wrapper.
This should help reduce the number of times rebuilding the rust bootstrap
chain from scratch is needed when updating packages.

* gnu/packages/rust.scm (rust-1.55) [native-inputs]: Replace python-wrapper
with python-minimal-wrapper.

Change-Id: I92c88192c75353b22f374d5c301776d2bcc6b1db
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-01-06 12:14:58 +02:00