Commit graph

101042 commits

Author SHA1 Message Date
Ricardo Wurmus
333905ccff
gnu: rust-cargo-0.53: Add missing input.
* gnu/packages/crates-io.scm (rust-cargo-0.53)[inputs]: Add libgit2.
2022-09-05 00:12:46 +02:00
Ricardo Wurmus
6a37c4c549
gnu: rust-openssl-0.10: Update to 0.10.41.
* gnu/packages/crates-io.scm (rust-openssl-0.10): Update to 0.10.41.
[arguments]: Do not skip build; replace rust-cfg-if-0.1 with rust-cfg-if-1;
remove rust-lazy-static-1 and rust-tempdir-0.3; add rust-once-cell-1 and
rust-openssl-macros-0.1.
[inputs]: Add openssl.
[native-inputs]: Add pkg-config.
[description]: Update.
2022-09-05 00:12:46 +02:00
Ricardo Wurmus
2282fe1d33
gnu: Add rust-openssl-macros-0.1.
* gnu/packages/crates-io.scm (rust-openssl-macros-0.1): New variable.
2022-09-05 00:12:45 +02:00
Ricardo Wurmus
90715e9b24
gnu: Add rust-cargo-0.51.
* gnu/packages/crates-io.scm (rust-cargo-0.51): New variable.
2022-09-05 00:12:45 +02:00
Ricardo Wurmus
074c19c11c
gnu: Add rust-crates-io-0.31.
* gnu/packages/crates-io.scm (rust-crates-io-0.31): New variable.
2022-09-05 00:12:45 +02:00
Ricardo Wurmus
6746f2b00d
gnu: Add rust-cbindgen-0.17.
* gnu/packages/rust-apps.scm (rust-cbindgen-0.17): New variable.
2022-09-05 00:12:45 +02:00
Ricardo Wurmus
f705831d8f
gnu: rust-bindgen-0.57: Fix build.
* gnu/packages/crates-io.scm (rust-bindgen-0.57)[arguments]: Do not skip
build; disable tests; add development inputs rust-clap-2, rust-diff-0.1, and
rust-shlex-0.1.
[inputs]: Add clang.
2022-09-05 00:12:45 +02:00
Ricardo Wurmus
f243233e8d
gnu: Add rust-atomic-polyfill-1.
* gnu/packages/crates-io.scm (rust-atomic-polyfill-1): New variable.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
cbcf87c01f
gnu: Add rust-critical-section-1.
* gnu/packages/crates-io.scm (rust-critical-section-1): New variable.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
b248d77f87
gnu: Add rust-parking-lot-core-0.9.
* gnu/packages/crates-io.scm (rust-parking-lot-core-0.9): New variable.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
4e8ec28e3b
gnu: rust-backtrace-0.3: Update to 0.3.66.
* gnu/packages/crates-io.scm (rust-backtrace-0.3): Update to 0.3.66.
[arguments]: Replace rust-addr2line-0.14 with rust-addr2line-0.17,
rust-miniz-oxide-0.4 with rust-miniz-oxide-0.5, and rust-object-0.23 with
rust-object-0.29; add rust-libloading-0.7 and rust-cc-1; remove
rust-backtrace-sys-0.1.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
0c0fd17f09
gnu: Add rust-addr2line-0.17.
* gnu/packages/crates-io.scm (rust-addr2line-0.17): New variable.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
511f173374
gnu: Add rust-findshlibs-0.10.
* gnu/packages/crates-io.scm (rust-findshlibs-0.10): New variable.
2022-09-05 00:12:44 +02:00
Ricardo Wurmus
a60229fa0f
gnu: rust-gimli-0.23: Inherit from rust-gimli-0.26.
* gnu/packages/crates-io.scm (rust-gimli-0.23)[inherit]: New field.
[build-system, home-page, synopsis, description, license]: Inherit.
2022-09-05 00:12:43 +02:00
Ricardo Wurmus
a9dcb2ead7
gnu: Add rust-gimli-0.26.
* gnu/packages/crates-io.scm (rust-gimli-0.26): New variable.
2022-09-05 00:12:43 +02:00
Ricardo Wurmus
810291e479
gnu: rust-memmap2-0.5: Update to 0.5.5.
* gnu/packages/crates-io.scm (rust-memmap2-0.5): Update to 0.5.5.
[arguments]: Do not skip build.  Add rust-owning-ref-0.4 and rust-tempfile-3
to inputs.
2022-09-05 00:12:43 +02:00
Ricardo Wurmus
c505de52d4
gnu: Add rust-pyo3-0.13.
* gnu/packages/crates-io.scm (rust-pyo3-0.13): New variable.
2022-09-05 00:12:43 +02:00
Ricardo Wurmus
fd866c44e7
gnu: Add rust-pyo3-macros-0.13.
* gnu/packages/crates-io.scm (rust-pyo3-macros-0.13): New variable.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
4dc07de53e
gnu: Add rust-pyo3-macros-backend-0.13.
* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.13): New variable.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
8fcdfa498d
gnu: Add rust-object-0.27.
* gnu/packages/crates-io.scm (rust-object-0.27): New variable.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
1b42e42c7a
gnu: rust-object-0.28: Inherit from rust-object-0.29.
* gnu/packages/crates-io.scm (rust-object-0.28)[inherit]: New field.
[build-system, home-page, synopsis, description, license]: Inherit.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
706d1749a3
gnu: Add rust-object-0.29.
* gnu/packages/crates-io.scm (rust-object-0.29): New variable.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
cce608d256
gnu: rust-scroll-0.10: Update to 0.10.2.
* gnu/packages/crates-io.scm (rust-scroll-0.10): Update to 0.10.2.
[arguments]: Do not skip build; add cargo development inputs rust-byteorder-1
and rust-rayon-1.
2022-09-05 00:12:42 +02:00
Ricardo Wurmus
02cbb76392
gnu: Add rust-hashbrown-0.12.
* gnu/packages/crates-io.scm (rust-hashbrown-0.12): New variable.
2022-09-05 00:12:41 +02:00
Ricardo Wurmus
aeac28750f
gnu: rust-slog-term-2: Update to 2.9.0.
* gnu/packages/crates-io.scm (rust-slog-term-2): Update to 2.9.0.
[arguments]: Remove rust-chrono-0.4; replace rust-term-0.6 with rust-term-0.7;
add rust-time-0.3.
2022-09-05 00:12:41 +02:00
Ricardo Wurmus
ba64ea8320
gnu: rust-slog-2: Update to 2.7.0.
* gnu/packages/crates-io.scm (rust-slog-2): Update to 2.7.0.
2022-09-05 00:12:41 +02:00
Ricardo Wurmus
667633100e
gnu: Add rust-statrs-0.15.
* gnu/packages/crates-io.scm (rust-statrs-0.15): New variable.
2022-09-05 00:12:41 +02:00
Ricardo Wurmus
9e703abe2c
gnu: Add rust-nalgebra-0.27.
* gnu/packages/crates-io.scm (rust-nalgebra-0.27): New variable.
2022-09-05 00:12:41 +02:00
Ricardo Wurmus
acd0fed555
gnu: rust-num-traits-0.2: Update to 0.2.15.
* gnu/packages/crates-io.scm (rust-num-traits-0.2): Update to 0.2.15.
2022-09-05 00:12:40 +02:00
Ricardo Wurmus
20db81fb97
gnu: Add rust-bio-0.39.
* gnu/packages/crates-io.scm (rust-bio-0.39): New variable.
2022-09-05 00:12:40 +02:00
Ricardo Wurmus
e876e1b932
gnu: rust-bio-types-0.12: Update to 0.12.1.
* gnu/packages/crates-io.scm (rust-bio-types-0.12): Update to 0.12.1.
[arguments]: Replace rust-petgraph-0.5 with rust-petgraph-0.6, and replace
rust-strum-macros-0.20 with rust-strum-macros-0.21.
2022-09-05 00:12:40 +02:00
Ricardo Wurmus
2d0f081f2d
gnu: rust-openssl-sys-0.9: Update to 0.9.75.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9): Update to 0.9.75.
[arguments]: Add rust-bindgen-0.59.
* gnu/packages/patches/rust-openssl-sys-no-vendor.patch: Adjust.
2022-09-05 00:12:40 +02:00
Ricardo Wurmus
94616c3661
gnu: rust-curl-sys-0.4: Update to 0.4.44+curl-7.77.0.
* gnu/packages/crates-io.scm (rust-curl-sys-0.4): Update to 0.4.44+curl-7.77.0.
2022-09-05 00:12:39 +02:00
Ricardo Wurmus
6c0d7ee95f
gnu: rust-threadpool-1: Update to 1.8.0.
* gnu/packages/crates-io.scm (rust-threadpool-1): Update to 1.8.0.
2022-09-05 00:12:39 +02:00
Ricardo Wurmus
20a55a50c7
gnu: rust-itertools-0.10: Update to 0.10.1.
* gnu/packages/crates-io.scm (rust-itertools-0.10): Update to 0.10.1.
[arguments]: Do not skip build; add rust-criterion-0.3, rust-paste-1,
rust-permutohedron-0.2, rust-quickcheck-0.9, and rust-rand-0.7 to development
inputs.
2022-09-05 00:12:39 +02:00
Ricardo Wurmus
624551b138
gnu: rust-flate2-1: Update to 1.0.23.
* gnu/packages/crates-io.scm (rust-flate2-1): Update to 1.0.23.
[arguments]: Replace rust-miniz-oxide-0.4 withrust-miniz-oxide-0.5; replace
rust-quickcheck-0.9 with rust-quickcheck-1.
2022-09-05 00:12:39 +02:00
Ricardo Wurmus
c786b640e6
gnu: rust-csv-1: Update to 1.1.6.
* gnu/packages/crates-io.scm (rust-csv-1): Update to 1.1.6.
2022-09-05 00:12:34 +02:00
Jessica Tallon
aae98c2972
gnu: Add wmamixer.
* gnu/packages/gnustep.scm (wmamixer): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:17:14 +02:00
Wiktor Żelazny
9c5a952818
gnu: texlive-caption: Fix description.
* gnu/packages/tex.scm (texlive-caption): Update description.
[description]: newfloat.sty and totalcount.sty are not in the package.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:52 +02:00
Wiktor Żelazny
e879111c09
gnu: Add texlive-latex-hyphenat.
* gnu/packages/tex.scm (texlive-latex-hyphenat): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Maxime Devos
4bbad495a7
gnu: hashcat: Fix cross-compilation.
* gnu/packages/password-utils.scm
(hashcat)[native-inputs]: Move to ...
(hashcat)[inputs]: ... here.
(hashcat)[arguments]<#:make-flags>: Set AR and CC.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Maxime Devos
aed1c2f794
gnu: hashcat: Rewrite with G-exps.
This is required for cross-compilation, as %output does not exist when
cross-compiling.

* gnu/packages/password-utils.scm (hashcat)[arguments]: Rewrite with G-exps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Maxime Devos
99afc7d65b
gnu: hashcat: Unbundle everything but LZMA-SDK.
There does not appear to be a convenient Guix package for LZMA-SDK yet.
I currently have a bit of a dirty working tree (fiddling with imports), so the
use-modules is in the wrong place. Also, a small rebase conflict, the version
and source hash of hashcat has been updated.

* gnu/packages/password-utils.scm (hashcat)[source]{snippet}: Delete
everything from deps except for deps/LZMA-SDK.
(hashcat)[inputs]: Add minizip, xxhash and zlib.
(hashcat)[arguments]<#:make-flags>: Add USE_SYSTEM_ZLIB, USE_SYSTEM_OPENCL and
USE_SYSTEM_XXHASH.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Maxime Devos
3c48ef60ad
gnu: hashcat: Don't embed timestamp, fixing reproducibility.
* gnu/packages/password-utils.scm (hashcat)[arguments]{#:phases}:
Remove timestamp, fixing reproducibility.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Philip McGrath
ed24d6b46c
gnu: racket: Use Racket CS on all systems.
This patch uses the 'pbarch' support added to 'racket-vm-cs' to make it
the default Racket VM implementation on all systems.

* gnu/packages/racket.scm (racket-vm-for-system): Remove.
(racket-minimal, racket)[inputs]: Replace '(racket-vm-for-system)' with
'racket-vm-cs'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
64a27e1678
gnu: racket-vm-bc: Add workaround for ppc64le.
This is an attempt to avoid a problem with Racket BC on ppc64 reported
in <https://issues.guix.gnu.org/57050#19> that was exposed by attempting
to use Racket BC to bootstrap Chez Scheme. Thanks to Matthew Flatt for
the workaround: <https://racket.discourse.group/t/950/30>.

* gnu/packages/racket.scm (racket-vm-bc)[arguments]<#:configure-flags>:
Increase the number of bytes that should be available on the stack for
"safety" when checking for stack overflow.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
a15d72f8e1
gnu: chez-scheme-for-racket: Support all systems.
On systems for which Racket's variant of Chez Scheme cannot generate
native code, it can use a 'pbarch' machine type: a variant of the
``portable bytecode'' backend specialized to word size and endianness.
This allows Racket CS to replace Racket BC on those systems while
maintaining comparable performance. (Racket BC lacks JIT support for
those systems anyway.) It also lets us provide a Chez Scheme package on
all systems Guix supports.

This patch adds 'pbarch' support to both 'chez-scheme-for-racket' and
'racket-vm-cs', but it does not change the Racket VM implementation used
for the 'racket' and 'racket-minimal' packages.

* gnu/packages/chez.scm (nix-system->pbarch-machine-type): New variable.
(chez-scheme-for-racket)[inputs]: Use 'libffi' for non-native systems.
[arguments]<#:configure-flags>: Always supply '-m='. Add applicable
flags for non-native systems.
[supported-systems]: Use '%supported-systems'.
[description]: Update.
(chez-scheme-for-racket-bootstrap-bootfiles)[arguments]<#:phases>: Adapt
'build' phase for non-native systems.
* gnu/packages/racket.scm (racket-vm-bc)[description]: Update.
(racket-vm-cs)[description]: Likewise.
[inputs]: Use 'libffi' for non-native systems.
[arguments]<#:configure-flags>: Add applicable flags for non-native
systems.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
cb0d106590
gnu: racket: Support cross-compiling the VM packages.
Cross-compilation works for 'racket-vm-cgc', 'racket-vm-bc', and
'racket-vm-cs'. These changes are not enough to cross-compile
'racket-minimal' or 'racket': that would require building and loading
cross-compilation pluggins for 'racket-vm-cs', which will be much
easier once we can build the package 'raco-cross'.

* gnu/packages/racket.scm (racket-vm-cgc): Add 'this-package' when
cross-compiling.
(racket-vm-bc)[native-inputs]: Adjust accordingly.
(racket-vm-cs)[native-inputs]: Use 'racket-vm-cs' instead of
'racket-vm-bc' when cross-compiling. Adapt to changes to
'racket-vm-cgc'.
[arguments]<#:configure-flags>: Fix '--enable-scheme' for
cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
9ed6e51ceb
gnu: chez-scheme-for-racket: Support cross-compilation.
* gnu/packages/chez.scm (racket-cs-native-supported-system): Change to
return the applicable machine type instead of '#t'.
(chez-scheme-for-racket)[native-inputs]: When cross-compiling, add
'this-package'.
[arguments]<#:configure-flags>: When cross-compiling, supply '-m=' and
'--toolprefix='.
<#:phases>: Work around cross-compilation issues in 'build' and
'install-docs'.
(chez-scheme-for-racket-bootstrap-bootfiles): When cross-compiling,
use 'zuo' and 'chez-scheme-for-racket' instead of 'racket-vm-bc'.
[arguments]<#:phases>: Adapt 'build' phase for cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
47da722838
gnu: chez-scheme: Make bootfiles regular inputs.
* gnu/packages/chez.scm (chez-scheme)[native-inputs]: Move
'chez-scheme-bootstrap-bootfiles' to ...
[inputs]: ... this field.
[arguments]<#:phases>: Update 'unpack-bootfiles' accordingly.
(chez-scheme-for-racket)[native-inputs]: Move
'chez-scheme-for-racket-bootstrap-bootfiles' to ...
[inputs]: ... this field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00