Commit graph

78625 commits

Author SHA1 Message Date
Vinicius Monego
dd05a93743
gnu: python-language-server: Relax dependency versions.
* gnu/packages/python-xyz.scm (python-language-server)[arguments]: Add phase
to relax pycodestyle and pyflakes version.
2021-05-08 11:27:50 +02:00
Vinicius Monego
768732eb2f
gnu: Add python-pytest-xvfb.
* gnu/packages/python-check.scm (python-pytest-xvfb): New variable.
2021-05-08 11:27:49 +02:00
Vinicius Monego
25644879c1
gnu: Add python-pyvirtualdisplay.
* gnu/packages/python-xyz.scm (python-pyvirtualdisplay): New variable.
2021-05-08 11:27:49 +02:00
Vinicius Monego
2137cc44ba
gnu: Add python-entrypoint2.
* gnu/packages/python-xyz.scm (python-entrypoint2): New variable.
2021-05-08 11:27:49 +02:00
Vinicius Monego
570a4c77f8
gnu: Add python-easyprocess.
* gnu/packages/python-xyz.scm (python-easyprocess): New variable.
2021-05-08 11:27:49 +02:00
Vinicius Monego
83706ea9e9
gnu: Add python-qtsass.
* gnu/packages/python-xyz.scm (python-qtsass): New variable.
2021-05-08 11:27:49 +02:00
Vinicius Monego
ce13e4a524
gnu: Add python-pytest-qt.
* gnu/packages/python-check.scm (python-pytest-qt): New variable.
2021-05-08 11:27:48 +02:00
Vinicius Monego
4907d70898
gnu: python-language-server: Enable tests.
* gnu/packages/python-xyz.scm (python-language-server): Enable tests.
[arguments]: Add phases to enable tests.
[propagated-inputs]: Add python-flake8.
2021-05-08 11:27:48 +02:00
Vinicius Monego
30fd24641c
gnu: Add python-qstylizer.
* gnu/packages/python-xyz.scm (python-qstylizer): New variable.
2021-05-08 11:27:48 +02:00
Vinicius Monego
5802228fca
gnu: Add python-tinycss.
* gnu/packages/python-web.scm (python-tinycss): New variable.
2021-05-08 11:27:48 +02:00
Vinicius Monego
e0def67669
gnu: Add python-pyls-black.
* gnu/packages/python-xyz.scm (python-pyls-black): New variable.
2021-05-08 11:27:48 +02:00
Vinicius Monego
bd6f03846b
gnu: Add python-three-merge.
* gnu/packages/python-xyz.scm (python-three-merge): New variable.
2021-05-08 11:27:48 +02:00
Vinicius Monego
796f7cabdb
gnu: Add python-textdistance.
* gnu/packages/python-xyz.scm (python-textdistance): New variable.
2021-05-08 11:27:47 +02:00
Maxim Cournoyer
a9a67da573
services: docker: Disable configuration serialization.
* gnu/services/docker.scm (serialize-boolean): Delete procedure.
(docker-configuration) <no-serialization>: New syntactic keyword.
2021-05-08 01:04:31 -04:00
Maxim Cournoyer
a77e3a5846
services: configuration: Add tests.
* tests/services/configuration.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
2021-05-08 01:04:31 -04:00
Maxim Cournoyer
dd0826fbf3
services: configuration: Fix %location accessor name.
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.
2021-05-08 01:04:01 -04:00
Xinglu Chen
b3e99d3399
services: configuration: Allow specifying a custom serializer.
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>
2021-05-08 00:50:39 -04:00
Maxim Cournoyer
3f9a12dc08
services: configuration: Allow disabling serialization.
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.
2021-05-08 00:50:39 -04:00
Maxim Cournoyer
1a2704add3
services: configuration: Avoid a compilation warning.
This resolves a compilation warning introduced with commit bb716e8d9d.

* gnu/services/configuration.scm (configuration->documentation): Use display
to print the string instead of format.
2021-05-08 00:50:38 -04:00
Vagrant Cascadian
b4ab965dfa
gnu: linux-libre: Default to schedutil cpufreq governor on arm and arm64.
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.
2021-05-07 15:23:42 -07:00
Vagrant Cascadian
d79829975a
gnu: diffoscope: Update to 174.
* gnu/packages/diffoscope.scm (diffoscope): Update to 174.
2021-05-07 14:23:49 -07:00
Nicolas Goaziou
d934edbca1
gnu: mame: Fix build.
* gnu/packages/emulators.scm (mame)[inputs]: Add missing pulseaudio input.
2021-05-07 21:35:42 +02:00
Tobias Geerinckx-Rice
b4d809b063
gnu: guile-ncurses-with-gpm: Fix Guile version.
* gnu/packages/guile-xyz.scm (guile-ncurses/gpm)[inputs]: Use guile-3.0,
not guile-2.2.
2021-05-07 20:06:31 +02:00
Tobias Geerinckx-Rice
e15f7a6b5a
gnu: mbelib: Fix licence.
* gnu/packages/audio.scm (mbelib)[licence]: The package is ISC, the
testing framework BSD-3.
2021-05-07 19:16:46 +02:00
Tobias Geerinckx-Rice
4b861c89fb
gnu: mbelib: Fix version.
* gnu/packages/audio.scm (mbelib)[source]: Use GIT-VERSION.
2021-05-07 19:14:28 +02:00
Guillaume Le Vaillant
d87547d242
gnu: Add sdrangel.
* gnu/packages/radio.scm (sdrangel): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
f2a94a9e26
gnu: Add dsdcc.
* gnu/packages/radio.scm (dsdcc): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
f1b0d0d76f
gnu: Add mbelib.
* gnu/packages/audio.scm (mbelib): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
d1b1e21ded
gnu: Add sgp4.
* gnu/packages/astronomy.scm (sgp4): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
9a2251fb5a
gnu: Add libdab.
* gnu/packages/radio.scm (libdab): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
82b72a7d79
gnu: Add cm256cc.
* gnu/packages/radio.scm (cm256cc): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
1bd9f785b6
gnu: aptdec: Update to 1.7-1.5f91799.
* 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.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
b6bfad7e32
gnu: Add serialdv.
* gnu/packages/radio.scm (serialdv): New variable.
2021-05-07 18:16:59 +02:00
Guillaume Le Vaillant
86a6749fbb
gnu: Add csdr.
* gnu/packages/radio.scm (csdr): New variable.
2021-05-07 18:16:59 +02:00
Tobias Geerinckx-Rice
71e9522904
gnu: xfce4-clipman-plugin: Update to 1.6.2.
* gnu/packages/xfce.scm (xfce4-clipman-plugin): Update to 1.6.2.
2021-05-07 18:03:09 +02:00
Tobias Geerinckx-Rice
8f36967e0e
gnu: thunar: Update to 4.16.7.
* gnu/packages/xfce.scm (thunar): Update to 4.16.7.
2021-05-07 18:03:09 +02:00
Tobias Geerinckx-Rice
e2a6de5057
gnu: kitty: Update to 0.20.3.
* gnu/packages/terminals.scm (kitty): Update to 0.20.3.
2021-05-07 18:03:09 +02:00
Nicolas Goaziou
ccaf29afd0
gnu: emacs-pyim-basedict: Update to 0.5.0.
* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict): Update to 0.5.0.
2021-05-07 17:57:33 +02:00
Nicolas Goaziou
e4cc6e0bb1
gnu: emacs-pyim: Update to 3.7.2.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.7.2.
2021-05-07 17:54:25 +02:00
Nicolas Goaziou
646a722658
gnu: giac: Update to 1.7.0-5.
* gnu/packages/algebra.scm (giac): Update to 1.7.0-5.
2021-05-07 17:45:04 +02:00
Nicolas Goaziou
1a5fb536e2
gnu: mame: Update to 0.231.
* gnu/packages/emulators.scm (mame): Update to 0.231.
2021-05-07 17:40:34 +02:00
Nicolas Goaziou
b5e5425f61
gnu: texmacs: Update to 1.99.20.
* gnu/packages/text-editors.scm (texmacs): Update to 1.99.20.
2021-05-07 17:34:29 +02:00
Nicolas Goaziou
d29c769bcc
gnu: manuskript: Update to 0.12.0.
* gnu/packages/text-editors.scm (manuskript): Update to 0.12.0.
2021-05-07 16:45:32 +02:00
Nicolas Goaziou
f103cf276d
gnu: emacs-flycheck-grammalecte: Update to 1.4.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Update to 1.4.
2021-05-07 16:33:00 +02:00
Marius Bakke
165786bb7a
gnu: Remove python-ipaddress.
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.
2021-05-07 16:01:58 +02:00
Marius Bakke
f387523c62
gnu: python-django-netfields: Remove obsolete input.
* gnu/packages/django.scm (python-django-netfields)[propagated-inputs]: Remove
PYTHON-IPADDRESS.
2021-05-07 16:01:58 +02:00
Marius Bakke
a0365cf007
gnu: python-djangorestframework: Enable tests.
* gnu/packages/django.scm (python-djangorestframework)[source]: Change to
GIT-FETCH.
[arguments]: Remove #:tests?.  Add #:phases.
[native-inputs]: New field.
2021-05-07 16:01:58 +02:00
Maxim Cournoyer
bb716e8d9d
services: configuration: Add a new helper to ease generating documentation.
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.
2021-05-07 08:59:31 -04:00
Xinglu Chen
d1caabbce7
services: configuration: Support fields without default values.
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>
2021-05-07 08:57:45 -04:00
Pierre Neidhardt
7ae9ef3b54
Revert "gnu: Add pathname-utils."
This reverts commit 22796f1ad1.

This is an accidental duplicate of 3de01371dc.
2021-05-07 11:54:49 +02:00