summary refs log tree commit diff
path: root/gnu
AgeCommit message (Collapse)Author
2023-11-28gnu: rust: Add triplet for the Hurd.Efraim Flashner
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entries for i586-pc, i686-pc. Change-Id: I0b7bdc3c0445430b5f4ea79d8e052b6ef276f11b
2023-11-28gnu: Add make-rust-sysroot.Efraim Flashner
* gnu/packages/rust.scm (make-rust-sysroot): New procedure. Change-Id: I5ce4b7a3aab0a9e8d254159e2fbc6cf6b3442c32
2023-11-28gnu: at-spi2-core: Skip tests when cross-compiling.Efraim Flashner
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: When cross compiling skip the custom 'check phase. Change-Id: Ibc15a829d632bce8331dc70df6dc3b36b4a479a4
2023-11-28gnu: librsvg: Enable cross compiling.Efraim Flashner
* 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-28gnu: librsvg: Remove htmldir configure flag.Efraim Flashner
* gnu/packages/gnome.scm (librsvg)[arguments]: Update configure-flags to remove the htmldir directory option. Change-Id: Ia8a0d73d00edf899eac8c9e12071b92c0eef5258
2023-11-28gnu: librsvg: Honor the #:tests flag.Efraim Flashner
* gnu/packages/gnome.scm (librsvg)[arguments]: Adjust the custom 'check phase to honor the #:tests? flag. Change-Id: I53c2fac1c5625d9b73adf5929e148eb4ecf18b89
2023-11-28gnu: rust-swc: Prepare for cross-compilation.Efraim Flashner
* 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-28gnu: ripgrep: Don't install sources.Efraim Flashner
* gnu/packages/rust-apps.scm (ripgrep)[arguments]: Don't install sources. Change-Id: Ib1b2b4eb3ba52a6a4d59603c4a4ba5d674c98581
2023-11-28gnu: maturin: Add missing input.Efraim Flashner
* gnu/packages/rust-apps.scm (maturin)[inputs]: Add bzip2. Change-Id: I828ad8d5d6bb9ef119d84fc6205da5d72913afca
2023-11-28gnu: hyperfine: Prepare for cross-compiling.Efraim Flashner
* 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-28gnu: fd: Prepare for cross-compilation.Efraim Flashner
* 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-28gnu: just: Prepare for cross-compiling.Efraim Flashner
* gnu/packages/rust-apps.scm (just)[inputs]: Add bash-minimal, coreutils-minimal. Change-Id: I6e8de2d50dc3ef93f6a2adbdfb0ee5873f0bd138
2023-11-28gnu: libxscrnsaver: Fix cross-compiling.Efraim Flashner
* 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-28gnu: rav1e: Don't build the static library.Efraim Flashner
* 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-28gnu: alacritty: Prepare for cross-compiling.Efraim Flashner
* 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-28gnu: newsboat: Honor the #:tests? flag.Efraim Flashner
* gnu/packages/syndication.scm (newsboat)[arguments]: Adjust the custom 'check phase to honor the #:tests? flag. Change-Id: I626787ac2d33dfd1e003a0a8e8758e563c664f90
2023-11-28gnu: newsboat: Prepare for cross-building.Efraim Flashner
* gnu/packages/syndication.scm (newsboat)[arguments]: Add a phase to use the correct compiler when cross-compiling. Change-Id: I1a560af41471cb8899322813f8a18c15ac0e5924
2023-11-28gnu: stfl: Fix cross-building.Efraim Flashner
* 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-28gnu: rust-nitrokey-0.9: Add missing input.Efraim Flashner
* gnu/packages/crates-io.scm (rust-nitrokey-0.9)[inputs]: Add hidapi. Change-Id: Id8900abf8f05362b1c5f7f859043d5e5e3a6111c
2023-11-28gnu: rust-nitrokey-sys-3: Add missing input.Efraim Flashner
* gnu/packages/crates-io.scm (rust-nitrokey-sys-3)[inputs]: Add hidapi. Change-Id: I79ecb84b70f94f5394aad0e1faba2f9a1c947269
2023-11-28gnu: rust-nitrokey-test-0.3: Add missing input.Efraim Flashner
* gnu/packages/crates-io.scm (rust-nitrokey-test-0.3)[inputs]: Add hidapi. Change-Id: I6f7ea04952854af2b08f0ae5e6c9aec40326166a
2023-11-28gnu: rust-notify-4: Update to 4.0.17.Efraim Flashner
* gnu/packages/crates-io.scm (rust-notify-4): Update to 4.0.17. Change-Id: I53b8e406d460c95aae0dc76157b37bf3fc195073
2023-11-28gnu: rust-paw-structopt-1: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-paw-structopt-1)[arguments]: Skip the test suite. Change-Id: I00ae2aa1452d2c141d584447ad09b4961b74617f
2023-11-28gnu: rust-uint-0.9: Fix build.Efraim Flashner
* 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-28gnu: rust-bitvec-1: Add missing inputs.Efraim Flashner
* 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-28gnu: rust-h2-0.2: Update to 0.2.7.Efraim Flashner
* 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-28gnu: rust-syn-0.11: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-syn-0.11)[arguments]: Skip the test suite. Change-Id: Ied2965d78e8662f03a5597438fcca12203ce3cae
2023-11-28gnu: rust-wasm-bindgen-futures-0.3: Don't skip build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-wasm-bindgen-futures-0.3)[arguments]: Don't skip the build. [cargo-inputs]: Add rust-cfg-if-0.1, rust-web-sys-0.3. Change-Id: Ife011ce0050d83c8a2dbc53e608046338b483cb2
2023-11-28gnu: rust-paw-1: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-paw-1)[arguments]: Skip the test suite. Change-Id: I9040ab39d1fc8a2479d2fd32f0a58f108287e8f2
2023-11-28gnu: Add rust-runtime-tokio-0.3.Efraim Flashner
* gnu/packages/crates-io.scm (rust-runtime-tokio-0.3): New variable. Change-Id: Ibd1c95e1cd14126f23e4424dc34296df49c18e8d
2023-11-28gnu: rust-runtime-raw-0.3: Don't skip build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-runtime-raw-0.3)[arguments]: Don't skip the build. Change-Id: I13870508183a1d7fed8a25b005405f5c1b8d9283
2023-11-28gnu: rust-runtime-native-0.3: Don't skip build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-runtime-native-0.3)[arguments]: Don't skip the build. Change-Id: I227504a4cd1c44bf8dbdbb209280c1e5f6fb5535
2023-11-28gnu: rust-runtime-attributes-0.3: Don't skip build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-runtime-attributes-0.3)[arguments]: Don't skip the build. [cargo-development-inputs]: Add rust-runtime-raw-0.3. Change-Id: I71bc7f8b68d693cf90bad76f9ed21a3fffe42f23
2023-11-28gnu: rust-runtime-0.3: Don't skip build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-runtime-0.3)[arguments]: Don't skip the build. [cargo-development-inputs]: Add rust-failure-0.1, rust-futures-0.1, rust-futures-preview-0.3, rust-juliex-0.3, rust-mio-0.6, rust-rand-0.7, rust-runtime-tokio-0.3, rust-tokio-0.1. Change-Id: I35a864a568898ca8ffe83f008104fb1e1a77c0fa
2023-11-28gnu: rust-futures-util-preview-0.3: Fix inputs.Efraim Flashner
* gnu/packages/crates-io.scm (rust-futures-util-preview-0.3) [cargo-development-inputs]: Move rust-futures-join-macro-preview-0.3 ... [cargo-inputs]: ... to here. Change-Id: I5f2dff621c154ef9e4d0b6f00e387cd5df16b728
2023-11-28gnu: rust-actix-web-codegen-0.1: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-actix-web-codegen-0.1)[arguments]: Skip the test suite. Change-Id: I45cd98ba90b17d5ed8868d4414814121ef010dec
2023-11-28gnu: rust-linked-hash-map-0.3: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-linked-hash-map-0.3)[arguments]: Skip the test suite. Change-Id: Ie7227e98a7d0377dd37c7c680e938e6617c06f52
2023-11-28gnu: rust-tokio-0.1: Fix build.Efraim Flashner
* gnu/packages/crates-io.scm (rust-tokio-0.1)[arguments]: Add cargo-test-flags. [cargo-inputs]: Add rust-tracing-core-0.1. Remove rust-miow-0.3, rust-tokio-trace-core-0.2. [cargo-development-inputs]: Remove rust-tracing-core-0.1. Change-Id: Ide1a2e29c0e4f98440c2fecb0cd65806c0fc9471
2023-11-28gnu: rust-combine-3: Fix tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-combine-3)[arguments]: Add cargo-test-flags. Change-Id: I7b1c8eac5d864754e2d7cecfa8d8e9ad26e217d4
2023-11-28gnu: rust-security-framework-1: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-security-framework-1)[arguments]: Skip the test suite. Change-Id: Iac74d7025905add364cabd0b8cd8d0d17a7ce74a
2023-11-28gnu: rust-statrs-0.13: Fix tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-statrs-0.13)[arguments]: Add cargo-test-flags. Change-Id: I7578744aee817998fb81ad7ccf5120c044f675f6
2023-11-28gnu: Add rust-ndk-glue-0.7.Efraim Flashner
* gnu/packages/crates-io.scm (rust-ndk-glue-0.7): New variable. (rust-ndk-glue-0.6): Inherit from rust-ndk-glue-0.7. Change-Id: Ibade5623ccf113e9414fe4c00e905ac941eb9164
2023-11-28gnu: Add rust-jni-0.21.Efraim Flashner
* gnu/packages/crates-io.scm (rust-jni-0.21): New variable. (rust-jni-0.19): Inherit from rust-jni-0.21. Change-Id: I15da50085ad9b36ec5cc2e3e43bdaa96dacd2ad9
2023-11-28gnu: rust-app-dirs2-2: Update to 2.5.5.Efraim Flashner
* gnu/packages/crates-io.scm (rust-app-dirs2-2): Update to 2.5.5. [cargo-inputs]: Add rust-ndk-context-0.1. Replace rust-jni-0.18 with 0.21. Remove rust-ndk-glue-0.2. [cargo-development-inputs]: Add rust-log-0.4, rust-ndk-glue-0.7, rust-once-cell-1. Replace rust-test-case-1 with 2. Remove rust-lazy-static-1. Change-Id: I008e44fbf7901dc512ee372279eae3a743efc241
2023-11-28gnu: rust-bytemuck-derive-1: Update to 1.5.0.Efraim Flashner
* gnu/packages/crates-io.scm (rust-bytemuck-derive-1): Update to 1.5.0. [arguments]: Don't skip the build. Skip the test suite. [cargo-development-inputs]: Remove field. Change-Id: I27ed850ec9068741e3ac73b2f31d253a407d4d5c
2023-11-28gnu: rust-bytemuck-1: Update to 1.14.0.Efraim Flashner
* gnu/packages/crates-io.scm (rust-bytemuck-1): Update to 1.14.0. Change-Id: Icf86be4221a24bc87baabf727b0e44b23b5ea59c
2023-11-28gnu: Add rust-android-logger-0.11.Efraim Flashner
* gnu/packages/crates-io.scm (rust-android-logger-0.11): New variable. (rust-android-logger-0.10): Inherit from rust-android-logger-0.11. Change-Id: If667c0aaf700aa272da7c39d5aaeff43c37a4ec8
2023-11-28gnu: Add rust-java-locator-0.1.Efraim Flashner
* gnu/packages/crates-io.scm (rust-java-locator-0.1): New variable. Change-Id: Ib01b84708cd342f5c1835845aebda4d25593e378
2023-11-28gnu: rust-tower-layer-0.3: Fix tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-tower-layer-0.3)[arguments]: Add cargo-test-flags. Change-Id: I02904260a7db696c07ee12949a2810652644afc7
2023-11-28gnu: rust-zvariant-3: Skip tests.Efraim Flashner
* gnu/packages/crates-io.scm (rust-zvariant-3)[arguments]: Skip the test suite. Change-Id: I026c693513677e1be4edf73eb2f17fdafa2187d0