Commit graph

126169 commits

Author SHA1 Message Date
Efraim Flashner
5e3050d064
gnu: rust-quinn-0.8: Add missing input.
* gnu/packages/crates-io.scm (rust-quinn-0.8)[native-inputs]: Add perl.
2023-10-18 11:36:24 +03:00
Efraim Flashner
3d29965dd9
gnu: rust-poly1305-0.7: Allow newer versions of dependencies.
* gnu/packages/crates-io.scm (rust-poly1305-0.7)[source]: Add snippet to
allow newer versions of dependencies.
2023-10-18 11:36:23 +03:00
Efraim Flashner
b6a810bbc8
gnu: rust-os-pipe-0.9: Fix inputs.
* gnu/packages/crates-io.scm (rust-os-pipe-0.9)[cargo-inputs]: Add
rust-libc-0.2, rust-winapi-0.3.
2023-10-18 11:36:23 +03:00
Efraim Flashner
8b60fb1110
gnu: rust-opener-0.5: Update to 0.5.2.
* gnu/packages/crates-io.scm (rust-opener-0.5): Update to 0.5.2.
[cargo-inputs]: Add rust-bstr-1.
[cargo-development-inputs]: Add rust-version-sync-0.9.
2023-10-18 11:36:23 +03:00
Efraim Flashner
0ad30651bb
gnu: rust-nitrokey-0.9: Add missing inputs.
* gnu/packages/crates-io.scm (rust-nitrokey-0.9)
[cargo-development-inputs]: Add rust-nitrokey-test-0.3,
rust-nitrokey-test-suite-0.1.
2023-10-18 11:36:23 +03:00
Efraim Flashner
c3530fd661
gnu: Add rust-nitrokey-test-0.3.
* gnu/packages/crates-io.scm (rust-nitrokey-test-0.3): New variable.
2023-10-18 11:36:23 +03:00
Efraim Flashner
05de88413b
gnu: rust-napi-sys-0.4: Skip build.
* gnu/packages/crates-io.scm (rust-napi-sys-0.4)[arguments]: Skip build.
2023-10-18 11:36:22 +03:00
Efraim Flashner
da11f16ead
gnu: rust-napi-0.5: Skip build.
* gnu/packages/crates-io.scm (rust-napi-0.5)[arguments]: Skip build.
2023-10-18 11:36:22 +03:00
Efraim Flashner
c701592f20
gnu: rust-mimalloc-0.1: Update to 0.1.39.
* gnu/packages/crates-io.scm (rust-mimalloc-0.1): Update to 0.1.39.
2023-10-18 11:36:22 +03:00
Efraim Flashner
340b6f97c5
gnu: rust-libmimalloc-sys-0.1: Update to 0.1.35.
* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1): Update to
0.1.35.
[source]: Add snippet to override the build.rs file.
[cargo-inputs]: Add rust-cc-1, rust-libc-0.2, rust-pkg-config-0.3.
Remove rust-cmake-0.1.
[native-inputs]: Remove cmake-minimal.
[inputs]: Add mimalloc.
2023-10-18 11:36:22 +03:00
Efraim Flashner
a6f39f1d68
gnu: rust-matrixmultiply-0.3: Update to 0.3.8.
* gnu/packages/crates-io.scm (rust-matrixmultiply-0.3): Update to 0.3.8.
[arguments]: Don't skip build.
[cargo-inputs]: Add rust-autocfg-1.
[cargo-development-inputs]: Add rust-bencher-0.1, rust-itertools-0.8.
2023-10-18 11:36:22 +03:00
Efraim Flashner
2294cb6bf4
gnu: rust-libflate-lz77-1: Update to 1.2.0.
* gnu/packages/crates-io.scm (rust-libflate-lz77-1): Update to 1.2.0.
[cargo-inputs]: Add rust-core2-0.4, rust-hashbrown-0.13.
[cargo-development-inputs]: Replace rust-libflate-0.1 with 1.
2023-10-18 11:36:21 +03:00
Efraim Flashner
2327185bb0
gnu: rust-hyper-rustls-0.23: Add missing input.
* gnu/packages/crates-io.scm (rust-hyper-rustls-0.23)[native-inputs]:
Add perl.
2023-10-18 11:36:21 +03:00
Efraim Flashner
e2ed4b9b23
gnu: Add rust-core2-0.4.
* gnu/packages/crates-io.scm (rust-core2-0.4): New variable.
(rust-core2-0.3): Inherit from rust-core2-0.4.
2023-10-18 11:36:21 +03:00
Efraim Flashner
287e031538
gnu: rust-glib-macros-0.15: Update to 0.15.13.
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.15): Update to 0.15.13.
2023-10-18 11:36:21 +03:00
Efraim Flashner
8e50e1ff9a
gnu: rust-mp4parse-0.12: Update to 0.12.1.
* gnu/packages/crates-graphics.scm (rust-mp4parse-0.12): Update to 0.12.1.
2023-10-18 11:36:21 +03:00
Efraim Flashner
662dc25904
gnu: rust-glutin-egl-sys-0.1: Update to 0.1.6.
* gnu/packages/crates-graphics.scm (rust-glutin-egl-sys-0.1): Update to
0.1.6.
[cargo-inputs]: Replace rust-gl-generator-0.13 with 0.14.
2023-10-18 11:36:21 +03:00
Efraim Flashner
0058ed81b0
build: cargo-build-system: Find more pregenerated files.
* guix/build/cargo-build-system.scm (check-for-pregenerated-files): Also
search for MacOS dynamic libraries.
2023-10-18 11:36:21 +03:00
Efraim Flashner
5fcd7836d6
gnu: rust-fat-macho-0.4: Remove precompiled files.
* gnu/packages/crates-io.scm (rust-fat-macho-0.4)[source]: Add snippet
to remove precompiled files.
2023-10-18 11:36:20 +03:00
Efraim Flashner
b4d3877fe8
gnu: rust-enquote-1: Add missing input.
* gnu/packages/crates-io.scm (rust-enquote-1)[cargo-inputs]: Add
rust-thiserror-1.
2023-10-18 11:36:20 +03:00
Efraim Flashner
96cfc096de
gnu: rust-derive-error-chain-0.10: Fix inputs.
* gnu/packages/crates-io.scm (rust-derive-error-chain-0.10)
[cargo-inputs]: Replace rust-syn-0.14 with 0.11.
2023-10-18 11:36:20 +03:00
Efraim Flashner
b896ecd211
gnu: rust-rustls-native-certs-0.4: Add missing input.
* gnu/packages/crates-io.scm (rust-rustls-native-certs-0.4)
[native-inputs]: Add perl.
2023-10-18 11:36:20 +03:00
Efraim Flashner
0b691ce66e
gnu: rust-quinn-proto-0.8: Add missing input.
* gnu/packages/crates-io.scm (rust-quinn-proto-0.8)[native-inputs]: Add
perl.
2023-10-18 11:36:20 +03:00
Efraim Flashner
6371e3db13
gnu: rust-merge-derive-0.1: Add missing inputs.
* gnu/packages/crates-io.scm (rust-merge-drive-0.1)[cargo-inputs]: Add
rust-proc-macro-error-1, rust-proc-macro2-1, rust-quote-1, rust-syn-1.
2023-10-18 11:36:19 +03:00
Efraim Flashner
cd9b801079
gnu: rust-merge-0.1: Add missing inputs.
* gnu/packages/crates-io.scm (rust-merge-0.1)[cargo-development-inputs]:
Add rust-env-0.4, rust-serde-1, rust-structopt-0.3, rust-toml-0.5,
rust-trybuild-1.
2023-10-18 11:36:19 +03:00
Efraim Flashner
13d8080f21
gnu: rust-pcap-sys-0.1: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-pcap-sys-0.1)[source]: Add snippet to
remove bundled libraries.
2023-10-18 11:36:19 +03:00
Efraim Flashner
9bbf7d5937
gnu: rust-proc-macro2-1.0.34: Fix inputs.
* gnu/packages/crates-io.scm (rust-proc-macro2-1.0.34)
[cargo-inputs]: Remove rust-unicode-ident-1. Add rust-unicode-xid-0.2.
[cargo-development-inputs]: Replace rust-quote-1.0.10 with 1. Remove
rust-rustversion-1.
2023-10-18 11:36:19 +03:00
Efraim Flashner
2b36ee84ee
gnu: rust-core-foundation-sys-0.7: Downgrade to 0.7.0.
Later versions of this crate are yanked upstream.

* gnu/packages/crates-io.scm (rust-core-foundation-sys-0.7): Downgrade
to 0.7.0.
2023-10-18 11:36:19 +03:00
Efraim Flashner
142be165e0
gnu: rust-ravif-0.6: Update to 0.6.6.
* gnu/packages/crates-graphics.scm (rust-ravif-0.6): Update to 0.6.6.
[arguments]: Skip build.
2023-10-18 11:36:19 +03:00
Efraim Flashner
73c462d6c4
gnu: rust-cargo-util-0.1: Fix build.
* gnu/packages/crates-io.scm (rust-cargo-util-0.1)
[cargo-inputs]: Add rust-anyhow-1, rust-core-foundation-0.9,
rust-crypto-hash-0.3, rust-filetime-0.2, rust-hex-0.4,
rust-jobserver-0.1, rust-libc-0.2, rust-log-0.4, rust-miow-0.3,
rust-same-file-1, rust-shell-escape-0.1, rust-tempfile-3,
rust-walkdir-2, rust-winapi-0.3.
[inputs]: Inherit from cargo-util-0.2.
[native-inputs]: Inherit from cargo-util-0.2.
2023-10-18 11:36:18 +03:00
Efraim Flashner
670f74699e
gnu: rust-base32-0.4: Add missing inputs.
* gnu/packages/crates-io.scm (rust-base32-0.4)
[cargo-development-inputs]: Add rust-quickcheck-0.7, rust-rand-0.5.
2023-10-18 11:36:18 +03:00
Efraim Flashner
d631d901d8
build: cargo-build-system: Disable tests by default.
* guix/build-system/cargo.scm (cargo-build): Disable tests by default.
* gnu/packages/admin.scm (greetd, wlgreet, du-dust),
* gnu/packages/bioinformatics.scm (circtools, python-gseapy),
* gnu/packages/crypto.scm (rust-minisign, b3sum),
* gnu/packages/gnome.scm (librsvg),
* gnu/packages/python-crypto.scm (python-blake3,
python-cryptography-rust),
* gnu/packages/python-xyz.scm (python-orjson),
* gnu/packages/rust-apps.scm (agate, alfis, bat, diffr, drill, dutree,
exa, fd, hexyl, hyperfine, i3status-rust, just, maturin, ripgrep, rot8,
rust-swc, rust-cargo-edit, git-interactive-rebase-tool, rust-cbindgen,
rust-cbindgen-0.24, rust-cbindgen-0.19, sniffglue, tectonic, treefmt,
hex, tokei, vivid, watchexec, rbw, rust-analyzer, rust-cargo-c, rtss,
skim, skim-0.7, svd2rust, swayhide, tealdeer, git-absorb, zoxide, htmlq),
* gnu/packages/sequoia.scm (sequoia-sqv),
* gnu/packages/syndication.scm (newsboat),
* gnu/packages/terminals.scm (alacritty),
* gnu/packages/text-editors.scm (kak-lsp, parinfer-rust),
* gnu/packages/tree-sitter.scm (tree-sitter-cli),
* gnu/packages/video.scm (rav1e),
* gnu/packages/web.scm (monolith, castor)
[arguments]: Enable tests.
2023-10-18 11:36:18 +03:00
Efraim Flashner
4ab9a2194a
gnu: rust-autocompress-0.2: Skip build.
* gnu/packages/crates-io.scm (rust-autocompress-0.2)[arguments]: Skip
build.
[native-inputs]: Add pkg-config.
2023-10-18 11:36:18 +03:00
Efraim Flashner
5bf67e6736
gnu: rust-aesni-0.7: Skip build.
* gnu/packages/crates-io.scm (rust-aesni-0.7)[arguments]: Skip build.
2023-10-18 11:36:18 +03:00
Efraim Flashner
9db579fdc2
gnu: rust-cookie-0.14: Update to 0.14.4.
* gnu/packages/crates-io.scm (rust-cookie-0.14): Update to 0.14.4.
[cargo-inputs]: Replace rust-aes-gcm-0.6 with 0.8, rust-base64-0.12 with
0.13, rust-hkdf-0.9 with 0.10, rust-hmac-0.8 with 0.10, rust-rand-0.7
with 0.8. Add rust-version-check-0.9.
[cargo-development-inputs]: Remove rust-version-check-0.9.
2023-10-18 11:36:17 +03:00
Efraim Flashner
b2de124e15
gnu: rust-afl-0.12: Remove check-for-pregenerated-files phase.
* gnu/packages/crates-io.scm (rust-afl-0.12)[arguments]: Add a phase to
remove the 'check-for-pregenerated-files phase.
2023-10-18 11:36:17 +03:00
Efraim Flashner
04ace10cac
gnu: rust-afl-0.8: Remove check-for-pregenerated-files phase.
* gnu/packages/crates-io.scm (rust-afl-0.8)[arguments]: Add a phase to
remove the 'check-for-pregenerated-files phase.
2023-10-18 11:36:17 +03:00
Efraim Flashner
c68f15cd8e
gnu: rust-addr2line-0.17: Fix building.
* gnu/packages/crates-io.scm (rust-addr2line-0.17)[source]: Add snippet
to correctly build one of the dependency crates.
2023-10-18 11:36:17 +03:00
Efraim Flashner
14165eaaa0
gnu: rust-actix-web-codegen-0.2: Fix inputs.
* gnu/packages/crates-io.scm (rust-actix-web-codegen-0.2)
[cargo-development-inputs]: Replace rust-actix-web-2 with 3.
2023-10-18 11:36:17 +03:00
Efraim Flashner
163592c843
build: cargo-build-system: Strip enough prefix in package.
* guix/build/cargo-build-system.scm (package): When using the source as
the packaged crate also strip the 'rust-' prefix.
2023-10-18 11:36:16 +03:00
Efraim Flashner
fafbad0ce2
build: cargo-build-system: Reset timestamps in crates.
This fixes reproducibility in rust crates from the package phase,
see <https://issues.guix.gnu.org/50015>.

* guix/build/cargo-build-system.scm (package): After running 'cargo
package' on the source unpack the tarball, reset the timestamps and
repack it.
2023-10-18 11:36:16 +03:00
Efraim Flashner
48e5110c25
gnu: rust-simdutf8-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-simdutf8-0.1): Update to 0.1.4.
[arguments]: Don't skip build. Skip the tests.
2023-10-18 11:36:16 +03:00
Efraim Flashner
395ed95e70
gnu: python-pyopenssl: Update to 23.2.0.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.2.0.
2023-10-18 11:36:16 +03:00
Efraim Flashner
ab8a943b9a
gnu: python-orjson: Update to 3.9.7.
* gnu/packages/python-xyz.scm (python-orjson): Update to 3.9.7.
[arguments]: Remove 'prepare-python-module, 'install-python-library
phases.
[cargo-inputs]: Replace rust-pyo3-ffi-0.18 with 0.19. Add rust-cc-1,
rust-pyo3-build-config-0.19, rust-version-check-0.9.
[inputs]: Add maturin.
[native-inputs]: Remove python-pypa-build, python-wheel.
2023-10-18 11:36:16 +03:00
Efraim Flashner
ca6e2c8cce
gnu: rust-smallvec-1: Update to 1.11.1.
* gnu/packages/crates-io.scm (rust-smallvec-1): Update to 1.11.1.
2023-10-18 11:36:16 +03:00
Efraim Flashner
3a40929034
gnu: rust-pyo3: Update to 0.19.2.
* gnu/packages/crates-io.scm (rust-pyo3): Update to 0.19.2.
[cargo-inputs]: Replace rust-hashbrown-0.12 with 0.14, rust-indexmap-1
with 2.
[cargo-development-inputs]: Remove rust-criterion-0.3.
(rust-pyo3-build-config-0.19, rust-pyo3-ffi-0.19,
rust-pyo3-macros-backend-0.19, rust-pyo3-macros-0.19): Update to 0.19.2.
2023-10-18 11:36:16 +03:00
Efraim Flashner
e254412070
gnu: rust-oorandom-11: Rename from rust-oorandom-11.1.
* gnu/packages/crates-io.scm (rust-oorandom-11): Use new name.
(rust-criterion-0.5, rust-criterion-0.4, rust-criterion-0.3,
rust-salsa-0.17): Use new name.
* gnu/packages/rust-apps.scm (rust-analyzer): Same.
2023-10-18 11:36:15 +03:00
Efraim Flashner
0ae710f372
gnu: Add rust-count-instructions-0.1.
* gnu/packages/crates-io.scm (rust-count-instructions-0.1): New variable.
2023-10-18 11:36:15 +03:00
Efraim Flashner
d9745d6dbd
gnu: b3sum: Update to 1.5.0.
* gnu/packages/crypto.scm (b3sum): Update to 1.5.0.
[cargo-inputs]: Replace rust-blake3-0.3 with 1, rust-clap-2 with 4.
Remove rust-memmap-0.7. Add rust-memmap2-0.7.
2023-10-18 11:36:15 +03:00
Efraim Flashner
0294bff75d
gnu: rust-blake3-1: Update to 1.5.0.
* gnu/packages/crypto.scm (rust-blake3-1): Update to 1.5.0.
[source]: Download using url-fetch.
[arguments]: Skip tests.
[cargo-inputs]: Add rust-memmap2-0.7, rust-serde-1, rust-zerioze-1.
Replace rust-constant-time-eq-0.1 with 0.3, rust-digest-0.9 with 0.10.
Remove rust-crypto-mac-0.11.
[cargo-development-inputs]: Add rust-serde-json-1, rust-tempfile-3.
Replace rust-page-size-0.4 with 0.6.  Remove rust-cc-1.
2023-10-18 11:36:15 +03:00