Steve George
2330a9d04d
gnu: Add rust-gix-index-0.25.
...
* gnu/packages/crates-io.scm (rust-gix-index-0.25): New variable.
(rust-gix-index-0.17): Inherit from rust-gix-index-0.25.
Change-Id: I2c4fe0c47b9737efdff8aef678773bf20067bdbb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:47 +02:00
Steve George
5bbacd1139
gnu: Add rust-gix-traverse-0.33.
...
* gnu/packages/crates-io.scm (rust-gix-traverse-0.33): New variable.
(rust-gix-traverse-0.26): Inherit from rust-gix-traverse-0.33.
Change-Id: I0cdf6eb9261e8237dd95afa4bf11c4dbe6ac4fe4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:47 +02:00
Steve George
375518b3ee
gnu: Add rust-gix-revwalk-0.8.
...
* gnu/packages/crates-io.scm (rust-gix-revwalk-0.8): New variable.
(rust-gix-revwalk-0.1): Inherit from rust-gix-revwalk-0.8.
Change-Id: I80145c469a760f3fd1af11b5f1502a41bfe91b69
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:47 +02:00
Steve George
2307a5f16e
gnu: Add rust-gix-hashtable-0.4.
...
* gnu/packages/crates-io.scm (rust-gix-hashtable-0.4): New variable.
(rust-gix-hashtable-0.2): Inherit from rust-gix-hashtable-0.4.
Change-Id: I867595bb3d256f8286f48e0148c2b72d42e4bfc7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:47 +02:00
Steve George
9243173433
gnu: Add rust-gix-commitgraph-0.21.
...
* gnu/packages/crates-io.scm (rust-gix-commitgraph-0.21): New variable.
(rust-gix-commitgraph-0.16): Inherit from rust-gix-commitgraph-0.21.
Change-Id: Ibdc9424cce7219424fbc5102d400096afe95fb1b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:47 +02:00
Steve George
e445adf3d4
gnu: Add rust-gix-lock-10.
...
* gnu/packaes/crates-io.scm (rust-gix-lock-10): New variable.
(rust-gix-lock-6): Inherit from rust-gix-lock-10.
Change-Id: If5a929b3895dcbf950f3fd50253e2d2de284242b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:46 +02:00
Steve George
2803b0ea93
gnu: Add rust-gix-tempfile-10.
...
* gnu/packages/crates-io.scm (rust-gix-tempfile-10): New variable.
(rust-gix-tempfile-6): Inherit from rust-gix-tempfile-10.
Change-Id: Ia3af5caf892860ada0dd9f5f881549b862604f43
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:46 +02:00
Steve George
a4606d6e94
gnu: Add rust-gix-fs-0.7.
...
* gnu/packages/crates-io.scm (rust-gix-fs-0.7): New variable.
(rust-gix-fs-0.2): Inherit from rust-gix-fs-0.7.
Change-Id: I01c7f82c81503c751158e104000d5a0a763c9061
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:46 +02:00
Steve George
9ce23cdc14
gnu: Add rust-gix-filter-0.5.
...
* gnu/packages/crates-io.scm(rust-gix-filter-0.5): New variable.
Change-Id: I0be53fff6e7b8b182eed84268d21e051282df5e2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:46 +02:00
Steve George
689a7d517c
gnu: Add rust-gix-packetline-blocking-0.16.
...
* gnu/packages/crates-io.scm (rust-gix-packetline-blocking-0.16) New variable.
Change-Id: I73bf86d4ee95eef2b85ba9caee1dffbdaa42b155
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:46 +02:00
Steve George
0a023b7ffb
gnu: Add rust-gix-object-0.37.
...
* gnu/packages/crates-io.scm (rust-gix-object-0.37): New variable.
(rust-gix-object-0.30): Inherit from rust-gix-object-0.37.
Change-Id: I0c2b948a19c43fef67736609142c1a9a9086b438
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
e4008a9f9b
gnu: Add rust-gix-validate-0.8.
...
* gnu/packages/crates-io.scm (rust-gix-validate-0.8): New variable.
(rust-gix-validate-0.7): Inherit from rust-gix-validate-0.8.
Change-Id: Icad58361e3aa0da0bb7b190d7117316dfecfd5d4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
6cfab0e14b
gnu: Add rust-gix-actor-0.27.
...
* gnu/packages/crates-io.scm (rust-gix-actor-0.27): New variable.
(rust-gix-actor-0.21): Inherit from rust-gix-actor-0.27.
Change-Id: I4a04cf844e9308b957d6d30da76013aafa4a2879
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
4caea6d42e
gnu: Add rust-gix-date-0.8.
...
* gnu/packages/crates-io.scm (rust-gix-date-0.8): New variable.
(rust-gix-date-0.5): Inherit from rust-gix-date-0.8.
Change-Id: I803ea0b97b0b278d6b74fe8b65a5e6404b900364
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
1d265260c5
gnu: Add rust-gix-attributes-0.19.
...
* gnu/packages/crates-io.scm (rust-gix-attributes-0.19): New variable.
(rust-gix-attributes-0.13): Inherit from rust-gix-attributes-0.19.
Change-Id: I900ffc00e3d54de90db5843409f129bb39160b88
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
0a0d5be599
gnu: Add rust-gix-glob-0.13.
...
* gnu/packages/crates-io.scm (rust-gix-glob-0.13): New variable.
(rust-gix-glob-0.8): Inherit from rust-gix-glob-0.13.
Change-Id: I3999b479d8d08c658fadf0da4cbed63475555e34
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:45 +02:00
Steve George
c470c771ed
gnu: Add rust-gix-path-0.10.
...
* gnu/packages/crates-io.scm (rust-gix-path-0.10): New variable.
(rust-gix-path-0.8): Inherit from rust-gix-path-0.10.
Change-Id: I4ec6102d0f6cf93a93f9998164f8057f622ecd4b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:44 +02:00
Steve George
5a1042ae32
gnu: Add rust-byteyarn-0.2.
...
gnu/packages/crates-io.scm (rust-byteyarn-0.2): New variable.
Change-Id: I561a03a986ba90255ecb56097c12715f99b4f5cb
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:44 +02:00
Steve George
9a39c7e5f7
gnu: Add rust-gix-features-0.35.
...
* gnu/packages/crates-io.scm (rust-gix-features-0.35): New variable.
(rust-gix-features-0.30): Inherit from rust-gix-features-0.35.
Change-Id: I6cf67f4c6ce560c2b96e0d47cec06098dfa4cfad
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:44 +02:00
Steve George
a2c84bfe7c
gnu: Add rust-prodash-26.
...
gnu/packages/crate-io.scm (rust-prodash-26): New variable.
(rust-prodash-25): Inherit from rust-prodash-26.
Change-Id: I7c5dc1da92eff338376c6af68718eee85a190489
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:44 +02:00
Steve George
d753e826fc
gnu: Add rust-gix-hash-0.13.
...
* gnu/packages/crates-io.scm (rust-gix-hash-0.13): New variable.
(rust-gix-hash-0.11): Inherit from rust-gix-hash-0.13.
Change-Id: I4d7e4a048efb463a019d01529622ad96c3a615d5
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:44 +02:00
Efraim Flashner
2700ed8ee6
gnu: rust: Add triplets for Windows.
...
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entries
for i686-mingw and x86_64-mingw.
Change-Id: I13615c1548d96863bc32620269d82975e4599c08
2023-11-28 07:59:43 +02:00
Efraim Flashner
7103f32aee
gnu: zoxide: Don't install the sources.
...
* gnu/packages/rust-apps.scm (zoxide)[arguments]: Don't install the
sources.
Change-Id: Ib9a3d8cb5d267c063cbb1ec099d6d70ca168e742
2023-11-28 07:59:43 +02:00
Efraim Flashner
f284ca9a1b
gnu: rust: Add triplet for the Hurd.
...
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entries
for i586-pc, i686-pc.
Change-Id: I0b7bdc3c0445430b5f4ea79d8e052b6ef276f11b
2023-11-28 07:59:43 +02:00
Efraim Flashner
e604972d9c
build/cargo-build-system: Enable cross-compiling.
...
* guix/build-system/cargo.scm (default-rust): Accept an argument.
(default-rust-sysroot, cargo-cross-build): New procedures.
(lower): Accept a rust-sysroot.
[private-kewords]: Add rust-sysroot. Remove target if cross-compiling.
[bag]: Allow cross-compiling. In host-inputs only have inputs when
cross-compiling, move crate sources to here, remove standard-packages.
In build-inputs add the inputs when not cross-compiling, add the
standard-cross-packages when cross-compiling, add the standard-packages
to here. Add target-inputs with the standard-cross-packages and
rust-sysroot when cross-compiling.
* guix/build/cargo-build-system.scm (configure): Accept target argument.
When cross-compiling set some environment variables. Adjust the
.config/cargo.toml to have configure options for cross-compiling.
Change-Id: I388d1e1f48943e45ff01f55af8efc0746f383b4a
2023-11-28 07:59:43 +02:00
Efraim Flashner
584bd0bb3d
gnu: Add make-rust-sysroot.
...
* gnu/packages/rust.scm (make-rust-sysroot): New procedure.
Change-Id: I5ce4b7a3aab0a9e8d254159e2fbc6cf6b3442c32
2023-11-28 07:59:43 +02:00
Efraim Flashner
3dc6253e87
gnu: at-spi2-core: Skip tests when cross-compiling.
...
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: When cross compiling
skip the custom 'check phase.
Change-Id: Ibc15a829d632bce8331dc70df6dc3b36b4a479a4
2023-11-28 07:59:43 +02:00
Efraim Flashner
a90043cfe8
gnu: librsvg: Enable cross compiling.
...
* gnu/packages/gnome.scm (librsvg)[arguments]: Use this-package-input to
find gdk-pixbuf in 'patch-gdk-pixbuf-thumbnailer phase. Adjust
'prepare-for-build phase to set PKG_CONFIG and RUST_TARGET when needed.
Adjust configure-flags when cross-compiling.
[native-inputs]: Add gdk-pixbuf.
[inputs]: Add gobject-introspection.
Change-Id: I977c48957a6f50a777b52ea59c0d1f8bd6edcc1b
2023-11-28 07:59:42 +02:00
Efraim Flashner
fc5677a018
gnu: librsvg: Remove htmldir configure flag.
...
* gnu/packages/gnome.scm (librsvg)[arguments]: Update configure-flags
to remove the htmldir directory option.
Change-Id: Ia8a0d73d00edf899eac8c9e12071b92c0eef5258
2023-11-28 07:59:42 +02:00
Efraim Flashner
9c97342939
gnu: librsvg: Honor the #:tests flag.
...
* gnu/packages/gnome.scm (librsvg)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
Change-Id: I53c2fac1c5625d9b73adf5929e148eb4ecf18b89
2023-11-28 07:59:42 +02:00
Efraim Flashner
6d45f24dee
gnu: rust-swc: Prepare for cross-compilation.
...
* gnu/packages/rust-apps.scm (rust-swc)[arguments]: Adjust custom
'install phase to search all of the 'target' directory for the swc
binary to install.
Change-Id: Ib1a1ebce0ea61d14530f17a93b898e425342a1ad
2023-11-28 07:59:42 +02:00
Efraim Flashner
84ca518b26
gnu: ripgrep: Don't install sources.
...
* gnu/packages/rust-apps.scm (ripgrep)[arguments]: Don't install
sources.
Change-Id: Ib1b2b4eb3ba52a6a4d59603c4a4ba5d674c98581
2023-11-28 07:59:42 +02:00
Efraim Flashner
48cc479ca1
gnu: maturin: Add missing input.
...
* gnu/packages/rust-apps.scm (maturin)[inputs]: Add bzip2.
Change-Id: I828ad8d5d6bb9ef119d84fc6205da5d72913afca
2023-11-28 07:59:42 +02:00
Efraim Flashner
4624355513
gnu: hyperfine: Prepare for cross-compiling.
...
* gnu/packages/rust-apps.scm (hyperfine)[arguments]: Don't install the
sources. Adjust the custom 'install-more phase to search for the shell
completions anywhere in the target directory.
Change-Id: I067c40e06e145297ceb0eb5127bdd7835033750a
2023-11-28 07:59:41 +02:00
Efraim Flashner
f66f05e171
gnu: fd: Prepare for cross-compilation.
...
* gnu/packages/rust-apps.scm (fd)[arguments]: Adjust custom
'install-extra phase to only generate the completions when not
cross-compiling.
Change-Id: I6d961d798af217cc5abd42018f13d0160f0c5012
2023-11-28 07:59:41 +02:00
Efraim Flashner
008d234666
gnu: just: Prepare for cross-compiling.
...
* gnu/packages/rust-apps.scm (just)[inputs]: Add bash-minimal,
coreutils-minimal.
Change-Id: I6e8de2d50dc3ef93f6a2adbdfb0ee5873f0bd138
2023-11-28 07:59:41 +02:00
Efraim Flashner
a4923688e1
gnu: libxscrnsaver: Fix cross-compiling.
...
* gnu/packages/xorg.scm (libxscrnsaver)[arguments]: When cross-compiling
add configure-flag to skip a configure test which can't run when
cross-compiling.
Change-Id: If6ba64dfae28d3db220e91ffcbbaf6108fed9ef9
2023-11-28 07:59:41 +02:00
Efraim Flashner
0d84d3ff9f
gnu: rav1e: Don't build the static library.
...
* gnu/packages/video.scm (rav1e)[arguments]: Adjust the custom 'build
phase to not build the static library. Remove phase deleting static
library.
Change-Id: I624e5e076eac867b12cfc5fbf3d33c2832d23646
2023-11-28 07:59:41 +02:00
Efraim Flashner
448e90db80
gnu: alacritty: Prepare for cross-compiling.
...
* gnu/packages/terminals.scm (alacritty)[arguments]: Adjust the custom
'install phase to use the native 'tic' command and to find the alacritty
binary wherever it is located.
Change-Id: I3117f41a97bb6a5dd1037544c1a27bc01e924396
2023-11-28 07:59:40 +02:00
Efraim Flashner
8b8637079c
gnu: newsboat: Honor the #:tests? flag.
...
* gnu/packages/syndication.scm (newsboat)[arguments]: Adjust the custom
'check phase to honor the #:tests? flag.
Change-Id: I626787ac2d33dfd1e003a0a8e8758e563c664f90
2023-11-28 07:59:40 +02:00
Efraim Flashner
4442aa8780
gnu: newsboat: Prepare for cross-building.
...
* gnu/packages/syndication.scm (newsboat)[arguments]: Add a phase to use
the correct compiler when cross-compiling.
Change-Id: I1a560af41471cb8899322813f8a18c15ac0e5924
2023-11-28 07:59:40 +02:00
Efraim Flashner
bd90c7d462
gnu: stfl: Fix cross-building.
...
* gnu/packages/ncurses.scm (stfl)[arguments]: Add a make-flag to use the
correct compiler when cross-compiling. Remove trailing #t from phases.
Change-Id: I79aaf2472439b74e66e0e178f3d7f1bd2af62d7e
2023-11-28 07:59:40 +02:00
Efraim Flashner
fb05c43a36
gnu: rust-nitrokey-0.9: Add missing input.
...
* gnu/packages/crates-io.scm (rust-nitrokey-0.9)[inputs]: Add hidapi.
Change-Id: Id8900abf8f05362b1c5f7f859043d5e5e3a6111c
2023-11-28 07:59:40 +02:00
Efraim Flashner
54a49feae0
gnu: rust-nitrokey-sys-3: Add missing input.
...
* gnu/packages/crates-io.scm (rust-nitrokey-sys-3)[inputs]: Add hidapi.
Change-Id: I79ecb84b70f94f5394aad0e1faba2f9a1c947269
2023-11-28 07:59:40 +02:00
Efraim Flashner
89f87f12e4
gnu: rust-nitrokey-test-0.3: Add missing input.
...
* gnu/packages/crates-io.scm (rust-nitrokey-test-0.3)[inputs]: Add
hidapi.
Change-Id: I6f7ea04952854af2b08f0ae5e6c9aec40326166a
2023-11-28 07:59:39 +02:00
Efraim Flashner
6c6514a138
gnu: rust-notify-4: Update to 4.0.17.
...
* gnu/packages/crates-io.scm (rust-notify-4): Update to 4.0.17.
Change-Id: I53b8e406d460c95aae0dc76157b37bf3fc195073
2023-11-28 07:59:39 +02:00
Efraim Flashner
c3f49a63a4
gnu: rust-paw-structopt-1: Skip tests.
...
* gnu/packages/crates-io.scm (rust-paw-structopt-1)[arguments]: Skip the
test suite.
Change-Id: I00ae2aa1452d2c141d584447ad09b4961b74617f
2023-11-28 07:59:39 +02:00
Efraim Flashner
3c21209445
gnu: rust-uint-0.9: Fix build.
...
* gnu/packages/crates-io.scm (rust-uint-0.9)[arguments]: Add a phase to
use the default features of rust-rug.
Change-Id: I8c1bb99b28ef7fb31fa032823fd5a99e76aad783
2023-11-28 07:59:39 +02:00
Efraim Flashner
cf93fbc8a6
gnu: rust-bitvec-1: Add missing inputs.
...
* gnu/packages/crates-io.scm (rust-bitvec-1)[cargo-development-inputs]:
Add rust-criterion-0.3, rust-rand-0.8, rust-serde-1, rust-serde-json-1,
rust-serde-test-1, rust-static-assertions-1.
Change-Id: I712a56bb83718adcdd6b726f108dbddcd11d242b
2023-11-28 07:59:39 +02:00
Efraim Flashner
d97b640fe1
gnu: rust-h2-0.2: Update to 0.2.7.
...
* gnu/packages/crates-io.scm (rust-h2-0.2): Update to 0.2.7.
[arguments]: Skip the test suite.
[cargo-inputs]: Add rust-tracing-futures-0.2.
[native-inputs]: Add perl.
Change-Id: Id531eb420672dc06c9c43e903755b042ebdd185c
2023-11-28 07:59:38 +02:00