Commit graph

96390 commits

Author SHA1 Message Date
Ludovic Courtès
ba6ba1a5af
store: 'mcached' users can specify a cache ID.
Users of 'mcached' can now specify a cache ID; furthermore, the cache
hit rate is automatically recorded for all the caches accessed with
'mcached'.

* guix/store.scm (%max-store-connection-caches)
(%store-connection-cache-names): New variables.
(recorder-for-cache): New procedure.
(record-cache-lookup!): Add 'cache-id' parameter and rewrite in terms of
'recorder-for-cache'.
(lookup-cached-object): Add 'cache-id' parameter and honor it.
(%mcached): Add #:cache parameter and honor it.
(mcached): Add '=>' keyword and corresponding clauses.
2022-05-18 23:26:59 +02:00
Ludovic Courtès
3ae7632ca0
tests: Ensure test OpenPGP keys never expire.
All these keys had expiration dates.  'tests/keys/ed25519.pub' expired
on 2022-04-24.

Fixes <https://issues.guix.gnu.org/55506>.

* tests/keys/ed25519.pub, tests/keys/ed25519-2.pub,
tests/keys/ed25519-3.pub: Remove expiration date.
2022-05-18 23:20:21 +02:00
Ludovic Courtès
df72ba9e88
gnu: utsushi: Turn arguments into a gexp.
* gnu/packages/scanner.scm (utsushi)[arguments]: Change to a gexp and
use 'this-package-input' and #$output.
2022-05-18 22:29:56 +02:00
João Gabriel
db71366220
gnu: Add utsushi.
* gnu/packages/scanner.scm (utsushi): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:56 +02:00
Luis Henrique Gomes Higino
182b25fbf5
gnu: neovim: Use new style.
* gnu/packages/vim.scm (neovim): Use new style.
[source]: Rewrite using gexps.
[arguments]: Rewrite using gexps.
[inputs and native-inputs]: Remove input labels.
[description]: Run `guix style`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:56 +02:00
Luis Henrique Gomes Higino
e49a2d03bb
gnu: neovim: Update to 0.7.0.
* gnu/packages/vim.scm (neovim): Update to 0.7.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:56 +02:00
Luis Henrique Gomes Higino
2db523a4a8
gnu: lua-luv: Use gexps.
* gnu/packages/lua.scm (lua-luv)[arguments]: Rewrite using gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:55 +02:00
Luis Henrique Gomes Higino
42772a2fa7
gnu: lua-luv: Update to 1.43.0-0.
* gnu/packages/libevent.scm (libuv-for-luv): New variable
* gnu/packages/lua.scm (lua-luv): Update to 1.43.0-0.
[inputs]: Change libuv to libuv-for-luv.
[native-inputs]: Update lua-compat-5.3 to 0.10.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:55 +02:00
yarl-baudig@mailoo.org
32916e04f7
daemon: runChild() is forbidden to talk during environment set up
DerivationGoal::startBuilder() is waiting for an empty line as a check that
the environment set up is fine.

Fixes <https://issues.guix.gnu.org/55324>.

* nix/libstore/build.cc (DerivationGoal::runChild): Remove 'debug'
statement corresponding to bind mounts.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-18 22:29:55 +02:00
Ludovic Courtès
3948ac25b1
services: Make <service-type> 'description' field mandatory.
* gnu/services.scm (<service-type>)[description]: Remove default value.
* tests/services.scm: Add 'description' field to each 'service-type' form.
2022-05-18 22:29:54 +02:00
Ludovic Courtès
9a5d686923
services: Add more description fields.
* gnu/services.scm (simple-service): Add 'description' field.
* gnu/services/base.scm (udev-rules-service): Likewise.
* gnu/system/install.scm (configuration-template-service-type): Likewise.
* gnu/tests.scm (marionette-service-type): Likewise.
2022-05-18 22:29:54 +02:00
Ludovic Courtès
1f3a155548
gnu: 0ad: Use regular symbol syntax.
* gnu/packages/games.scm (0ad)[inputs]: Use regular symbol syntax for
'0ad-data'.
2022-05-18 22:29:54 +02:00
Maze
4f7cd5daa2
gnu: emacs-evil: Update to commit 008a6cdb12f15e748979a7d1c2f26c34c84dedbf.
* gnu/packages/emacs-xyz.scm (emacs-evil): Update to commit
008a6cdb12f15e748979a7d1c2f26c34c84dedbf.
[version]: Bump main version part to 1.15.0.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-05-18 21:54:25 +02:00
Guillaume Le Vaillant
b1cfd39d01
gnu: freecad: Fix build.
* gnu/packages/engineering.scm (freecad)[inputs]: Add fontconfig.
2022-05-18 18:31:25 +02:00
Maxim Cournoyer
1c4241d915
gnu: python-scrapy: Parallelize test suite.
* gnu/packages/python-web.scm (python-scrapy)[phases]{check}: Run in
parallel.  Disable problematic (when run in parallel) tests.
Use complete sentences for comments.
[native-inputs]: Add python-pytest-xdist.
[description]: Use double space between sentences.
2022-05-18 10:58:19 -04:00
Maxim Cournoyer
894b89c17b
gnu: python-scrapy: Fix indentation
* gnu/packages/python-web.scm (python-scrapy): Fix indentation.
2022-05-18 10:58:19 -04:00
Felix Gruber
fe9d14552a
gnu: python-tldextract: Update to 3.3.0.
* gnu/packages/python-xyz.scm (python-tldextract): Update to 3.3.0.
[propagated-inputs]: Add python-filelock.
[native-inputs]: Add python-setuptools-scm.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 10:58:19 -04:00
Felix Gruber
1259d320fc
gnu: freedroidrpg: Update to 1.0rc2.
* gnu/packages/games.scm (freedroidrpg): Update to 1.0rc2.
[source]: Handle rc suffix in version number.
[configure-flags]: Use gexps.
[inputs]: Use new style.  Add glew.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 10:58:18 -04:00
Tobias Geerinckx-Rice
7f672327c0
gnu: bind: Update to 9.16.29 [fixes CVE-2022-1183].
* gnu/packages/dns.scm (bind): Update to 9.16.29.
2022-05-15 02:00:00 +02:00
Ricardo Wurmus
93ef1eecd9
gnu: python-rich: Update to 12.4.1.
* gnu/packages/python-xyz.scm (python-rich): Update to 12.4.1.
2022-05-18 16:20:25 +02:00
Ricardo Wurmus
8deed9d086
gnu: guile-redis: Update to 2.2.0.
* gnu/packages/guile-xyz.scm (guile-redis): Update to 2.2.0.
2022-05-18 16:19:28 +02:00
Greg Hogan
69ec5baaf7
gnu: git: Update to 2.36.1.
From f5fbd1e920120720ad9e983ab0bf740603250a06 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Tue, 10 May 2022 14:17:25 +0000
Subject: [PATCH] gnu: git: Update to 2.36.1.

* gnu/packages/version-control.scm (git): Update to 2.36.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 09:08:06 -04:00
Marius Bakke
d58c9ca9e2
gnu: emacs-evil: Update to 1.14.2.
* gnu/packages/emacs-xyz.scm (emacs-evil): Update to 1.14.2.
[arguments]: Rewrite in gexp style.
2022-05-18 13:04:58 +02:00
Aleksandr Vityazev
a028eafcc2
gnu: emacs-haskell-snippets: Update to 0.1.0-1-1c29c4a6.
* gnu/packages/emacs-xyz.scm (emacs-haskell-snippets): Update to
0.1.0-1-1c29c4a6.
[arguments]: Convert to list of G-Expressions. Drop trailing ‘#t’s.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 00:20:55 -04:00
Aleksandr Vityazev
5a2b9fc2e6
gnu: emacs-ledger-mode: Update to 4.0.0-0-11e85039.
* gnu/packages/finance.scm (emacs-ledger-mode): Update to 4.0.0-0-11e85039.
[arguments]: Convert to list of G-Expressions.  Use ‘search-input-file’ where
possible.  Drop trailing ‘#t’s.  While here, respect TESTS? in check phase.

Co-authored-by: Aleksandr Vityazev <avityazev@posteo.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 00:19:30 -04:00
Kyle Meyer
5fc5cc2f73
gnu: emacs-lispy: Fix failing test under Emacs 28.
* gnu/packages/patches/emacs-lispy-fix-thread-last-test.patch: New file.
* gnu/packages/emacs-xyz.scm (emacs-lispy): Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-18 00:16:03 -04:00
Maxim Cournoyer
de652e4e81
gnu: emacs-rpm-spec-mode: Update to 0.16-0.c1c3805.
* gnu/packages/emacs-xyz.scm (emacs-rpm-spec-mode)
[source]: Fetch from git, and use last commit to update to 0.16-0.c1c3805.
[arguments]: New field.
2022-05-18 00:07:24 -04:00
Maxim Cournoyer
db916e76d6
gnu: emacs-nix-mode: Update to 1.4.5-0.8fe2ccf.
* gnu/packages/emacs-xyz.scm (emacs-nix-mode): Update to 1.4.5-0.8fe2ccf.
[source]: Use latest commit.
[inputs]: Turn into...
[native-inputs]: ... this.  Add emacs-magit.
2022-05-18 00:07:24 -04:00
Maxim Cournoyer
0ae9e75c31
gnu: emacs-elpy: Disable tests now failing with Emacs 28.1.
* gnu/packages/emacs-xyz.scm (emacs-elpy)[phases]
{disable-broken-tests}: Delete the elpy-project-find-git-root-test.el test
file.  Mark the elpy-company-backend-should-add-shell-candidates,
elpy-eldoc-documentation-should-show-object-onelinedoc,
elpy-shell-send-file-should-accept-large-strings,
elpy-shell-should-echo-outputs as expected failures.
2022-05-18 00:07:24 -04:00
Tobias Geerinckx-Rice
b6bfe9ea6a
gnu: guile-git: Use libgit2-1.3.
* gnu/packages/guile.scm (guile-git)[inputs]: Substitute libgit2-1.3 for libgit2.
2022-05-15 02:00:05 +02:00
Maxim Cournoyer
393bcc012f
gnu: botan: Use new style and G-Expressions.
* gnu/packages/crypto.scm (botan)[phases]: Adjust to use gexps.
{check}: Replace 'if' with 'when'.
[native-inputs]: Use new style.
2022-05-17 17:05:47 -04:00
Jack Hill
423a3a6b6a
gnu: botan: Update to 2.19.1.
* gnu/packages/crypto.scm (botan): Update to 2.19.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-17 17:05:46 -04:00
Liliana Marie Prikler
665dd8211c
gnu: emacs-libgit: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[source]: Drop bundled
emacs-module header.
[#:phases]: Add “patch-source” phase to fix build failure when building
against Emacs 28.
2022-05-17 21:42:36 +02:00
Christine Lemmer-Webber
140bdbc29f
gnu: guile-sjson: Update to 0.2.2.
* gnu/packages/guile-xyz.scm (guile-sjson): Update to 0.2.2.
2022-05-17 15:21:20 -04:00
Liliana Marie Prikler
131acaa28d
doc: Clarify guix shell's DWIM behaviour.
* doc/guix.texi ("Invoking guix shell"): Document the exact behaviour, that is
which flags go together with which file names.
2022-05-17 21:08:56 +02:00
Aleksandr Vityazev
5f77ece508
gnu: emacs-debbugs: Update to 0.32.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.32.
[propagated-inputs]: Replace emacs-async with emacs-soap-client.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-17 14:31:48 -04:00
Tobias Geerinckx-Rice
0adc984d35
gnu: guix: Update to 1.3.0-26.fd00ac7.
* gnu/packages/package-management.scm (guix): Update to 1.3.0-26.fd00ac7.
This follows up on commit fd00ac7e27,
to fix <https://logs.guix.gnu.org/guix/2022-05-17.log#174302>.
2022-05-15 02:00:07 +02:00
Efraim Flashner
fd00ac7e27
guix: cpu: Add detection for aarch64 CPUs.
* guix/cpu.scm (cpu->gcc-architecture): Add detection logic for aarch64
CPUs.
2022-05-17 15:19:41 +03:00
Efraim Flashner
41ed6db81e
guix: cpu: Add support for reading armhf/aarch64 CPUs.
* guix/cpu.scm (current-cpu): Set flags at the beginning of the loop.
Read from '/proc/cpuinfo' until the end of the file. Add match options
for discovering armhf/aarch64 cpu configurations.
2022-05-17 15:19:37 +03:00
Christopher Baines
edf86bacf2
gnu: nar-herder: Update to 0-7.a24fbd1.
* gnu/packages/package-management.scm (nar-herder): Update to 0-7.a24fbd1.
2022-05-17 12:30:52 +01:00
Christopher Baines
6fe3c73b04
gnu: guix-build-coordinator: Update to 0-52.ed3c806.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-52.ed3c806.
2022-05-17 12:30:52 +01:00
Christopher Baines
a8848c9df7
gnu: guix-data-service: Update to 0.0.1-31.198b6ef.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-31.198b6ef.
2022-05-17 12:30:52 +01:00
Efraim Flashner
ef55192ef8
gnu: atop: Use new package format.
* gnu/packages/admin.scm (atop)[arguments]: Rewrite using g-exps.
[inputs]: Remove input labels.
2022-05-17 12:38:32 +03:00
Efraim Flashner
2d229578bd
gnu: atop: Adjust build.
* gnu/packages/admin.scm (atop)[arguments]: Adjust custom 'patch-build
phase to remove references to '/usr' and adjust make-flags accordingly.
Remove trailing #t.
2022-05-17 12:38:29 +03:00
Efraim Flashner
eab070a89d
gnu: atop: Update to 2.7.1.
* gnu/packages/admin.scm (atop): Update to 2.7.1.
[arguments]: Remove unnecessary make-flag.  Remove unneeded
substitutions.
2022-05-17 12:38:26 +03:00
Efraim Flashner
e81f26d2c1
gnu: atop: Add release-monitoring-url.
* gnu/packages/admin.scm (atop)[properties]: New field.
2022-05-17 12:38:23 +03:00
luishgh
573531e57e
gnu: emacs-explain-pause-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode)[arguments]<#:phases>:
Fix failing tests.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-05-17 09:12:42 +02:00
luishgh
9726745eb0
gnu: emacs-racer: Update to 1e63e98.
* gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.
[arguments]<#:phases>: Remove FIX-MAKEFILE and FIX-FAILING-TESTS phases.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-05-17 09:09:07 +02:00
Leo Famulari
4d374b23ec
gnu: linux-libre 4.9: Update to 4.9.314.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.314.
(linux-libre-4.9-pristine-source): Update hash.
2022-05-16 22:39:06 -04:00
Leo Famulari
928a1b39f9
gnu: linux-libre 4.14: Update to 4.14.279.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.279.
(linux-libre-4.14-pristine-source): Update hash.
2022-05-16 22:39:06 -04:00