Commit graph

92271 commits

Author SHA1 Message Date
Efraim Flashner
41a23a1a96
gnu: elfutils: Fix building on riscv64-linux.
* gnu/packages/elf.scm (elfutils)[arguments]: On riscv64-linux add a
phase to skip failing test.
2022-01-27 16:33:39 +02:00
Efraim Flashner
2bae32e1b9
gnu: pcre2: Fix building on riscv64-linux.
* gnu/packages/pcre.scm (pcre2)[arguments]: Adjust configure-flags to not
build with JIT when building for riscv64-linux.
2022-01-27 16:24:18 +02:00
Efraim Flashner
8902218625
gnu: pcre: Fix building on riscv64-linux.
* gnu/packages/pcre.scm (pcre)[arguments]: Adjust configure-flags to not
build with JIT when building for riscv64-linux.
2022-01-27 16:14:07 +02:00
Ludovic Courtès
e778910bdf
inferior: Move initialization bits away from 'inferior-eval-with-store'.
* guix/inferior.scm (port->inferior): In the inferior, define
'cached-store-connection', 'store-protocol-error?', and
'store-protocol-error-message'.
(inferior-eval-with-store): Use them.
2022-01-27 14:13:24 +01:00
Ludovic Courtès
c71910a095
inferior: Inferior caches store connections.
Fixes <https://issues.guix.gnu.org/48007>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

Previously, at each 'inferior-eval-with-store' call, the inferior would
create a new <store-connection> object with empty caches.  Consequently,
when repeatedly calling 'inferior-package-derivation', we would not
benefit from any caching and instead recompute all the derivations for
every package.  This patch fixes it by caching <store-connection>
objects in the inferior.

* guix/inferior.scm (port->inferior): Define '%store-table' in the inferior.
(inferior-eval-with-store): Cache store connections in %STORE-TABLE.
Remove now unneeded 'dynamic-wind' with 'close-port' call.
2022-01-27 14:13:24 +01:00
Ludovic Courtès
bd86bbd300
inferior: Keep the store bridge connected.
Previously, each 'inferior-eval-with-store' would lead the inferior to
connect to the named socket the parent is listening to.  With this
change, the connection is established once for all and reused
afterwards.

* guix/inferior.scm (<inferior>)[bridge-file-name]: Remove.
(open-bidirectional-pipe): New procedure.
(inferior-pipe): Use it instead of 'open-pipe*' and return two values.
(port->inferior): Adjust call to 'inferior'.
(open-inferior): Adjust to 'inferior-pipe' changes.
(close-inferior): Remove 'inferior-bridge-file-name' handling.
(open-store-bridge!): Switch back to 'call-with-temporary-directory'.
Define '%bridge-socket' in the inferior, connected to the caller.
(proxy): Change first argument to be an inferior.  Add 'reponse-port'
and call to 'drain-input'.  Pass 'reponse-port' to 'select' and use it
as a loop termination clause.
(inferior-eval-with-store): Remove 'socket' and 'connect' calls from the
inferior code, and use '%bridge-socket' instead.
2022-01-27 14:13:24 +01:00
Ludovic Courtès
10aad72110
inferior: Create the store proxy listening socket only once.
Previously, each 'inferior-eval-with-store' call would have the calling
process create a temporary directory with a listening socket in there.
Now that listening socket is created once and reused in subsequent
calls.

* guix/inferior.scm (<inferior>)[bridge-file-name, bridge-socket]: New
fields.
(port->inferior): Adjust accordingly.
(close-inferior): Close 'inferior-bridge-socket' and delete
'inferior-bridge-file-name' if set.
(open-store-bridge!, ensure-store-bridge!): New procedures.
(inferior-eval-with-store): Use them.
2022-01-27 14:13:24 +01:00
Vinicius Monego
19371a4dc3
gnu: darktable: Add release-monitoring-url.
* gnu/packages/photo.scm (darktable)[properties]: New field.
2022-01-27 08:21:40 -03:00
Ricardo Wurmus
82e49c7f47
gnu: guile-drmaa: Update to 0.1.1.
* gnu/packages/guile-xyz.scm (guile-drmaa): Update to 0.1.1.
2022-01-27 11:38:50 +01:00
Michael Rohleder
6305c76ae0
gnu: gnome-mines: Fix build.
* gnu/packages/web.scm (gnome-mines)[native-inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-27 10:45:03 +02:00
Michael Rohleder
e3027578cb
gnu: libzim: Fix build.
* gnu/packages/web.scm (libzim)[inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-27 10:42:35 +02:00
Efraim Flashner
e60b10fd99
gnu: uriparser: Update to 0.9.6.
* gnu/packages/web.scm (uriparser): Update to 0.9.6.
2022-01-27 09:44:50 +02:00
Efraim Flashner
0444be8689
gnu: Add %final-inputs-riscv64.
* gnu/packages/commencement.scm (%final-inputs-riscv64): New variable.
* guix/build-system/gnu.scm (standard-inputs): Use %final-inputs-riscv64
when targeting riscv64-linux.
2022-01-27 09:36:36 +02:00
Ricardo Wurmus
90a41fe388
gnu: nyacc: Remove unnecessary phase.
This partially reverts commit f15ca337be.  What
mattered was the addition of guile-bytestructures.

* gnu/packages/mes.scm (nyacc)[arguments]: Remove phase
'install-system-module.
2022-01-26 22:31:02 +01:00
Leo Famulari
1121fa432f
gnu: Borg: Improve the description.
Attic... Now that's a name I've not heard in a long time.

* gnu/packages/backup.scm (borg)[description]: Improve it.
2022-01-26 14:28:59 -05:00
Leo Famulari
c11b585a81
gnu: Add Vorta.
* gnu/packages/backup.scm (vorta): New variable.
2022-01-26 14:17:36 -05:00
Leo Famulari
44c2211c64
gnu: Add linux-libre 5.16.2.
* gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf : New files.
* Makefile.am (AUX_FILES): Add them.
* gnu/packages/linux.scm (linux-libre-5.16-version,
linux-libre-5.16-gnu-revision, deblob-scripts-5.16,
linux-libre-5.16-pristine-source, linux-libre-5.16-source,
linux-libre-headers-5.16, linux-libre-5.16): New variables.
2022-01-26 13:17:41 -05:00
Leo Famulari
16ce73d87f
gnu: util-linux: Fix CVE-2021-3995 and CVE-2021-3996.
* gnu/packages/patches/util-linux-CVE-2021-3995.patch,
gnu/packages/patches/util-linux-CVE-2021-3996.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/linux.scm (util-linux)[replacement]: New field.
(util-linux/fixed): New variable.
2022-01-26 13:02:09 -05:00
Nicolas Goaziou
7afed75764
gnu: giac: Update to 1.7.0-47.
* gnu/packages/algebra.scm (giac): Update to 1.7.0-47.
2022-01-26 18:12:03 +01:00
Ludovic Courtès
3993d33d1c
gnu: polkit: Fix CVE-2021-4034.
* gnu/packages/patches/polkit-CVE-2021-4034.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/polkit.scm (polkit-mozjs)[replacement]: New field.
* gnu/packages/polkit.scm (polkit-mozjs/fixed): New variable.
2022-01-26 17:54:59 +01:00
Brandon Lucas
73d775f518
gnu: fennel: Update to 03c1c95.
* gnu/packages/lua.scm (fennel): Update to 03c1c95.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-26 17:54:58 +01:00
Brandon Lucas
532153d49c
gnu: Add fnlfmt.
* gnu/packages/lua.scm (fnlfmt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-26 17:54:58 +01:00
Vivien Kraus
bac9f8302c
import: pypi: Convert hyphens to underscores in PyPI URLs if needed.
* guix/import/pypi.scm (find-project-url): New function.
(make-pypi-sexp): Use find-project-url.
* tests/pypi.scm (foo-json): New procedure.
(test-json-1, test-json-2): Define in terms of it.
("find-project-url, with numpy", "find-project-url, uWSGI"):
("find-project-url, flake8-array-spacing")
("find-project-url, foo/goo"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-01-26 17:54:58 +01:00
jgart
8b7bd459dc
gnu: utf-8-lineseparator: Update to 7.
* gnu/packages/textutils.scm (utf-8-lineseparator): Update to 7.  Adjust
'commit' field accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-26 17:54:58 +01:00
Ludovic Courtès
a74d0cc209
utils: 'edit-expression' reads and conses less when not modifying.
* guix/utils.scm (edit-expression): Delay call to 'get-bytevector-all'
until after (string=? str* str).
2022-01-26 17:54:58 +01:00
Nicolas Goaziou
b77b788421
gnu: emacs-emms: Update to 9.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 9.
2022-01-26 17:47:37 +01:00
Nicolas Goaziou
d27a76929d
gnu: emacs-ebdb: Update to 0.8.9.
* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.8.9.
2022-01-26 17:44:32 +01:00
Efraim Flashner
76656a23bf
gnu: Add go-go-etcd-io-bbolt.
* gnu/packages/databases.scm (go-go-etcd-io-bbolt): New variable.
2022-01-26 16:15:46 +02:00
Efraim Flashner
5bac146629
gnu: Add go-gopkg-in-mgo-v2.
* gnu/packages/databases.scm (go-gopkg-in-mgo-v2): New variable.
2022-01-26 16:15:46 +02:00
Efraim Flashner
9cca298265
gnu: Add go-github-com-gomodule-redigo.
* gnu/packages/databases.scm (go-github-com-gomodule-redigo): New variable.
2022-01-26 16:15:45 +02:00
Efraim Flashner
87c4a15da0
gnu: Add go-github-com-cupcake-rdb.
* gnu/packages/databases.scm (go-github-com-cupcake-rdb): New variable.
2022-01-26 16:15:45 +02:00
Efraim Flashner
0045abb5bb
gnu: Add go-github-com-couchbase-gomemcached.
* gnu/packages/databases.scm (go-github-com-couchbase-gomemcached): New variable.
2022-01-26 16:15:45 +02:00
Efraim Flashner
c5908b5c80
gnu: Add go-github-com-bradfitz-gomemcache.
* gnu/packages/databases.scm (go-github-com-bradfitz-gomemcache): New variable.
2022-01-26 16:15:40 +02:00
Efraim Flashner
3d8ee86ace
gnu: sqlitebrowser: Enable tests.
* gnu/packages/databases.scm (sqlitebrowser)[arguments]: Don't skip
tests. Add configure-flag to enable tests.
2022-01-26 13:32:40 +02:00
Efraim Flashner
1898b8386b
gnu: sqlitebrowser: Unbundle qscintilla.
* gnu/packages/databases.scm (sqlitebrowser)[source]: Add snippet.
[arguments]: Add configure-flag to find qscintilla include directory.
[inputs]: Add qscintilla.
2022-01-26 13:29:30 +02:00
Zhu Zihao
9183b8142b
gnu: Add sqlitebrowser.
* gnu/packages/databases.scm (sqlitebrowser): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-26 12:46:12 +02:00
Efraim Flashner
1402c6abe1
gnu: openssl: Update to 1.1.1m [security fixes].
* gnu/packages/tls.scm (openssl/fixed): New variable.
(openssl)[replacement]: New field.
2022-01-26 11:49:27 +02:00
Ricardo Wurmus
f15ca337be
gnu: nyacc: Install all modules.
* gnu/packages/mes.scm (nyacc)[arguments]: Add build phase
'install-system-module.
[propagated-inputs]: Add guile-bytestructures.
2022-01-26 10:16:06 +01:00
Marius Bakke
078f5bfae7
services: zabbix-server: Do not write database password to the store.
* gnu/services/monitoring.scm (zabbix-front-end-config): Read the secret file
from zabbix.conf.php at runtime instead of embedding the contents.
2022-01-26 09:31:46 +01:00
Marius Bakke
440ad14128
gnu: zabbix-server: Remove duplicate input.
* gnu/packages/monitoring.scm (zabbix-server)[inputs]: Remove CURL.
2022-01-26 09:31:45 +01:00
Marius Bakke
ed04a61e0b
gnu: zabbix-server: Don't install agent.
* gnu/packages/monitoring.scm (zabbix-server)[arguments]: Delete
"--enable-agent" from #:configure-flags.
2022-01-26 09:31:45 +01:00
Marius Bakke
008a0f87c3
gnu: zabbix-server: Adjust style.
* gnu/packages/monitoring.scm (zabbix-server)[arguments]: Rewrite as gexp,
use #:phases matching, and remove trailing #t's.
2022-01-26 09:31:45 +01:00
Marius Bakke
88e4c8740a
services: zabbix-agent: Respect user and group configuration.
* gnu/services/monitoring.scm (zabbix-agent-account): Look up user and group
from CONFIG instead of hard-coded values.
2022-01-26 09:31:45 +01:00
Marius Bakke
bbc2fb0d52
etc: Remove redundant SELinux permissions block.
* etc/guix-daemon.cil.in (guix_daemon): Consolidate two blocks adding
sock_file permissions on guix_daemon_conf_t.
2022-01-26 09:31:45 +01:00
Ricardo Wurmus
3563558172
gnu: nyacc: Fix bug 60474.
* gnu/packages/mes.scm (nyacc)[arguments]: Add build phase 'fix-60474.
2022-01-26 08:37:57 +01:00
Ricardo Wurmus
011db003ce
gnu: nyacc: Update to 1.06.5.
* gnu/packages/mes.scm (nyacc): Update to 1.06.5.
[source]: Simplify snippet.
2022-01-26 08:37:57 +01:00
Maxim Cournoyer
070b8a893f
.guix-authorizations: Authorize Vinicius Monego.
* .guix-authorizations (monego): Add OpenPGP key fingerprint.
2022-01-25 21:23:43 -05:00
Vinicius Monego
ebac201995
gnu: Add python-regions.
* gnu/packages/astronomy.scm (python-regions): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-25 23:54:45 +01:00
Vinicius Monego
5e51ccc120
gnu: Add python-photutils.
* gnu/packages/astronomy.scm (python-photutils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-25 23:54:45 +01:00
Vinicius Monego
fb12d6b48e
gnu: Add python-astropy-healpix.
* gnu/packages/astronomy.scm (python-astropy-healpix): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-25 23:54:44 +01:00