Commit graph

125967 commits

Author SHA1 Message Date
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
Efraim Flashner
806042ae9e
gnu: rust-tempfile-3: Update to 3.8.0.
* gnu/packages/crates-io.scm (rust-tempfile-3): Update to 3.8.0.
[cargo-inputs]: Replace rust-fastrand-1 with 2, rust-rustix-0.37 with
0.38, rust-windows-sys-0.45 with 0.48.
2023-10-18 11:36:15 +03:00
Efraim Flashner
fd75e263ee
gnu: rust-spin-0.9: Update to 0.9.8.
* gnu/packages/crates-io.scm (rust-spin-0.9): Update to 0.9.8.
[cargo-inputs]: Add rust-portable-atomic-1.
[cargo-development-inputs]: Add rust-criterion-0.4.
2023-10-18 11:36:15 +03:00
Efraim Flashner
52001584ca
gnu: rust-serde-json-1: Update to 1.0.107.
* gnu/packages/crates-io.scm (rust-serde-json-1): Update to 1.0.107.
2023-10-18 11:36:14 +03:00
Efraim Flashner
c9c32a7a1c
gnu: Add rust-page-size-0.6.
* gnu/packages/crates-io.scm (rust-page-size-0.6): New variable.
(rust-page-size-0.4): Inherit from rust-page-size-0.6.
2023-10-18 11:36:14 +03:00
Efraim Flashner
82f4391aca
gnu: Add rust-memmap2-0.7.
* gnu/packages/crates-io.scm (rust-memmap2-0.7): New variable.
(rust-memmap2-0.5): Inherit from rust-memmap2-0.7.
2023-10-18 11:36:14 +03:00
Efraim Flashner
289ec877cd
gnu: Add rust-criterion-0.5.
* gnu/packages/crates-io.scm (rust-criterion-0.5): New variable.
(rust-criterion-0.4): Inherit from rust-criterion-0.5.
2023-10-18 11:36:14 +03:00
Efraim Flashner
e5815422a8
gnu: Add rust-constant-time-eq-0.3.
* gnu/packages/crates-io.scm (rust-constant-time-eq-0.3): New variable.
(rust-constant-time-eq-0.2): Inherit from rust-constant-time-eq-0.3.
2023-10-18 11:36:14 +03:00
Efraim Flashner
65ec4428b9
gnu: rust-arrayvec-0.7: Update to 0.7.4.
* gnu/packages/crates-io.scm (rust-arrayvec-0.7): Update to 0.7.4.
[arguments]: Don't skip build.
[cargo-inputs]: Add rust-zerioze-1.
2023-10-18 11:36:13 +03:00
Efraim Flashner
afb201251f
gnu: rust-minisign: Update to 0.7.5.
* gnu/packages/crates-io.scm (rust-minisign): Update to 0.7.5.
[cargo-inputs]: Replace rust-getrandom-0.1 with 0.2, rust-rpassword-4
with 7, rust-scrypt-0.3 with 0.11.
2023-10-18 11:36:13 +03:00
Efraim Flashner
f269dc33fc
gnu: rust-getrandom-0.2: Update to 0.2.10.
* gnu/packages/crates-io.scm (rust-getrandom-0.2): Update to 0.2.10.
[cargo-inputs]: Remove rust-stdweb-0.4.
2023-10-18 11:36:13 +03:00
Efraim Flashner
bed8878cdc
gnu: du-dust: Install manpage, shell completions.
* gnu/packages/admin.scm (du-dust)[arguments]: Add a phase to install
the manpage and shell completions.
2023-10-18 11:36:12 +03:00
Efraim Flashner
1dbfb834ba
gnu: du-dust: Update to 0.8.6.
* gnu/packages/admin.scm (du-dust): Update to 0.8.6.
[arguments]: Add cargo-test-flags. Don't install the source.
[cargo-inputs]: Add rust-ansi-term-0.12, rust-atty-0.2,
rust-clap-mangen-0.1.  Replace rust-lscolors-0.7 with 0.13,
rust-sysinfo-0.15 with 0.27, rust-terminal-size-0.1 with 0.2.
[cargo-development-inputs]: Replace rust-assert-cmd-1 with 2.
2023-10-18 11:36:12 +03:00
Efraim Flashner
5333585cc5
gnu: Add rust-clap-mangen-0.1.
* gnu/packages/crates-io.scm (rust-clap-mangen-0.1): New variable.
2023-10-18 11:36:12 +03:00
Efraim Flashner
f64353c49a
gnu: wlgreet: Update to 0.4.1.
* gnu/packages/admin.scm (wlgreet): Update to 0.4.1.
[cargo-inputs]: Replace rust-greetd-ipc-0.8 with 0.9, rust-nix-0.15 with
0.25, rust-os-pipe-0.8 with 1, rust-rusttype-0.7 with 0.9.  Remove
rust-xml-rs-0.8.
2023-10-18 11:36:12 +03:00
Efraim Flashner
ae1e46e7e2
gnu: Add rust-greetd-ipc-0.9.
* gnu/packages/crates-io.scm (rust-greetd-ipc-0.9): New variable.
(rust-greetd-ipc-0.8): Inherit from rust-greetd-ipc-0.9.
2023-10-18 11:36:12 +03:00
Efraim Flashner
cc6b84347b
gnu: Add rust-resize-0.4.
* gnu/packages/crates-graphics.scm (rust-resize-0.4): New variable.
2023-10-18 11:36:12 +03:00
Efraim Flashner
3daa7f6277
gnu: Add rust-termtree-0.4.
* gnu/packages/crates-io.scm (rust-termtree-0.4): New variable.
2023-10-18 11:36:12 +03:00
Efraim Flashner
ccee38a10c
gnu: rav1e: Update to 0.6.6.
* gnu/packages/video.scm (rav1e): Update to 0.6.6.
[source]: Add snippet to not hardcode dependency versions.
[cargo-inputs]: Add rust-clap-lex-0.3, rust-winnow-0.4.  Replace
rust-y4m-0.7 with 0.8.  Remove rust-const-fn-assert-0.1.
[cargo-development-inputs]: Add rust-predicates-2,
rust-predicates-core-1, rust-predicates-tree-1.
2023-10-18 11:36:11 +03:00
Efraim Flashner
bd15be7019
gnu: rust-yansi-0.5: Update to 0.5.1.
* gnu/packages/crates-io.scm (rust-yansi-0.5): Update to 0.5.1.
[arguments]: Don't skip build.
[cargo-development-inputs]: Add rust-serial-test-0.6.
2023-10-18 11:36:11 +03:00
Efraim Flashner
abf509b779
gnu: rust-predicates-tree-1: Update to 1.0.9.
* gnu/packages/crates-io.scm (rust-predicates-tree-1): Update to 1.0.9.
[cargo-inputs]: Add rust-termtree-0.4. Remove rust-treeline-0.1.
[cargo-development-inputs]: Add rust-predicates-3.
2023-10-18 11:36:11 +03:00