Commit graph

125631 commits

Author SHA1 Message Date
Maxim Cournoyer
26025fa802
gnu: Add qmk-firmware-ergodox-ez-default.
* gnu/packages/firmware.scm (make-qmk-firmware/implementation)
(make-qmk-firmware): New procedures.
(qmk-firmware-ergodox-ez-default): New variable.

Series-changes: 2
- Install firmware from root directory, not .build
- Also honor .bin and .uf2 firmware file extensions
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
a1ce7487d3
gnu: embedded: Do not use a prefix on the (gnu packages base) module.
This can in some cases hide the real error with errors such as:

  error: base:which: unbound variable

* gnu/packages/embedded.scm (openocd) [native-inputs]: Replace base:which with
which.
(binutils-vc4): Likewise.
(python-libmpsse): Likewise.
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
1cb7404fee
gnu: Add lufa.
* gnu/packages/avr-xyz.scm (lufa): New variable.
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
45be44bf3d
gnu: qmk: Add many missing inputs and add more commands to PATH.
* gnu/packages/firmware.scm (qmk) [inputs]: Add bash-minimal, dfu-util,
diffutils, gawk, gnu-make, grep and python.
[arguments]: Add them to PATH in the wrapper in the wrap-path phase.  Also
capture avr-ar in the PATH.  Add CROSS_C_INCLUDE_PATH and
CROSS_LIBRARY_PATH to the wrapper.
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
261a1f902a
gnu: qmk: Use GCC 8 for the AVR toolchain.
* gnu/packages/firmware.scm (qmk) [inputs]: Specify 'gcc-8' as the #:xgcc
argument to the 'make-avr-toolchain' procedure.
2023-10-10 00:06:12 -04:00
Maxim Cournoyer
431d64bae2
gnu: qmk: Avoid propagating inputs.
* gnu/packages/firmware.scm (qmk):
[arguments]: New modules and phases arguments.
[propagated-inputs]: Turn into...
[inputs]: ... this.  Add coreutils-minimal, sed and util-linux.
[description]: Expound.
2023-10-10 00:06:12 -04:00
Maxim Cournoyer
077f7bd235
gnu: qmk: Style.
* gnu/packages/firmware.scm (qmk): Apply 'guix style' changes.
2023-10-10 00:06:12 -04:00
Maxim Cournoyer
4af820b9ef
gnu: make-avr-toolchain: Add a #:xgcc argument.
This allows generating an AVR toolchain for any version of GCC.

* gnu/packages/avr.scm (make-avr-gcc): Add a #:xgcc argument; use memoize
instead of mlambda.
(make-avr-libc): Likewise.  Provide it to the 'make-avr-gcc' call.
(make-avr-toolchain): Add a #:xgcc argument; use memoize instead of mlambda.
Provide the xgcc argument to the 'make-avr-libc' and 'make-avr-gcc'
procedures.
2023-10-10 00:06:12 -04:00
Ricardo Wurmus
53fd3989d3
gnu: r-deoptimr: Update to 1.1-3.
* gnu/packages/statistics.scm (r-deoptimr): Update to 1.1-3.
2023-10-09 22:44:48 +02:00
Ricardo Wurmus
be130ee39a
gnu: r-testthat: Update to 3.2.0.
* gnu/packages/statistics.scm (r-testthat): Update to 3.2.0.
2023-10-09 22:44:48 +02:00
Ricardo Wurmus
02a90c3e05
gnu: r-rsvg: Update to 2.6.0.
* gnu/packages/cran.scm (r-rsvg): Update to 2.6.0.
2023-10-09 22:44:48 +02:00
Ricardo Wurmus
09ad283852
gnu: r-plotroc: Update to 2.3.1.
* gnu/packages/cran.scm (r-plotroc): Update to 2.3.1.
2023-10-09 22:44:48 +02:00
Ricardo Wurmus
973b4aa880
gnu: r-grimport2: Update to 0.3-0.
* gnu/packages/cran.scm (r-grimport2): Update to 0.3-0.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
48aedf1ed8
gnu: r-word2vec: Update to 0.4.0.
* gnu/packages/cran.scm (r-word2vec): Update to 0.4.0.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
e63b8bfafc
gnu: r-glmmtmb: Update to 1.1.8.
* gnu/packages/cran.scm (r-glmmtmb): Update to 1.1.8.
[propagated-inputs]: Add r-mgcv.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
94b7ecb16b
gnu: r-fansi: Update to 1.0.5.
* gnu/packages/cran.scm (r-fansi): Update to 1.0.5.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
7fdf6d9bef
gnu: r-heatmaply: Update to 1.5.0.
* gnu/packages/cran.scm (r-heatmaply): Update to 1.5.0.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
d7e7df92f8
gnu: r-fbasics: Update to 4031.95.
* gnu/packages/cran.scm (r-fbasics): Update to 4031.95.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
5488c0ac06
gnu: r-ksamples: Update to 1.2-10.
* gnu/packages/cran.scm (r-ksamples): Update to 1.2-10.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
f0e048576f
gnu: r-htmltools: Update to 0.5.6.1.
* gnu/packages/cran.scm (r-htmltools): Update to 0.5.6.1.
2023-10-09 22:44:47 +02:00
Ricardo Wurmus
591ffaede3
gnu: r-abn: Update to 3.0.1.
* gnu/packages/bioconductor.scm (r-abn): Update to 3.0.1.
2023-10-09 22:44:47 +02:00
Clément Lassieur
7937c8827b
gnu: icu4c-73-promise: Fix broken test.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/gnuzilla.scm (icu4c-73-promise)[source]: Add patch.
* gnu/packages/patches/icu4c-fix-TestHebrewCalendarInTemporalLeapYear.patch:
New file.
2023-10-09 18:11:07 +02:00
Efraim Flashner
87ffb3d3fb
gnu: isync: Patch path to openssl binary.
* gnu/packages/mail.scm (isync)[arguments]: Add a phase to patch the
path to the openssl binary for mbsync-get-cert.
2023-10-09 15:30:49 +03:00
Ricardo Wurmus
00feb9865a
gnu: povray: Update to 3.7.0.10.
* gnu/packages/graphics.scm (povray): Update to 3.7.0.10.
[source]: Simplify snippet.
2023-10-09 11:40:26 +02:00
Ricardo Wurmus
6e99158abb
gnu: povray: Drop input labels.
* gnu/packages/graphics.scm (povray)[inputs]: Remove all input labels.
[arguments]: Use G-expression to avoid the use of %build-inputs.
2023-10-09 11:40:26 +02:00
John Kehayias
321979a153
gnu: imgui@1.86: Adjust make-flags.
* gnu/packages/toolkits.scm (imgui-1.86)[arguments]: Remove the
"-DIMGUI_ENABLE_FREETYPE" make-flag which breaks the display of mangohud, the
only dependent.  The "-DImDrawIdx=unsigned int" make-flag was previously
removed, so we can do both by filtering make-flags starting with "-D".
[inputs]: Remove freetype.
2023-10-09 00:05:57 -04:00
Bruno Victal
40a1254b05
gnu: mympd: Update to 12.0.4.
* gnu/packages/mpd.scm (mympd): Update to 12.0.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Luis Felipe
0be2108d40
gnu: Add font-orbitron.
* gnu/packages/fonts.scm (font-orbitron): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Karl Hallsby
0be51fe03b
gnu: Add tree-sitter-scala.
* gnu/packages/tree-sitter.scm (tree-sitter-scala): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
john muhl
a44569899a
gnu: Add tree-sitter-lua.
* gnu/packages/tree-sitter.scm (tree-sitter-lua): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
B. Wilson
f59c31deaf
gnu: Add smithforth.
* gnu/packages/forth (smithforth): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Rikard Nordgren
e1dcf86a35
gnu: Add python-beziers.
* gnu/packages/fontutils.scm (python-beziers): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Nicolas Graves
e9c0bb0341
gnu: python-distributed: Disable failing tests.
* gnu/packages/python-science.scm (python-distributed): Disable failing tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-08 23:43:50 +02:00
Ludovic Courtès
96b40c3eba
doc: Fix typo.
* doc/guix.texi (GNU Privacy Guard): Fix typo.
2023-10-08 23:43:49 +02:00
Ludovic Courtès
aa65f31ed2
disarchive-manifest: Add one manifest entry per tarball.
This works around a situation where ‘cuirass remote-worker’ now builds
with max-jobs = 1 (Cuirass commit
980ef610989895be5ac2ba7f9d1901e5c7f22934).  The effect is that all
.dis.drv would be performed sequentially, on a single machine (‘cuirass
remote-server’ is unable to distribute those derivations to several
machines because it only “sees” the ‘disarchive-collection’ derivation).
This would take a lot of time and force a rebuild of all of *.dis.drv
every time because their build results would not be retrieved by the
‘remote-server’ process.

* etc/disarchive-manifest.scm (disarchive-collection): Remove.
<top level>: Define ‘disarchives’.  Append it to the entries of the
manifest.
2023-10-08 23:43:49 +02:00
Ludovic Courtès
002c5bec07
accounts: Ensure ‘last-change’ field of shadow entries is never zero.
* gnu/build/accounts.scm (passwd->shadow): Add ‘max’ call so NOW is
greater than or equal to 1.
2023-10-08 23:43:49 +02:00
Efraim Flashner
9b77bd0b9b
gnu: vim: Update to 9.0.2001.
* gnu/packages/vim.scm (vim): Update to 9.0.2001.
[arguments]: Skip another test.
2023-10-08 10:19:08 +03:00
Liliana Marie Prikler
577fd21122
gnu: mpd-mpc: Install bash completions in correct location.
* gnu/packages/mpd.scm (mpd-mpc)[#:phases]: Add ‘move-completion’.
2023-10-08 08:48:15 +02:00
Liliana Marie Prikler
2e0ed79118
gnu: emacs-next-minimal: Apply Guix patches.
* gnu/packages/patches/emacs-next-native-comp-driver-options.patch: Add file.
* gnu/packages/patches/emacs-next-exec-path.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register them here.
* gnu/packages/emacs.scm (emacs-next-minimal)[origin](patches): Include the
same patches as emacs-minimal, save for the variants specific to emacs-next
introduced above.

Co-Authored-By: Nicolas Graves <ngraves@ngraves.fr>
Fixes: ‘emacs-next’ is almost unusable <https://bugs.gnu.org/66227>
2023-10-08 08:40:57 +02:00
jgart
6e63530954
gnu: python-glymur: Update to 0.12.8.
* gnu/packages/python-xyz.scm (python-glymur): Update to 0.12.8.
[native-inputs]: Add python-scikit-image.
2023-10-07 23:31:35 -05:00
Bruno Victal
00a28bc435
services: configuration: Add some commonly used predicates.
* gnu/services/configuration.scm (list-of-packages?, list-of-symbols?): New
predicate.
* gnu/services/audio.scm (list-of-symbol?): Remove.
* gnu/services/telephony.scm (string-list?): Remove.
(serialize-string-list): Rename to …
(serialize-list-of-strings): … this.
(account-fingerprint-list?, jami-account-list?): Use list-of.
* doc/guix.texi: Update it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:06 -04:00
Bruno Victal
3872ecf274
doc: Rewrite define-configuration.
Rewrite this section to make it easier to document later syntactical
changes.

* doc/guix.texi (Complex Configurations): Rewrite define-configuration
documentation. Fix simple serializer example.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
dd65564db0
services: fstrim-service-type: Serialize with SRFI-171 transducers.
* gnu/services/linux.scm (serialize-fstrim-configuration): Refactor to use
base-transducer.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
a7994ed58d
services: configuration: Use transducers within serialize-configuration.
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a
starting point for writing custom configuration record serializing procedures.

This also fixes the symbol maybe-value serialization test case.

* gnu/services/configuration.scm (empty-serializer?): New predicate.
(base-transducer, tfilter-maybe-value): New procedure.
(serialize-configuration): Adapt to use base-transducer.

* gnu/services/telephony.scm (jami-account->alist): Use transducers to skip
fields that are unserializable or whose field maybe-value is unset.

* tests/services/configuration.scm: Remove test-expect-fail.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:05 -04:00
Bruno Victal
1b29e5db8f
services: configuration: Simplify normalize-extra-args.
* gnu/services/configuration.scm
(define-configuration-helper, normalize-extra-args): Use #f instead of %unset-value.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 12:41:04 -04:00
Sergio Pastor Pérez
e328a5f746
gnu: Add gnome-shell-extension-night-theme-switcher.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-night-theme-switcher): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-07 11:29:47 -04:00
Guillaume Le Vaillant
b566e1a98a
gnu: gqrx: Update to 2.17.
* gnu/packages/radio.scm (gqrx): Update to 2.17.
2023-10-07 11:51:43 +02:00
jgart
84431a30ea
gnu: python-openai: Update to 0.28.1.
* gnu/packages/python-web.scm (python-openai): Update to 0.28.1.
2023-10-07 00:04:07 -05:00
pinoaffe
6d5a75c70e
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase.  Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:39:44 -03:00
pinoaffe
ced91adcc0
gnu: Add fontobene-qt5.
* gnu/packages/fontutils.scm (fontobene-qt5): New variable.

Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-06 21:34:22 -03:00