Age | Commit message (Collapse) | Author |
|
* gnu/services/docker.scm (serialize-boolean): Delete procedure.
(docker-configuration) <no-serialization>: New syntactic keyword.
|
|
* tests/services/configuration.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
|
|
The non-hygienic binding of the source location accessor was set to
'-location'; in modules where multiple configurations were defined, it would
cause compilation warnings such as:
gnu/services/mail.scm:175:0: warning: shadows previous definition of
`%-location-procedure' at gnu/services/mail.scm:165:0
* gnu/services/configuration.scm (define-configuration-helper) <id>: Add a
missing #'stem argument to use the configuration name as a prefix to the
location accessor identifier.
|
|
In some cases, rather than globally disabling serialization, it may be more
appropriate to disable or otherwise alter the serialization procedure of a
specific field. In large module, multiple configurations may also exist that
would need to alter the default serialization procedure, which is named after
the field type. Being able to specify a per-field serialization procedure
provides more flexibility.
* gnu/services/configuration.scm (define-configuration): Add an optional
pattern variable to allow specifying a custom serialization procedure.
(define-configuration-helper) <field-serializer>: Use it to transform the
syntax.
(empty-serializer): New procedure.
(serialize-package): Alias to ‘empty-serializer’.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
|
Serialization is not always useful, for example when deriving command line
arguments from a configuration. This change provides a way to turn it off,
which removes the need to define a bunch of dummy serialization procedures.
Credit goes to Andrew Gierth (RhodiumToad) from #guile for providing the
solution. Thank you!
* gnu/services/configuration.scm (define-configuration-helper): New procedure.
(define-configuration) <no-serialization>: New syntactic keyword. Use it in a
new pattern. Refactor the macro so that it makes use of the above helper
procedure.
|
|
This resolves a compilation warning introduced with commit bb716e8d9d.
* gnu/services/configuration.scm (configuration->documentation): Use display
to print the string instead of format.
|
|
This has been the recommended default for arm and arm64 since since
v5.9 (upstream commit f259eab3ea0e7ed73db91f6358274dd3a9a27d79).
* gnu/packages/aux-files/linux-libre/5.10-arm.conf,
gnu/packages/aux-files/linux-libre/5.10-arm.conf,
gnu/packages/aux-files/linux-libre/5.11-arm.conf,
gnu/packages/aux-files/linux-libre/5.11-arm.conf: Enable
CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL, disable
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE.
|
|
* gnu/packages/diffoscope.scm (diffoscope): Update to 174.
|
|
* gnu/packages/emulators.scm (mame)[inputs]: Add missing pulseaudio input.
|
|
* gnu/packages/guile-xyz.scm (guile-ncurses/gpm)[inputs]: Use guile-3.0,
not guile-2.2.
|
|
* gnu/packages/audio.scm (mbelib)[licence]: The package is ISC, the
testing framework BSD-3.
|
|
* gnu/packages/audio.scm (mbelib)[source]: Use GIT-VERSION.
|
|
* gnu/packages/radio.scm (sdrangel): New variable.
|
|
* gnu/packages/radio.scm (dsdcc): New variable.
|
|
* gnu/packages/audio.scm (mbelib): New variable.
|
|
* gnu/packages/astronomy.scm (sgp4): New variable.
|
|
* gnu/packages/radio.scm (libdab): New variable.
|
|
* gnu/packages/radio.scm (cm256cc): New variable.
|
|
* gnu/packages/radio.scm (aptdec): Update to 1.7-1.5f91799.
[build-system]: Switch to cmake-build-system.
[arguments]: Remove 'make-flags". Remove custom 'configure' and 'install'
phases.
|
|
* gnu/packages/radio.scm (serialdv): New variable.
|
|
* gnu/packages/radio.scm (csdr): New variable.
|
|
* gnu/packages/xfce.scm (xfce4-clipman-plugin): Update to 1.6.2.
|
|
* gnu/packages/xfce.scm (thunar): Update to 4.16.7.
|
|
* gnu/packages/terminals.scm (kitty): Update to 0.20.3.
|
|
* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict): Update to 0.5.0.
|
|
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.7.2.
|
|
* gnu/packages/algebra.scm (giac): Update to 1.7.0-5.
|
|
* gnu/packages/emulators.scm (mame): Update to 0.231.
|
|
* gnu/packages/text-editors.scm (texmacs): Update to 1.99.20.
|
|
* gnu/packages/text-editors.scm (manuskript): Update to 0.12.0.
|
|
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Update to 1.4.
|
|
This package is part of the Python standard library since CPython 3.3.
* gnu/packages/python-xyz.scm (python-ipaddress): Merge with ...
(python2-ipaddress): ... this.
[name, arguments]: Adjust accordingly.
|
|
* gnu/packages/django.scm (python-django-netfields)[propagated-inputs]: Remove
PYTHON-IPADDRESS.
|
|
* gnu/packages/django.scm (python-djangorestframework)[source]: Change to
GIT-FETCH.
[arguments]: Remove #:tests?. Add #:phases.
[native-inputs]: New field.
|
|
The original (undocumented) procedure to generate the doc has a difficult to
grasp interface; add a simpler one on top of it.
* gnu/services/configuration.scm (configuration->documentation): New procedure.
|
|
Not all fields in a configuration have a sensible default value. This changes
makes it possible to omit a default value for a configuration field, requiring
the user to provide a value.
* gnu/services/configuration.scm (configuration-missing-field): New procedure.
(define-configuration): Make default value optional.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
|
This reverts commit 22796f1ad16abb7b1519d11332175d147ae10b82.
This is an accidental duplicate of 3de01371dc0c5fb0847d8ad64bc508f77396f56b.
|
|
* gnu/packages/emacs-xyz.scm (emacs-ytdl): Update to 1.3.6.
|
|
* gnu/packages/bioinformatics.scm (ensembl-vep): New variable.
|
|
* gnu/packages/perl.scm (perl-svg): Update to 2.86.
|
|
* gnu/packages/file-systems.scm (bcachefs-tools): Update to 0.1-7.7942d5c.
|
|
* gnu/packages/photo.scm (photoflare): Update to 1.6.8.
|
|
* gnu/packages/fpga.scm (gtkwave): Update to 3.3.109.
|
|
* gnu/packages/web.scm (tinyproxy)[arguments]: Run the test suite.
[native-inputs]: Add perl.
|
|
* gnu/packages/web.scm (tinyproxy): Update to 1.11.0.
|
|
* gnu/packages/web.scm (perl-cgi): Update to 4.52.
|
|
* gnu/packages/fonts.scm (font-liberation): Update to 2.1.4.
|
|
* gnu/packages/conky.scm (conky)[arguments]: Add "-DBUILD_WLAN=ON"
to #:configure-flags.
[inputs]: Add wireless-tools.
|
|
There were always tests.
* gnu/packages/conky.scm (conky)[arguments]: Build and run tests.
|
|
* gnu/packages/conky.scm (conky): Update to 1.12.2.
|