Commit graph

98394 commits

Author SHA1 Message Date
Ludovic Courtès
53b9c27aa5
upstream: 'package-update' reports "unknown upstream releases" errors.
Fixes <https://issues.guix.gnu.org/55987>.
Reported by John Kehayias <john.kehayias@protonmail.com>.

* guix/upstream.scm (package-update): Instead of calling
'package-latest-release*', call 'package-latest-release' and distinguish
between "up-to-date" and "unknown upstream releases".  Raise an error in
the latter case.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5c06eedf08
refresh: Switch to SRFI-71.
* guix/scripts/refresh.scm (update-package): Use SRFI-71 'let' instead
of SRFI-11 'let-values'.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5d4b189120
challenge: When using '--diff', do not attempt to chmod symlinks.
This is a followup to 2a2856d5cc.

* guix/scripts/challenge.scm (make-directory-writable): Do not call
'make-file-writable' on symlinks.
2022-06-15 23:49:23 +02:00
Maxim Cournoyer
1cde647cc0
doc: Use a minimal texlive profile in build.scm.
* doc/build.scm (pdf-manual) <texinfo-profile>: New variable.
<PATH>: Define in terms of the above.
<GUIX_TEXMF>: New environment variable.
2022-06-15 17:24:46 -04:00
Tobias Geerinckx-Rice
5c0ef02db9
doc: Substitute ‘copy’ for confusing ‘drop’.
* doc/guix.texi (Build Environment Setup): ‘drop in’ → ‘copy to’.

Reported by lechner in #guix.
2022-06-12 02:00:00 +02:00
Efraim Flashner
0929657ec6
gnu: eigen: Honor the #:tests? flag.
* gnu/packages/algebra.scm (eigen)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
2022-06-15 21:54:35 +03:00
Clément Lassieur
673983c9c6
gnu: emacs-lsp-mode: Update to 8.0.1-0.4aafe25.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 8.0.1-0.4aafe25.
[arguments]: Add a 'fix-patch-el-files' phase.
2022-06-15 15:39:50 +02:00
Tobias Geerinckx-Rice
a431d1dbc5
gnu: bind: Update to 9.16.30.
* gnu/packages/dns.scm (isc-bind): Update to 9.16.30.
2022-06-12 02:00:00 +02:00
Hartmut Goebel
9cccf6490d
gnu: Add rebar3-proper.
* gnu/packages/erlang.scm (rebar3-proper): New variable.
2022-06-15 10:58:10 +02:00
Hartmut Goebel
ffc18b87f9
gnu: Add rebar3-git-vsn.
* gnu/packages/erlang.scm (rebar3-git-vsn): New variable.
2022-06-15 10:58:09 +02:00
Hartmut Goebel
1e6d64c2dc
gnu: Add rebar3-raw-deps.
* gnu/packages/erlang.scm (rebar3-raw-deps): New variable.
2022-06-15 10:58:09 +02:00
Hartmut Goebel
00eea05ab8
gnu: Add rebar3.
* gnu/packages/erlang.scm (rebar3): New variable.
2022-06-15 10:58:08 +02:00
Hartmut Goebel
0018a4788b
gnu: Add erlang-covertool.
* gnu/packages/erlang.scm (erlang-covertool): New variable.
2022-06-15 10:58:08 +02:00
Hartmut Goebel
eb8c8ba11f
gnu: Add erlang-proper.
* gnu/packages/erlang.scm (erlang-proper): New variable.
2022-06-15 10:18:49 +02:00
Hartmut Goebel
d723e8d94b
gnu: Add erlang-jsone.
* gnu/packages/erlang.scm (erlang-jsone): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
e0376bc8a4
gnu: Add erlang-edown.
* gnu/packages/erlang.scm (erlang-edown): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
4af9fa1130
gnu: Add erlang-relx.
* gnu/packages/erlang.scm (erlang-relx): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
539695e9d5
gnu: Add erlang-ssl-verify-fun.
* gnu/packages/erlang.scm (erlang-ssl-verify-fun): New variable.
2022-06-15 10:18:47 +02:00
Hartmut Goebel
2b474f45c1
gnu: Add erlang-hex-core.
* gnu/packages/erlang.scm (erlang-hex-core): New variable.
2022-06-15 10:18:46 +02:00
Hartmut Goebel
8680f3fbb7
gnu: Add erlang-parse-trans.
* gnu/packages/erlang.scm (erlang-parse-trans): New variable.
2022-06-15 10:18:46 +02:00
Hartmut Goebel
0e6f4572c1
gnu: Add erlang-providers.
* gnu/packages/erlang.scm (erlang-providers): New variable.
2022-06-15 10:18:45 +02:00
Hartmut Goebel
6cec25f232
gnu: Add erlang-eunit-formatters.
* gnu/packages/erlang.scm (erlang-eunit-formatters): New variable.
2022-06-15 10:18:45 +02:00
Hartmut Goebel
a6b7caa190
gnu: Add erlang-getopt.
* gnu/packages/erlang.scm (erlang-getopt): New variable.
2022-06-15 10:18:44 +02:00
Hartmut Goebel
d146de283b
gnu: Add erlang-bbmustache.
* gnu/packages/erlang.scm (erlang-bbmustache): New variable.
2022-06-15 10:18:44 +02:00
Hartmut Goebel
bb4546defd
gnu: Add erlang-cth-readable.
* gnu/packages/erlang.scm (erlang-cth-readable): New variable.
2022-06-15 10:18:44 +02:00
Hartmut Goebel
a6a1e4b9f4
gnu: Add erlang-erlware-commons.
* gnu/packages/erlang.scm (erlang-erlware-commons): New variable.
2022-06-15 10:18:43 +02:00
Hartmut Goebel
b5c81fb289
gnu: Add erlang-certifi.
* gnu/packages/erlang.scm (erlang-certifi): New variable.
2022-06-15 10:18:43 +02:00
Hartmut Goebel
922588402e
gnu: Add erlang-cf.
* gnu/packages/erlang.scm (erlang-cf): New variable.
2022-06-15 10:18:42 +02:00
Hartmut Goebel
0d9f1f15cb
import: Add hex.pm importer.
hex.pm is a package repository for Erlang and Elixir.

* guix/scripts/import.scm (importers): Add "hexpm".
* guix/scripts/import/hexpm.scm, guix/import/hexpm.scm,
  guix/hexpm-download.scm: New files.
* guix/import/utils.scm (source-spec->object): Add "hexpm-fetch" to list of
  fetch methods.
* guix/upstream.scm (package-update/hexpm-fetch): New function.
  (%method-updates) Add it.
* Makefile.am: Add them.
2022-06-15 10:18:34 +02:00
Hartmut Goebel
97586ca1cb
build-system: Add 'rebar-build-system'.
* guix/build-system/rebar.scm, guix/build/rebar-build-system.scm: New files.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Update rebar-build-system section.
2022-06-15 10:17:25 +02:00
Hartmut Goebel
2f3cea45b9
Revert "Add (guix extracting-download)."
This reverts commit f63c79bf76, which was missed
when reverting the #51061 patch series for now in
a1679b74c9.
2022-06-15 10:17:24 +02:00
Ludovic Courtès
8a04ac4b2f
gnu: slurm: Update to 22.05.1.
* gnu/packages/parallel.scm (slurm): Update to 22.05.1.
(slurm-21.08): New variable.
2022-06-15 00:25:22 +02:00
Petr Hodina
887b23a73c
gnu: Add kismet.
* gnu/packages/networking.scm (kismet): New variable.
* gnu/local.mk: Add patch.
* gnu/packages/patches/kismet-unbundle-boost.patch: New file.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:22 +02:00
Petr Hodina
e51517d077
gnu: libwesockets: Update license.
* gnu/packages/web.scm (libwebsockets)[license]: Change to expat.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:22 +02:00
Alexandros Theodotou
c363843349
gnu: rtmidi: Add version 5.0.0.
* gnu/packages/audio.scm (rtmidi): Update to 5.0.0.
(rtmidi-4.0): New variable.
* gnu/packages/music.scm (milkytracker)[inputs]: Use RTMIDI-4.0 rather
than RTMIDI.
(zrythm)[inputs]: Likewise.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Alexandros Theodotou
d22bee814c
gnu: libadwaita: Update to 1.1.0.
* gnu/packages/gnome.scm (libadwaita): Update to 1.1.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Olivier Dion
7735e8ed90
gnu: lttng-ust: Fix dependencies.
* gnu/packages/instrumentation.scm (lttng-ust): Fix dependencies.
[inputs]: Remove liburcu.
[propagated-inputs]: Add liburcu.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Attila Lendvai
713d140750
doc: Follow the 'disabled -> *unspecified* configuration refactor.
* doc/guix.texi (Networking Services)
(Messaging Services)
(Telephony Services)
(File-Sharing Services)
(VPN Services)
(Power Management Services)
(Complex Configurations)
(Desktop Home Services): Remove mentions of the 'disabled symbol or
replace them by *unspecified*, depending on context.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Attila Lendvai
8cb1a49a39
services: configuration: Use *unspecified* instead of 'disabled.
Use *unspecified* as a marker for field values that have not been set.

Rationale: 'disabled may easily clash with user values for boolean fields, is
confusing (i.e. its meaning is *not* boolean false, but unspecified) and it
also passes silently through the symbol? predicate of a field of type symbol.

* gnu/services/configuration.scm (configuration-missing-default-value):
Renamed from configuration-no-default-value.
(define-maybe-helper): Use *unspecified* instead of 'disabled, and make
the default value optional.
* gnu/home/services/desktop.scm (home-redshift-configuration):
Change (maybe-xyz 'disabled) to maybe-xyz.
* gnu/services/authentication.scm (nslcd-configuration): Likewise.
* gnu/services/cgit.scm (repository-cgit-configuration): Likewise.
* gnu/services/file-sharing.scm (serialize-maybe-string)
(serialize-maybe-file-object): Use 'unspecified?' instead of (eq? val
'disabled).
* gnu/services/messaging.scm (raw-content?): Likewise.
(ssl-configuration): Change (maybe-xyz 'disabled) to maybe-xyz.
(prosody-configuration): Likewise.
* gnu/services/file-sharing.scm (transmission-daemon-configuration):
Likewise.
* gnu/services/messaging.scm (define-all-configurations):
Use *unspecified* instead of 'disabled'.
* gnu/services/networking.scm (opendht-configuration): Likewise.
* gnu/services/pm.scm (tlp-configuration): Likewise.
* gnu/services/telephony.scm (jami-account): Likewise.
(jami-configuration): Likewise.
* gnu/services/vpn.scm (openvpn-client-configuration): Likewise.
* tests/services/configuration.scm ("maybe type, no default")
("maybe type, with default"): New tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Attila Lendvai
e11517052b
services: configuration: Support (field1 maybe-number "") format.
As opposed to explicitly using 'disabled as value, or using the
(field1 (maybe-number) "") format.

It's mostly the work of Maxime Devos shared under #54674, with some
modifications by Attila Lendvai.

* gnu/services/configuration.scm (normalize-field-type+def): New function.
(define-configuration-helper) (define-configuration): Support new field
format.
* tests/services/configuration.scm (config-with-maybe-number->string): New
function.
("maybe value serialization of the instance"): New test.
("maybe value serialization of the instance, unspecified"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-15 00:25:21 +02:00
Ludovic Courtès
3d0749b4e3
ssh: Add #:connection-timeout parameter to 'open-ssh-session'.
* guix/ssh.scm (open-ssh-session): Add #:connection-timeout parameter
and honor it.
2022-06-15 00:25:20 +02:00
Ludovic Courtès
7046e77721
system: <operating-system> compiler truly honors the 'system' argument.
Fixes <https://issues.guix.gnu.org/55951>.

* gnu/system.scm (operating-system-compiler): Parameterize
'%current-system' and '%current-target-system' before calling
'operating-system-derivation'.
* tests/system.scm ("lower-object, %current-system sensitivity"): New
test.
2022-06-15 00:25:20 +02:00
Ludovic Courtès
9be470b5d2
pull: Tweak cache directory validation code.
This is a followup to 7c52cad046.

* guix/scripts/pull.scm (guix-pull): Move cache directory validation
code to...
(validate-cache-directory-ownership): ... here.  New procedure.  Use
SRFI-71 instead of SRFI-11.  Use 'formatted-message' for the error
message, with ASCII quotation marks, and use Texinfo markup for
'&fix-hint'.
2022-06-15 00:25:17 +02:00
Marius Bakke
13c46cc29d
gnu: PostgreSQL: Promote version 14 to the default.
* gnu/packages/databases.scm (postgresql): Alias to POSTGRESQL-14.
* gnu/packages/qt.scm (qtbase-5)[inputs]: Stay on POSTGRESQL-13.
2022-06-14 23:33:54 +02:00
Marius Bakke
bd16e7c32d
gnu: python-asyncpg: Update to 0.25.0.
* gnu/packages/databases.scm (python-asyncpg): Update to 0.25.0.
[native-inputs]: Remove PYTHON-FLAKE8, PYTHON-PYCODESTYLE, PYTHON-SPHINX,
PYTHON-SPHINX-RTD-THEME, and PYTHON-SPHINXCONTRIB-ASYNCIO.
2022-06-14 23:33:54 +02:00
Marius Bakke
d51a097460
gnu: python-tortoise-orm: Update to 0.19.1.
* gnu/packages/databases.scm (python-tortoise-orm): Update to 0.19.1.
2022-06-14 23:33:53 +02:00
Marius Bakke
3f033b6d9e
gnu: python-pypika-tortoise: Update to 0.1.5.
* gnu/packages/databases.scm (python-pypika-tortoise): Update to 0.1.5.
2022-06-14 23:33:53 +02:00
Marius Bakke
9f1713f219
gnu: gplates: Update to 2.3.01-beta.3.
* gnu/packages/geo.scm (gplates): Update to 2.3.01-beta.3.
[source](uri): Adjust for beta releases.
[source](file-name): Adjust for zipball.
[native-inputs]: Add UNZIP.
[inputs]: Simplify.
2022-06-14 23:33:53 +02:00
Marius Bakke
ec4515389a
gnu: perl-dbd-pg: Update to 3.15.1.
* gnu/packages/databases.scm (perl-dbd-pg): Update to 3.15.1.
2022-06-14 23:33:53 +02:00
Marius Bakke
334c849ba1
gnu: python-acme, certbot: Update to 1.28.0.
* gnu/packages/tls.scm (python-acme): Update to 1.28.0.
[arguments]: Override check phase.
(certbot)[source]: Update hash.
2022-06-14 23:33:53 +02:00