Commit graph

78037 commits

Author SHA1 Message Date
Maxim Cournoyer
b7297d66c5
services: configuration: Add a define-maybe/no-serialization syntax.
Before this change, using define-maybe along define-configuration with the
no-serialization syntactic keyword would result in the following warning:

  warning: possibly unbound variable `VARIABLE-NAME'

This change introduces the define-maybe/no-serialization variant that does
away with defining a serialization helper procedure, which makes it possible
to avoid the above warning.

* gnu/services/configuration.scm (define-maybe/no-serialization): New syntax.
(define-maybe-helper): New procedure.
(define-maybe): Define syntax using the above procedure.
* tests/services/configuration.scm (tests): Fix module name.
(custom-number-serializer): Do not print to standard output.
(maybe-number?, serialize-maybe-number): New procedures defined via the
define-maybe macro.
(config-with-maybe-number): New configuration.
(serialize-number): New procedure.
("maybe value serialization"): New test.
(maybe-string?): New procedure defined via the define-maybe/no-serialization
macro.
(config-with-maybe-string/no-serialization): New configuration.
("maybe value without serialization no procedure bound"): New test.
2021-05-17 23:27:39 -04:00
Raghav Gururajan
e7e2b1c10b
gnu: Add python-tappy.
* gnu/packages/python-check.scm (python-tappy): New variable.
2021-05-17 22:55:33 -04:00
Ludovic Courtès
c2b183e13d
vm: Remove unused imports.
* gnu/system/vm.scm (gnu): Remove unused imports.
2021-05-17 23:59:58 +02:00
Ludovic Courtès
a67c00f4f7
vm: Autoload (gnu build vm).
* gnu/system/vm.scm: Autoload (gnu build vm), which was pulling in (sqlite3).
2021-05-17 23:59:58 +02:00
Ludovic Courtès
8132a9fe73
gnu: Remove unneeded import.
* gnu/packages/hurd.scm: Remove unneeded (gnu build hurd-boot) that was
pulling in (system base compile).
2021-05-17 23:59:58 +02:00
Ludovic Courtès
a0ad636167
ui: 'load*' compiles with '-O1'.
With this change, the wall-clock time of:

  guix system build --no-grafts -d gnu/system/install.scm

goes from 5.0s to 2.3s on Guile 3.0.5.

* guix/ui.scm (without-compiler-optimizations): New macro.
(load*): Use it.
2021-05-17 23:59:58 +02:00
Ludovic Courtès
4288806111
ui: Remove Guile 2.2.3 workaround.
This became dead code with commit
4f621a2b00.

* guix/ui.scm (load*): Remove Guile 2.2.3 workaround.
2021-05-17 23:59:58 +02:00
Leo Famulari
1b7ea563cd
gnu: PostgreSQL 9: Update to 9.6.22 [fixes CVE-2021-{32027,32028,32029}].
* gnu/packages/databases.scm (postgresql-9.6): Update to 9.6.22.
2021-05-17 15:05:18 -04:00
Leo Famulari
16da170f19
gnu: PostgreSQL 10: Update to 10.17 [fixes CVE-2021-{32027,32028,32029}].
* gnu/packages/databases.scm (postgresql-10): Update to 10.17.
2021-05-17 15:05:18 -04:00
Leo Famulari
49a99a744a
gnu: PostgreSQL 11: Update to 11.12 [fixes CVE-2021-{32027,32028,32029}].
* gnu/packages/databases.scm (postgresql-11): Update to 11.12.
2021-05-17 15:05:18 -04:00
Leo Famulari
ef221c8b71
gnu: PostgreSQL: Update to 13.3 [fixes CVE-2021-{32027,32028,32029}].
* gnu/packages/databases.scm (postgresql-13)[replacement]: Use postgresql-13.3.
(postgresql-13.2): Replace with ...
(postgresql-13.3): ... new variable.
2021-05-17 15:05:14 -04:00
Fredrik Salomonsson
946dd6103a
gnu: emacs-libyaml: Adjust to changes in emacs-build-system.
* gnu/packages/emacs-xyz.scm (emacs-libyaml)[#:phases]: Move
‘substitute-libyaml-core-path’ after ‘unpack’.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-05-17 19:57:32 +02:00
Ricardo Wurmus
48b8a5e701
gnu: pigx-chipseq: Update to 0.0.52.
* gnu/packages/bioinformatics.scm (pigx-chipseq): Update to 0.0.52.
2021-05-17 18:45:55 +02:00
Sharlatan Hellseher
0d85c83602
gnu: Add cl-typesetting.
* gnu/packages/lisp-xyz.scm (sbcl-cl-typesetting, ecl-cl-typesetting,
  cl-typesetting): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-05-17 10:43:15 +02:00
Guillaume Le Vaillant
9983dee6b0
gnu: ecl-xmls: Disable tests.
Upstream doesn't have a test suite adapted for ECL.

* gnu/packages/lisp-xyz.scm (ecl-xmls)[arguments]: Disable tests.
2021-05-17 10:43:15 +02:00
Sharlatan Hellseher
199ae378c2
gnu: cl-pdf: Update to 2.0.0-1.dbafd62.
* gnu/packages/lisp-xyz.scm (sbcl-cl-pdf): Update to 2.0.0-1.dbafd62.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-05-17 10:15:54 +02:00
Leo Prikler
13b1319092
gnu: tsukundere: Update to 0.3.0.
* gnu/packages/game-development.scm (tsukundere): Update to 0.3.0.
[patch-command]: Patch path to guile.  Construct load paths directly from
inputs.
[propagated-inputs]: Remove.
[inputs]: Add guile and guile-sdl2.
2021-05-17 00:24:02 +02:00
Ludovic Courtès
938ffcbb05
publish: Add '--negative-ttl'.
* guix/scripts/publish.scm (show-help, %options): Add '--negative-ttl'.
(render-narinfo, render-narinfo/cached, make-request-handler): Add #:negative-ttl
and honor it.
(run-publish-server): Add #:narinfo-negative-ttl and honor it.
(guix-publish): Honor '--negative-ttl'.
* tests/publish.scm ("negative TTL", "no negative TTL"): New tests.
2021-05-16 23:28:11 +02:00
Ludovic Courtès
dc3504913d
substitutes: Reduce negative TTLs.
* guix/substitutes.scm (%narinfo-negative-ttl): Change to 15mn.
(%narinfo-transient-error-ttl): Halve.
2021-05-16 23:28:11 +02:00
Xinglu Chen
ae0882bbd6
gnu: mercurial: Patch to make it read HGEXTENSIONPATH.
This will make Mercurial be able to find third-party extensions installed with
Guix, without having to set PYTHONPATH.

* gnu/packages/patches/mercurial-hg-extension-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
* gnu/packages/version-control.scm (mercurial)[origin](patches): Apply the
patch.
[native-search-paths]: Add HGEXTENSIONPATH.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-16 23:28:11 +02:00
Xinglu Chen
541f93ada0
gnu: Add hg-commitsigs.
* gnu/packages/version-control.scm (hg-commitsigs): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-16 23:28:11 +02:00
Xinglu Chen
3c5849f3ec
gnu: emacs-orderless: Update to 0.6.
* gnu/packages/emacs-xyz.scm (emacs-orderless): Update to 0.6.
[native-inputs]: Add texinfo.
[arguments]<#:phases>: Install manual.
2021-05-16 21:31:48 +02:00
Efraim Flashner
860ca285b6
gnu: Add julia-msgpack.
* gnu/packages/julia-xyz.scm (julia-msgpack): New variable.
2021-05-16 16:46:46 +03:00
Efraim Flashner
ef9a552182
gnu: Add julia-suppressor.
* gnu/packages/julia-xyz.scm (julia-suppressor): New variable.
2021-05-16 16:44:14 +03:00
Efraim Flashner
9e77eb5884
gnu: Add julia-docstringextensions.
* gnu/packages/julia-xyz.scm (julia-docstringextensions): New variable.
2021-05-16 16:40:11 +03:00
Efraim Flashner
fcc93efc56
gnu: Add julia-iocapture.
* gnu/packages/julia-xyz.scm (julia-iocapture): New variable.
2021-05-16 16:35:50 +03:00
Efraim Flashner
ddcc5d4375
gnu: Add julia-zipfile.
* gnu/packages/julia-xyz.scm (julia-zipfile): New variable.
2021-05-16 16:24:45 +03:00
Efraim Flashner
69b13cd4ea
gnu: Add julia-zlib-jll.
* gnu/packages/julia-xyz.scm (julia-zlib-jll): New variable.
2021-05-16 16:23:06 +03:00
Leo Famulari
7c4c781aa4
gnu: Graphviz: Fix CVE-2020-18032.
* gnu/packages/patches/graphviz-CVE-2020-18032.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/graphviz.scm (graphviz)[replacement]: New field.
(graphviz/fixed): New variable.
2021-05-15 17:04:01 -04:00
Christopher Baines
fd2abc2a51
gnu: emacs-wucuo: Fix arguments.
I'm looking at this because the profile-collisions linter crashes for this
package, and that currently breaks processing revisions in the Guix Data
Service.

* gnu/packages/emacs-xyz.scm (emacs-wucuo)[arguments]: Change #tn to #t.
2021-05-15 21:52:00 +01:00
Sergei Trofimovich
3a838e70c5
gnu: re2c: Update to 2.1.1.
* gnu/packages/re2c.scm (re2c): Update to 2.1.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-05-15 23:17:33 +03:00
Michael Rohleder
a77b2b43aa
gnu: mousepad: Update to 0.5.5.
* gnu/packages/xfce.scm (mousepad): Update to 0.5.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-05-15 23:04:43 +03:00
Sharlatan Hellseher
f5855555db
gnu: sniffio: Update to 1.2.0
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-05-15 22:55:20 +03:00
Frank Pursel
2eaadc28e1
gnu: sonivox-eas: Update to 1.3.0.
* gnu/packages/music.scm (sonivox-eas): Update to 1.3.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-05-15 22:45:08 +03:00
Efraim Flashner
f7e5ecf71f
gnu: gcc-8: Update to 8.5.0.
* gnu/packages/gcc.scm (gcc-8): Update to 8.5.0.
2021-05-15 22:43:15 +03:00
Alexandre Hannud Abdo
5b359e4ba5
gnu: Add python-graph-tool.
* gnu/packages/graph.scm (python-graph-tool): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2021-05-15 19:18:46 +02:00
Marius Bakke
c5c977b5ea
gnu: libcdr: Update to 0.1.7.
* gnu/packages/libreoffice.scm (libcdr): Update to 0.1.7.
2021-05-15 19:18:46 +02:00
Marius Bakke
d6915cb8ae
gnu: arpack-ng@3.3: Don't use unstable source tarball.
* gnu/packages/maths.scm (arpack-ng-3.3.0)[name, home-page]: Remove.
[source]: Switch to GIT-FETCH.  Inline uses of NAME and HOME-PAGE.
2021-05-15 19:18:46 +02:00
Marius Bakke
6b496f7b32
gnu: arpack-ng: Update to 3.8.0.
* gnu/packages/maths.scm (arpack-ng): Update to 3.8.0.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add EIGEN.
2021-05-15 19:18:46 +02:00
Marius Bakke
d4f02447ff
gnu: pybind11: Update to 2.6.2.
* gnu/packages/python-xyz.scm (pybind11): Update to 2.6.2.
2021-05-15 19:18:46 +02:00
Tobias Geerinckx-Rice
df48a11e1b
gnu: wl-clipboard: Don't require helper tools in $PATH.
* gnu/packages/xdisorg.scm (wl-clipboard)[arguments]: Add a new
'patch-file-names phase.
[inputs]: Add coreutils and xdg-utils.

Reported by pineapples in #guix.
2021-05-15 18:52:55 +02:00
Tissevert
992aa56e7c
gnu: Add vim-solarized.
* gnu/packages/vim.scm (vim-solarized): New public variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-05-15 14:55:34 +02:00
Maxim Cournoyer
38d337a5b7
tests: Conditionally include tests/go.scm.
The Go importer module requires a recent guile-glib; the test should only be
run when such requirement is met.

* Makefile.am (SCM_TESTS)[HAVE_GUILE_LIB]: Add tests/go.scm only if this
condition is met.

Reported-by: Chris Marusich <cmmarusich@gmail.com>
2021-05-15 08:40:00 -04:00
Sharlatan Hellseher
ce9c5fd6ba
gnu: sbcl-static-dispatch: Update to 0.5.1.
* gnu/packages/lisp-xyz.scm (sbcl-static-dispatch): Update to 0.5.1.
  [inputs]: Replace trivia by optima.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-05-15 13:58:12 +02:00
Nicolas Goaziou
62f204e1e6
gnu: emacs-vertico: Update to 0.9.
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.9.
2021-05-15 13:28:47 +02:00
Nicolas Goaziou
9ed83885ae
gnu: emacs-corfu: Update to 0.7.
* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.7.
2021-05-15 13:27:44 +02:00
Christopher Baines
97d615b176
inferior: Support querying package replacements.
I'm looking at this to help with adding support for looking up package
replacements to store in the Guix Data Service.

* guix/inferior.scm (inferior-package-replacement): New procedure.
* tests/inferior.scm ("inferior-package-replacement"): New test.
2021-05-15 12:14:47 +01:00
Guillaume Le Vaillant
b149c16371
gnu: monero-gui: Update to 0.17.2.2.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.2.2.
  [arguments]: Update 'fix-build' phase.
2021-05-15 12:04:31 +02:00
Guillaume Le Vaillant
bb6ae50d82
gnu: bitcoin-unlimited: Update to 1.9.2.0.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.9.2.0.
2021-05-15 10:50:45 +02:00
Guillaume Le Vaillant
fbb099a448
gnu: sbcl-mito: Update to 0.1-2.2fbfc8a.
* gnu/packages/lisp-xyz.scm (sbcl-mito): Update to 0.1-2.2fbfc8a.
  [inputs]: Remove optima. Add cl-package-locks and trivia.
2021-05-15 10:21:39 +02:00