~ruther/guix-local

b2ffcdf2 — Nicolas Graves 8 months ago
build-system: cargo: Pass features to manifest-targets.

* guix/build/cargo-build-system.scm (manifest-targets): Pass features to
manifest-targets.

Change-Id: Id1a11d75d16389b92124fc49d2102d6aec935f64
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
32f9304e — Nicolas Graves 8 months ago
build-system: cargo: Migrate to `cargo metadata`.

cargo read-manifest complains about its deprecation. The replacement
is cargo metadata --no-deps --format-version 1, see
https://github.com/rust-lang/cargo/issues/13629#cargo-read-manifest

* guix/build/cargo-build-system.scm (manifest-targets): Refresh using
`cargo metadata`.
(has-executable-target?): Refresh accordingly.

Change-Id: I4cd4881d37523a7ac1f70e68df457ceb9075c1c3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
b186b25a — Efraim Flashner 8 months ago
build-system: cargo: Migrate to (json).

Fixes guix/guix#2620.

* guix/build-system/cargo.scm (%cargo-build-system-modules): Remove
(guix build json).
(cargo-guile-json): New procedure.
(cargo-build, cargo-cross-build): Add guile-json extension.
* guix/build/cargo-build-system.scm (manifest-targets): Adjust to using
(json).

Change-Id: I832a5555e63520241d3a4c4ccd2dcf860573dbab

Change-Id: I545f72b00f17e88ad19fe33870785367cac63ac4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
108ff867 — Nicolas Graves 8 months ago
build-system: pyproject: Migrate to (json).

Since (json) is imported in Guix, we remove gradually the old (guix
build json) module.

* guix/build-system/pyproject.scm (%pyproject-build-system-modules):
Remove (guix build json).
(pyproject-guile-json): New procedure.
(pyproject-build): Add guile-json extension, fix configure-flags
argument.

* guix/build/pyproject-build-system.scm (build): Refresh procedure
replacing (guix build json) procedures with (json) ones.

Change-Id: I3aede51f971b27104340816b60cf53174a9bd332
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
dec3b249 — Nicolas Graves 8 months ago
build-system: pyproject: Handle multiprocessing in the entry point.

Fixes guix/guix#1089.

According to the multiprocessing documentation, the entry point should
be protected by using `if __name__ == '__main__':`, see
https://docs.python.org/3/library/multiprocessing.html#multiprocessing-programming

Note that this is not the standard implementation highlighted in
https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts
but it will fix scripts using the standard lib multiprocessing and it
should not harm any other script.

 guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Wrap execution line with `if __name__ == '__main__':`

Change-Id: I450eb380cc4f613468395afd4b4eb52673d2ab1a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
27ba3604 — Nicolas Graves 8 months ago
build-system: pyproject: Add -sP flags for entry-point wrapper.

Fixes guix/guix#1118.

-P: prevents adding current working directory or script's directory to
the search path for modules.

-s: Prevent USER site-packages
directory (~/.local/lib/pythonX.Y[t]/site-packages) from being
included in the search path for modules.

* guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Add -sP flags, improve pythonic style.

Change-Id: Iabc7bb59bf08be1e0c662a069a30ae17a53c7fd5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
62ea5f58 — Nicolas Graves 8 months ago
build-system: pyproject: Normalize entry point import.

The standard is using from instead of import and it indeed allows to
avoid some side-effects in some cases, see
https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts

* guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Add -sP flags, improve pythonic style.

* gnu/packages/video.scm (python-yewtube)[arguments]<#:phases>: Remove
phase 'patch-script.

Change-Id: I995454c774666ed474b2418c18ec36c4f53bf015
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
d111a6a6 — Lars-Dominik Braun 8 months ago
guix: toml: Fix keys with embedded escape codes.

Quoted keys are treated by the specification like ordinary strings,
so escape codes must be handled as well.

* guix/build/toml.scm (eval-value): Move string escape handling…
(eval-value): …here.
(eval-toml-file): Un-escape quoted keys.
* tests/toml.scm ("parse-toml: Quoted keys with escapes"): New testcase.

Fixes: guix/guix#2414
Change-Id: I612e415cc93207bbdd18b6ec8279255fee16670a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
82918e46 — Julien Lepiller 8 months ago
gnu: hashlink: Update to 1.15.

* gnu/packages/haxe.scm (hashlink): Update to 1.15.

Change-Id: Ibe3f3df78404cd8f301527c933af577c90ccef65
c836e993 — Julien Lepiller 8 months ago
gnu: Add vhacd.

* gnu/packages/graphics.scm (vhacd): New variable.

Change-Id: If26793a7ff9fcb77174494f01d884432599e395a
6ad79090 — Julien Lepiller 8 months ago
gnu: Add meshoptimizer.

* gnu/packages/graphics.scm (meshoptimizer): New variable.

Change-Id: I92f1a0bcc3ce61cf5318ac6cd02d49af5378beaa
cd2e01d3 — Efraim Flashner 6 months ago
gnu: qdmr: Build with librsvg-for-system.

* gnu/packages/radio.scm (qdmr)[native-inputs]: Remove librsvg; add
librsvg-for-system.

Change-Id: Ic7346f50025e4bdc9a6bcae2882d801b0e6f57f5
be679e69 — Christopher Baines 6 months ago
gnu: nar-herder: Update to 0-50.8a99247.

* gnu/packages/package-management.scm (nar-herder): Update to 0-50.8a99247.

Change-Id: I4b69c2f7b75fd61fb77e7f755165fd22af8b5d6b
796ccdd6 — Christopher Baines 6 months ago
gnu: guix-build-coordinator: Update to 0-133.e0f6a8c.

* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-133.e0f6a8c.

Change-Id: Iac2afb2a7c5495c82409a768321d7604c9fef95c
b29cee26 — Christopher Baines 6 months ago
gnu: guile-knots: Update to 0-25.95200ec.

* gnu/packages/guile-xyz.scm (guile-knots): Update to 0-25.95200ec.

Change-Id: I4d6867a91257d8a712d6f92db457d1225dead7d3
99fcefd0 — Christopher Baines 6 months ago
gnu: guile-prometheus: Update to 0-8.49be2bc.

* gnu/packages/guile-xyz.scm (guile-prometheus): Update to 0-8.49be2bc.

Change-Id: I1a69191336e8bbe1075c520eae8f5b07829bad02
412681a6 — Guillaume Le Vaillant 6 months ago
gnu: ledger: Update to 3.4.1.

* gnu/packages/finance.scm (ledger): Update to 3.4.1.

Change-Id: I5bb0a6511923ca5266686f1c4365c1d738c79999
51454cd0 — Guillaume Le Vaillant 6 months ago
gnu: monero-gui: Update to 0.18.4.4.

* gnu/packages/finance.scm (monero-gui): Update to 0.18.4.4.

Change-Id: I1178c67ec31c36bb1a302475a8fb19f36b3f9e30
05ed7afe — Guillaume Le Vaillant 6 months ago
gnu: p2pool: Update to 4.12.

* gnu/packages/finance.scm (p2pool): Update to 4.12.

Change-Id: Id70e52281955141b4ca8675a752a081006735266
4131ea23 — Guillaume Le Vaillant 6 months ago
gnu: monero: Update to 0.18.4.4.

* gnu/packages/finance.scm (monero): Update to 0.18.4.4.

Change-Id: Ia0fd4404cccd4e8a44a81f0ff52a6540a912ed78
Next