Commit graph

114883 commits

Author SHA1 Message Date
Christopher Baines
5dcfe798f4
gnu: Remove python-slimit.
This is no longer used by python-django-pipeline and it fails to build, I
think due to incompatibility with recent Python versions.

* gnu/packages/python-web.scm (python-slimit): Remove.
2023-05-06 18:58:41 +01:00
Christopher Baines
f77d5ebb6a
gnu: python-django-pipeline: Update to 2.1.0.
Remove python-slimit as a dependency as it's no longer supported. Also make
the inputs native-inputs since they're all test dependencies and users of this
library should pick which things they want to use it with.

* gnu/packages/django.scm (python-django-pipeline): Update to 2.1.0.
[propagated-inputs]: Move some to...
[native-inputs]: ... here, removing python-slimit and adding
python-setuptools-scm.
2023-05-06 18:56:21 +01:00
Ludovic Courtès
c3d7c09b9f
Revert "download: Refer to the 'guile-gnutls' package and not 'gnutls'."
This reverts commit c625e5b64d, which
introduced a circular dependency: the origin of guile-gnutls relies on
'git-download', which would now depend on guile-gnutls.
2023-05-06 19:12:16 +02:00
Ludovic Courtès
c625e5b64d
download: Refer to the 'guile-gnutls' package and not 'gnutls'.
This is a followup to 305794762c, which
removed Guile bindings from 'gnutls'.

* guix/android-repo-download.scm (android-repo-fetch): Refer to
'guile-gnutls instead of 'gnutls.
* guix/cvs-download.scm (cvs-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
2023-05-06 18:19:13 +02:00
Bruno Victal
8ffe52df47
doc: Use G-Expressions for package definition example.
* doc/guix.texi (Build Phases): Use G-Expressions for example.

Co-authored-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 18:07:37 +02:00
Alexey Abramov
aaa0e7b3f8
gnu: hostapd: Add ACS and full dynamic vlan support
* gnu/packages/admin.scm (hostapd): ACS (Automatic Channel Selection)
will allow hostapd to pick the channel automatically. Full dynamic
vlan support enables hostapd to automatically create bridge and VLAN
interfaces if necessary (enables vlan_tagged_interface option).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 18:05:12 +02:00
Ludovic Courtès
86bf0c5a3f
doc: cookbook: Remove outdated section about GUIX_PACKAGE_PATH.
The section insisted on GUIX_PACKAGE_PATH, mentioned version 0.16, and
didn't say much about channels, which made it look obsolete.

* doc/guix-cookbook.texi (GUIX_PACKAGE_PATH): Remove section.
(Guix channels): Rename to...
(Channels): ... this.  Merge most of the explanations previously in the
GUIX_PACKAGE_PATH section.  Say more about channels and add
cross-references.
2023-05-06 18:01:16 +02:00
Raphaël Mélotte
4dbe29a76a
gnu: glances: Update to 3.3.1.1.
* gnu/packages/python-xyz.scm (glances): Update to 3.3.1.1
[propagated-inputs]: Add python-ujson, which is a new dependency since release
v3.3.1 (replacing the builtin json module).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 17:17:57 +02:00
Raphaël Mélotte
819cd80710
gnu: python-ujson: Update to 5.7.0.
* gnu/packages/python-xyz.scm (python-ujson): Update to 5.7.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 17:17:55 +02:00
Karl Hallsby
e7be4b9661
gnu: msmtp: Install old msmtpqueue scripts
* gnu/packages/mail.scm (msmtp): Install msmtpqueue scripts.

These scripts may be old, but someone may want them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 17:16:57 +02:00
Ludovic Courtès
71fd35c1d5
lint: archival: Warn against non-origin package sources.
Suggested by Maxim Cournoyer <maxim.cournoyer@gmail.com>
and Simon Tournier <zimon.toutoune@gmail.com>.

* guix/lint.scm (check-archival): Add 'local-file?' clause.  Clarify
message in case (package-source package) is not an origin.
* tests/lint.scm ("archival: not an origin"): New test.
2023-05-06 17:12:45 +02:00
Ludovic Courtès
5c5bdab929
gnu: gitile: Fix build.
* gnu/packages/version-control.scm (gitile)[arguments]: Replace
'bootstrap' phase.
[inputs]: Replace GNUTLS with GUILE-GNUTLS.
2023-05-06 17:12:45 +02:00
Ludovic Courtès
ec6395b1aa
gnu: python-ldap: Update to 3.4.3.
* gnu/packages/openldap.scm (python-ldap): Update to 3.4.3.
2023-05-06 17:12:45 +02:00
Ludovic Courtès
7d4483d864
gnu: mod-wsgi: Update to 4.9.4.
* gnu/packages/web.scm (mod-wsgi): Update to 4.9.4.
2023-05-06 17:12:45 +02:00
Ludovic Courtès
e88bf64e6f
services: dbus-service, secret-service: Do not cause (fibers) to be loaded.
* gnu/build/dbus-service.scm (sleep*): Pass #:ensure #f to 'resolve-module'.
* gnu/build/secret-service.scm (wait-for-readable-fd): Likewise.
2023-05-06 17:12:45 +02:00
Ludovic Courtès
f518882725
tests: Add missing module imports for marionette-evaluated code.
This missing imports became apparent with commit
a09c7da8f8, which runs the marionette
service in a fresh Guile process with fewer imports.

* gnu/tests/databases.scm (run-postgresql-test, run-timescaledb-test)
(run-mysql-test): Add missing module imports for code passed to
'marionette-eval'.
* gnu/tests/docker.scm (run-docker-test, run-docker-system-test): Likewise.
* gnu/tests/mail.scm (run-dovecot-test, run-getmail-test): Likewise.
* gnu/tests/monitoring.scm (run-zabbix-server-test): Likewise.
* gnu/tests/pam.scm (run-test-pam-limits): Likewise.
* gnu/tests/reconfigure.scm (run-switch-to-system-test)
(run-install-bootloader-test): Likewise.
* gnu/tests/security-token.scm (run-pcscd-test): Likewise.
* gnu/tests/install.scm (gui-test-program): Likewise.
* gnu/tests/telephony.scm (run-jami-test): Add modules to
the #:imported-modules argument of 'marionette-operating-system'.
[test]: Remove them from 'with-imported-modules'; remove
'with-extensions'.  Add "d-bus tooling loaded" test to set up %load-path
and %load-compiled-path so the marionette process can find
guile-ac-d-bus and guile-packrat.
2023-05-06 17:12:45 +02:00
Christopher Baines
1cb0dee3a3
gnu: guile-irc: Fix build.
* gnu/packages/guile-xyz.scm (guile-irc)[arguments]: Add 'fix-autogen.sh phase
to patch shebang removing leading space.
[inputs]: Add guile-gnutls.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-05-06 14:30:47 +01:00
Ricardo Wurmus
8294d5a641
gnu: ibus-libpinyin: Update to 1.15.2.
* gnu/packages/ibus.scm (ibus-libpinyin): Update to 1.15.2.
2023-05-06 14:39:04 +02:00
Ricardo Wurmus
7469c53b17
gnu: libpinyin: Update to 2.8.1.
* gnu/packages/ibus.scm (libpinyin): Update to 2.8.1.
2023-05-06 14:39:04 +02:00
Ricardo Wurmus
6dd13506dc
gnu: ibus-libpinyin: Wrap setup tool in full GI_TYPELIB_PATH.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Include GTK+ and its
dependencies in the effective GI_TYPELIB_PATH of the setup executable.
2023-05-06 14:39:04 +02:00
Ricardo Wurmus
33d626da7d
gnu: ibus-libpinyin: Drop package labels and use G-exps.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Use G-expression.
[inputs]: Drop labels.
2023-05-06 14:39:04 +02:00
Hilton Chain
40d6615ca2
gnu: libnode: Use node-lts as base.
* gnu/packages/node.scm (libnode): Use node-lts as base.
* gnu/packages/cran.scm (r-v8)[arguments]<#:phases>: Adjusted accordingly.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
2023-05-06 13:53:22 +02:00
Hilton Chain
8cc0ed4536
gnu: node-lts: Update to 18.16.0.
* gnu/packages/node.scm (node-lts): Update to 18.16.0.
[snippet]: Keep file deps/openssl/nodejs-openssl.cnf.
[arguments]<#:configure-flags>: Enable v8 snapshot compression.
<#:phases>: Adjust problematic tests to delete accordingly.
Patch additional file with hardcoded references to /bin/sh.
[native-inputs,inputs]: Replace openssl-1.1 with openssl.
Replace libuv-for-node with libuv.
Replace nghttp2-for-node with nghttp2.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
Co-authored-by: Jelle Licht <jlicht@fsfe.org>
2023-05-06 13:53:22 +02:00
Hilton Chain
bd3f19c874
gnu: llhttp-bootstrap: Update to 6.0.10.
* gnu/packages/node.scm (llhttp-bootstrap): Update to 6.0.10.
* gnu/packages/patches/llhttp-bootstrap-CVE-2020-8287.patch: Remove file.
* gnu/local.mk: Remove it.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
2023-05-06 13:53:22 +02:00
Jelle Licht
6668e3a9ad
gnu: emacs-nodejs-repl: Build with node-lts.
* gnu/packages/emacs-xyz.scm (emacs-nodejs-repl)[inputs]: Replace node by
node-lts.
2023-05-06 13:53:22 +02:00
Jelle Licht
f963ac4f63
gnu: node-openzwave-shared: Fix compilation for new versions of node
* gnu/packages/zwave.scm (node-openzwave-shared)[arguments]<#:phases>: Add
patch-compiler phase to allow compilation with node versions 16 and up.
2023-05-06 13:53:22 +02:00
Jelle Licht
2c8c582803
gnu: node-serialport: Avoid gyp rebuilds.
* gnu/packages/node-xyz.scm (node-serialport)[arguments]<phases>: Explicitly
disable gyp recompilation.
2023-05-06 13:53:22 +02:00
Jelle Licht
8b4c901ac8
gnu: node-uglify-js: Update to 3.14.2.
* gnu/packages/uglifyjs.scm (node-uglify-js): Update to 3.14.2.
2023-05-06 13:53:22 +02:00
Jelle Licht
cfa2432ae2
gnu: node-yazl: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-yazl)[arguments]<phases>: Explicitly patch
out development dependencies. Re-enable configure phase.
2023-05-06 13:53:22 +02:00
Jelle Licht
8890e9e998
gnu: node-ieee754: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-ieee754)[arguments]<phases>: Explicitly
patch out development dependencies. Re-enable configure phase.
2023-05-06 13:53:22 +02:00
Jelle Licht
5133b8bfaa
gnu: node-resolve-protobuf-schema: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-resolve-protobuf-schema)[arguments]<phases>:
Explicitly patch out development dependencies. Re-enable configure phase.
2023-05-06 13:53:22 +02:00
Jelle Licht
0140e014aa
gnu: node-protocol-buffers-schema: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-protocol-buffers-schema)[arguments]<phases>:
Explicitly patch out development dependencies. Re-enable configure phase.
2023-05-06 13:53:21 +02:00
Jelle Licht
25a117bcd8
gnu: node-pbf: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-pbf)[arguments]<phases>: Explicitly patch
out development dependencies. Re-enable configure phase.
2023-05-06 13:53:21 +02:00
Jelle Licht
4c26ea1257
gnu: node-minimist: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-minimist)[arguments]<phases>: Explicitly
patch out development dependencies. Re-enable configure phase.
2023-05-06 13:53:21 +02:00
Jelle Licht
06be5228f0
gnu: node-crx3: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-crx3)[arguments]<phases>: Explicitly patch
out development dependencies. Re-enable configure phase.
2023-05-06 13:53:21 +02:00
Jelle Licht
aa0dbc3170
gnu: node-buffer-crc32: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-acorn)[arguments]<phases>: Explicitly patch
out development dependencies.  Re-enable configure phase.
2023-05-06 13:53:21 +02:00
Jelle Licht
14821580f5
gnu: node-acorn: Fix broken transpilation.
* gnu/packages/node-xyz.scm (node-acorn)[native-inputs]: Add `esbuild'.
[arguments]<phases>: Replace build phase by custom `esbuild' invocations.
2023-05-06 13:53:21 +02:00
Jelle Licht
7a44c34f4a
gnu: node-acorn: Remove lifecycle script.
* gnu/packages/node-xyz.scm (node-acorn)[arguments]<modules>: New argument.
<phases>: Patch out unused 'prepare' script that breaks dependents.
2023-05-06 13:53:21 +02:00
Jelle Licht
00b2e16823
gnu: node-acorn: Disable tests.
* gnu/packages/node-xyz.scm (node-acorn): Explicitly disable tests.
2023-05-06 13:53:21 +02:00
Jelle Licht
d8ce5e3297
build-system: node: Use --install-links' with npm install'.
Later versions of npm need to explicitly install a copy of local dependencies,
instead of only a symlink.

* guix/build/node-build-system.scm (configure): Add `--install-links' to npm
install invocation.
(install): Ditto.
2023-05-06 13:53:21 +02:00
Christopher Baines
c229937c6a
services: guix-build-coordinator: Simpify service startup.
Take advantage of changes in the build coordinator to reduce the complexity of
the service startup script.

* gnu/services/guix.scm (make-guix-build-coordinator-start-script): Remove the
metrics registry and datastore.
2023-05-06 12:51:51 +01:00
Christopher Baines
7b1b43a27a
gnu: guix-build-coordinator: Update to 0-80.d030cac.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-80.d030cac.
2023-05-06 12:51:51 +01:00
Christopher Baines
99bcf7ce98
gnu: guix-data-service: Update to 0.0.1-40.3734a85
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-40.3734a85.
2023-05-06 12:51:51 +01:00
宋文武
7368020bef
gnu: rizin: Fix build.
* gnu/packages/engineering.scm (rizin)[arguments]: Skip failing tests.
2023-05-06 18:49:13 +08:00
Timotej Lazar
64086a4fa4
gnu: mupdf: Simplify snippet.
* gnu/packages/pdf.scm (mupdf)[source]: Simplify code to remove unused
thirdparty libs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 00:01:56 +02:00
Timotej Lazar
c106baed62
gnu: mupdf: Update to 1.22.0.
* gnu/packages/pdf.scm (mupdf): Update to 1.22.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-06 00:01:50 +02:00
Sergey Trofimov
71a438dcba
gnu: git-crypt: Fix build issues on OpenSSL 3.
* gnu/packages/version-control.scm (git-crypt)[arguments]: In 'build'
phase, set 'CXXFLAGS'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-05 23:59:52 +02:00
Olivier Dion
ecb2710353
gnu: lttng-tools: Fix build failure.
* gnu/packages/instrumentation.scm (lttng-tools)
[native-inputs]: Add autoconf, automake, libtool.
[arguments]: Add 'autoreconf build phase before 'configure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-05 23:56:04 +02:00
Andrew Whatson
61775aad6f
gnu: bear: Build against 'abseil-cpp-cxxstd11'.
Fixes a linker error when building bear, caused by incompatibility
between abseil-cpp used by bear and abseil-cpp-cxxstd11 used by grpc.

* gnu/packages/build-tools.scm (bear)[native-inputs]: Use
ABSEIL-CPP-CXXSTD11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-05 23:50:32 +02:00
Ludovic Courtès
69a65335f9
gnu: guile2.0-shepherd: Remove.
Version 0.9.x of the Shepherd requires Guile >= 2.2.

* gnu/packages/admin.scm (guile2.0-shepherd): Remove.
2023-05-05 23:47:49 +02:00