Steve George
9f884b1894
gnu: Add rust-gix-transport-0.37.
...
* gnu/packages/crates-io.scm (rust-gix-transport-0.37): New variable.
(rust-gix-transport-0.32): Inherit from rust-gix-transport-0.37.
Change-Id: Ie355057b6e0d97167ed171e29e26a65a1067107a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:49 +02:00
Steve George
17d48c4581
gnu: Add rust-gix-credentials-0.20.
...
* gnu/packages/crates-io.scm (rust-gix-credentials-0.20): New variable.
(rust-gix-credentials-0.15): Inherit from rust-gix-credentials-0.20.
Change-Id: I3866e819033ede89df4789b172f311e3269946f1
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:49 +02:00
Steve George
0dc9c61d59
gnu: Add rust-gix-sec-0.10.
...
* gnu/packages/crates-io.scm (rust-gix-sec-0.10): New variable.
(rust-gix-sec-0.8): Inherit from rust-gix-sec-0.10.
Change-Id: I9a7ad287dcb1c94a710a52f15ee5a11a3665d2e7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:49 +02:00
Steve George
ba1d4200aa
gnu: Add rust-gix-prompt-0.7.
...
* gnu/packages/crates-io.scm (rust-gix-prompt-0.7): New variable.
(rust-gix-prompt-0.5): Inherit from rust-gix-prompt-0.7.
Change-Id: Ic69cf0c436a26262f118c5dfabfb3047bd7feeac
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:49 +02:00
Steve George
2d18aba52a
gnu: Add rust-gix-config-value-0.14.
...
* gnu/packages/crates-io.scm (rust-gix-config-value-0.14): New variable.
(rust-gix-config-value-0.12): Inherit from rust-gix-config-value-0.14.
Change-Id: Ie81c753fe458729afd4586ce23ffc72cca5b903d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:49 +02:00
Steve George
d3e8adae57
gnu: Add rust-gix-url-0.24
...
* gnu/packages/crates-io.scm (rust-gix-url-0.24): New variable.
(rust-gix-url-0.19): Inherit from rust-gix-url-0.24.
Change-Id: I5cd99fa037039bda16392d824108fc5e6402d262
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
Steve George
63c82ed260
gnu: rust-libtest-mimic-0.6: Update to 0.6.1.
...
* gnu/packages/crates-io.scm (rust-libtest-mimic-0.6): Update to 0.6.1.
[arguments]: Enable tests.
Change-Id: Ied7666960201b6da95b39c0f5f15b64c8685d208
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
Steve George
d6299eedd1
gnu: Add rust-gix-worktree-stream-0.5.
...
* gnu/packages/crates-io.scm (rust-gix-worktree-stream-0.5): New variable.
Change-Id: I48bf12d15cc90952c80e4bdc373979f59c544cba
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
Steve George
a16d157589
gnu: Add rust-gix-worktree-state-0.3.
...
* gnu/packages/crates-io.scm (rust-gix-worktree-state-0.3): New variable.
Change-Id: I235b635749b45f929d6d486a04ac31444feac8c7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
Steve George
7cf104f01c
gnu: Add rust-gix-worktree-0.26.
...
* gnu/packages/crates-io.scm (rust-gix-worktree-0.26): New variable.
(rust-gix-worktree-0.18): Inherit from rust-gix-worktree-0.26.
Change-Id: Ia82c3aef6cf29bcd038146f9d544fb3a2763a5e4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
Steve George
5d2c2edd2a
gnu: Add rust-gix-ignore-0.8.
...
* gnu/packages/crates-io.scm (rust-gix-ignore-0.8): New variable.
(rust-gix-ignore-0.3): Inherit from rust-gix-ignore-0.8.
Change-Id: Ife70e383026bb3cc2d87c8cfff4cafa88d7acc1f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-28 07:59:48 +02:00
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