Xinglu Chen
b999c80c2e
import: egg: Allow imports of a specific version.
...
* guix/import/egg.scm (eggs-repository): Change URL.
(egg-metadata): Accept optional #:version keyword argument.
(egg->guix-package): Accept ‘version’ argument.
(egg-recursive-import): Add ‘version’ argument and honor it.
* guix/scripts/import/egg.scm (guix-import-egg): Parse a specification instead
of just a package name.
* doc/guix.texi (Invoking guix import): Document it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-07 23:10:41 +01:00
Xinglu Chen
2f665d4309
doc: Improve documentation of the Bash home service
...
* doc/guix.texi (Shells Home Services): Document ‘home-bash-extension’
configuration record.
* gnu/home/services/shells.scm (generate-home-bash-documentation): Extract
docstrings from ‘home-bash-extension’.
(home-bash-configuration): Expound on docstrings.
(home-bash-extension): Likewise.
Fixes: <https://issues.guix.gnu.org/50991 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-07 23:10:41 +01:00
Xinglu Chen
4b96998292
home: services: bash: Add ‘aliases’ field.
...
* doc/guix.texi (Shells Home Services): Document it.
* gnu/home/services/shells.scm (bash-serialize-aliases): New procedure.
(home-bash-configuration, home-bash-extension): Add ‘aliases’ field.
(home-bash-extensions): Adjust accordingly.
* guix/scripts/home/import.scm (generate-bash-configuration+modules): Populate
the ‘alias’ field.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-07 23:10:41 +01:00
Ludovic Courtès
5eb5c0789f
file-systems: Validate the 'flags' field.
...
Fixes <https://issues.guix.gnu.org/51425 >.
Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>.
* gnu/system/file-systems.scm (invalid-file-system-flags)
(%validate-file-system-flags): New procedures.
(validate-file-system-flags): New macro.
(<file-system>)[flags]: Add 'sanitize' property.
2021-11-07 23:10:41 +01:00
Ludovic Courtès
4d59596a1c
ui: 'load*' correctly reports 'read-error' in all cases.
...
Previously, 'read-error' exceptions other than "missing closing paren"
would not be reported; instead, we'd directly call (exit 1) without
printing anything.
Fixes <https://issues.guix.gnu.org/51463 >.
Reported by Alice BRENON <alice.brenon@ens-lyon.fr>.
* guix/ui.scm (report-load-error): Report the error without re-throwing
upon 'read-error'.
* tests/guix-build.sh: Add test.
2021-11-07 23:10:41 +01:00
Brendan Tildesley
dab2ac2ed5
gnu: 0ad: Update to 0.0.25b-alpha.
...
* gnu/packages/games.scm (0ad-data): Update to 0.0.25b-alpha.
Unpack .zip files without need for a snippet.
(0ad): Update to 0.0.25b-alpha.
[arguments]<#:phases>: Properly unbundle cxxtest. Respect #:tests?.
Install Freedesktop mimeinfo.
Install icon to hicolor theme instead of share/pixmaps, which I don't
think is used.
<#:tests> Disable tests for now since they don't run.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-11-07 22:57:05 +01:00
Tobias Geerinckx-Rice
90cd653abe
gnu: ansible-core: Update to 2.11.6.
...
* gnu/packages/admin.scm (ansible-core): Update to 2.11.6.
2021-11-07 22:52:43 +01:00
Tobias Geerinckx-Rice
031906be76
gnu: xfstests: Update to 1.1.0-1.bae1d15.
...
* gnu/packages/file-systems.scm (xfstests): Update to 1.1.0-1.bae1d15.
2021-11-07 22:52:43 +01:00
Tobias Geerinckx-Rice
6a36f4e4fc
gnu: lv2: Update to 1.18.2.
...
* gnu/packages/audio.scm (lv2): Update to 1.18.2.
2021-11-07 22:52:43 +01:00
Tobias Geerinckx-Rice
c569c735c2
gnu: jalv: Update to 1.6.6.
...
* gnu/packages/audio.scm (jalv): Update to 1.6.6.
2021-11-07 22:52:43 +01:00
Tobias Geerinckx-Rice
b331ee62f5
gnu: lilv: Update to 0.24.12.
...
* gnu/packages/audio.scm (lilv): Update to 0.24.12.
[arguments]: Don't explicitly return #t from phases.
2021-11-07 22:52:42 +01:00
Tobias Geerinckx-Rice
55bef80580
gnu: dvdisaster: Remove uninstallation script.
...
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add a new
'remove-uninstall-script phase.
2021-11-07 22:52:42 +01:00
Tobias Geerinckx-Rice
153d9bca72
gnu: dvdisaster: Update to 0.79.9.
...
* gnu/packages/cdrom.scm (dvdisaster): Update to 0.79.9.
[source, home-page]: Update home page.
[arguments]: Don't explicitly return #t from phases.
2021-11-07 22:52:42 +01:00
Felix Gruber
92af2ec5d0
gnu: openttd: Fix build failure.
...
* packages/games.scm (openttd)[native-inputs]: Use gcc-9 to fix build
failure.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-07 22:13:37 +01:00
Felix Gruber
c9b9919858
gnu: openttd-openmsx: Update to 0.4.2.
...
* packages/games.scm (openttd-openmsx): Update to 0.4.2.
[native-inputs]: Replace python-2 with python-wrapper.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-07 22:13:37 +01:00
Felix Gruber
574f4b7d3f
gnu: openttd-opensfx: Update to 1.0.2.
...
* packages/games.scm (openttd-opensfx): Update to 1.0.2.
[native-inputs]: Replace python-2 with python.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-07 22:13:37 +01:00
Felix Gruber
c2759211fc
gnu: openttd-opengfx: Update to 7.1.
...
* packages/games.scm (openttd-opengfx): Update to 7.1.
[native-inputs]: Replace python-2 with python.
[arguments]: Use cc-for-target.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-07 22:13:36 +01:00
Felix Gruber
b6bb7720eb
gnu: openttd-engine: Update to 12.0.
...
* gnu/packages/games.scm (openttd-engine): Update engine to 12.0.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-07 22:13:36 +01:00
Arun Isaac
2ebadb390e
gnu: Add weechat-wee-slack.
...
* gnu/packages/messaging.scm (weechat-wee-slack): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:58:03 +02:00
Arun Isaac
7ebed0cdc8
gnu: Add weechat-matrix.
...
* gnu/packages/messaging.scm (weechat-matrix): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:50:32 +02:00
Arun Isaac
73679a6837
gnu: Add python-webcolors.
...
* gnu/packages/python-web.scm (python-webcolors): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:50:27 +02:00
Vinicius Monego
6e3eba9d1f
gnu: Add rust-log4rs-1.
...
* gnu/packages/crates-io.scm (rust-log4rs-1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:48 +02:00
Vinicius Monego
b76b29957e
gnu: Add rust-log-mdc-0.1.
...
* gnu/packages/crates-io.scm (rust-log-mdc-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:46 +02:00
Vinicius Monego
e9eb6b1102
gnu: Add rust-diffus-0.10.
...
* gnu/packages/crates-io.scm (rust-diffus-0.10): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:44 +02:00
Vinicius Monego
38912f139f
gnu: Add rust-diffus-derive-0.10.
...
* gnu/packages/crates-io.scm (rust-diffus-derive-0.10): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:43 +02:00
Vinicius Monego
551e39ccb1
gnu: Add rust-snake-case-0.3.
...
* gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:41 +02:00
Vinicius Monego
cd968c83aa
gnu: Add rust-xmltree-0.10.
...
* gnu/packages/crates-io.scm (rust-xmltree-0.10): New variable.
(rust-xmltree-0.8): Inherit from above.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:39 +02:00
Vinicius Monego
9bf3bc8418
gnu: Add rust-color-backtrace-0.5.
...
* gnu/packages/crates-io.scm (rust-color-backtrace-0.5): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:28:37 +02:00
Efraim Flashner
3e6f857354
gnu: x42-plugins: Prepare for cross-compiling.
...
* gnu/packages/music.scm (x42-plugins)[arguments]: Remove
'set-CC-variable phase. Use cc-for-target in make-flags.
2021-11-07 22:25:23 +02:00
Thorsten Wilms
6f45418416
gnu: x42-plugins: Update to 20211016.
...
* gnu/packages/music.scm (x42-plugins): Update to 20211016.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-07 22:21:20 +02:00
Tobias Geerinckx-Rice
071f4e3db3
guix-install.sh: Undo some bugs introduced by shellcheck.
...
* etc/guix-install.sh: Unquote all file names containing ~root.
2021-11-07 20:09:59 +01:00
Marius Bakke
a0f1476e8f
gnu: emacs-stream: Don't set a source file name.
...
This is a follow-up to 678248f5ea
.
* gnu/packages/emacs-xyz.scm (emacs-stream)[source]: Remove FILE-NAME, as the
tarball name is already OK; and the -checkout name breaks build system
assumptions on the core-updates branch.
2021-11-07 14:20:41 +01:00
Felix Gruber
dc8e9d6f88
gnu: osm2pgsql: Update to 1.5.1.
...
* gnu/packages/geo.scm (osm2pgsql): Update to 1.5.1.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-11-07 10:01:31 +01:00
Felix Gruber
53bbbfb77c
gnu: protozero: Update to 1.7.0.
...
* gnu/packages/protobuf.scm (protozero): Update to 1.7.0.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-11-07 09:59:59 +01:00
Felix Gruber
b217208dd0
gnu: libosmium: Update to 2.17.1.
...
* gnu/packages/geo.scm (libosmium): Update to 2.17.1.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-11-07 09:56:55 +01:00
Mark H Weaver
b11badfb4c
gnu: webkitgtk: Improve the 32-bit x86 target check.
...
* gnu/packages/webkit.scm (webkitgtk)[arguments]: In the
'prepare-build-environment' phase, use 'target-x86-32?'.
2021-11-07 01:38:59 -04:00
Maxime Devos
b0519cc4b0
utils: Define a target-x86-32? and target-x86-64? predicate.
...
* guix/utils.scm (target-x86-32?, target-x86-64?): New predicates.
* tests/utils.scm ("target-x86-32?", "target-x86-64?"): New tests.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-11-07 01:38:23 -04:00
Nicolas Goaziou
b96ae47bb0
gnu: emacs-geiser-guile: Update to 0.18.
...
* gnu/packages/emacs-xyz.scm (emacs-geiser-guile): Update to 0.18.
[arguments]<#:phases>: Remove trailing #t from phase.
2021-11-07 00:20:35 +01:00
Ludovic Courtès
5d2d87fed7
environment: Suggest command upon 'execlp' failure.
...
* guix/scripts/environment.scm (launch-environment): Call
'primitive-_exit' upon 'system-error.
(suggest-command-name, validate-exit-status): New procedures.
(launch-environment/fork): Call 'validate-exit-status'.
(launch-environment/container)[exit/status*]: New procedure.
Use it instead of 'exit/status'.
2021-11-06 23:01:21 +01:00
Ludovic Courtès
3c1158ac4e
profiles: Build the man database only if 'man-db' is in the profile.
...
This allows us to skip the expensive man-db profile hook in most cases.
Suggested by Liliana Marie Prikler <liliana.prikler@gmail.com>.
* guix/profiles.scm (manual-database/optional): New procedure.
(%default-profile-hooks): Use it instead of 'manual-database'.
* doc/guix.texi (Documentation): Add footnote about 'man -k' database
creation.
2021-11-06 23:01:21 +01:00
Ludovic Courtès
d21353adea
import: elpa: Work around Guile 3.0.[5-7] compiler bug.
...
Fixes <https://issues.guix.gnu.org/49006 >.
Reported by Xinglu Chen <public@yoctocell.xyz>.
* guix/import/elpa.scm (elpa-package->sexp)[melpa-recipe]: Add call to
'identity'.
2021-11-06 23:01:21 +01:00
Ludovic Courtès
86ed003990
tests: Avoid literal strings for invalid Texinfo markup.
...
This is a followup to e171182a20
.
* tests/lint.scm ("description: invalid Texinfo markup")
("synopsis: valid Texinfo markup"): Add call to 'identity' to avoid
triggering a syntax error.
2021-11-06 23:01:21 +01:00
Nicolas Goaziou
b2ee0798ee
gnu: emacs-helm-bibtex: Update to 2.0.0-3.aa77534.
...
* gnu/packages/emacs-xyz.scm (emacs-helm-bibtex): Update to 2.0.0-3.aa77534.
2021-11-06 22:42:55 +01:00
Nicolas Goaziou
9c30669551
gnu: Add emacs-citar.
...
* gnu/packages/emacs-xyz.scm (emacs-citar): New variable.
2021-11-06 22:15:36 +01:00
Marius Bakke
290a7664b5
gnu: fio: Disable native CPU compiler optimizations.
...
* gnu/packages/benchmark.scm (fio)[arguments]: Add #:configure-flags. Adjust
configure phase accordingly.
2021-11-06 17:46:37 +01:00
Marius Bakke
75f2eb41cc
gnu: fio: Disable Ceph/RADOS support.
...
This little-used feature is easy to add on demand and blows up the closure.
* gnu/packages/benchmark.scm (fio)[inputs]: Remove CEPH.
2021-11-06 17:46:37 +01:00
Marius Bakke
5e7c2eb7ae
gnu: fio: Don't bother wrapping scripts.
...
fio comes with many scripts of varying utility. Some require extra additional
programs, which users can easily install as needed; there is little use in
imposing all optional dependencies on all users of fio.
* gnu/packages/benchmark.scm (fio)[arguments]: Remove patch-paths phase.
Rewrite move-outputs to move all discovered scripts and not wrap any.
[inputs]: Remove GNUPLOT, PYTHON-2, PYTHON2-NUMPY, and PYTHON2-PANDAS. Add
PYTHON.
2021-11-06 17:46:37 +01:00
Liliana Marie Prikler
567c4f4495
Update mailmap and copyright assignments for Liliana Marie Prikler.
...
Use full names everywhere.
* .mailmap: Use full name for Liliana Marie Prikler.
* gnu/packages/zig.scm: Likewise.
2021-11-06 16:03:43 +01:00
Julien Lepiller
85430a9ea6
nls: Update translations.
...
* po/doc/guix-cookbook.es.po: New file.
* po/doc/local.mk: Add 'es' cookbook.
* doc/local.mk: Add 'es' cookbook.
2021-11-06 14:06:36 +01:00
Xinglu Chen
e58994f113
gnu: msmtp: Update to 1.8.19.
...
* gnu/packages/mail.scm (msmtp): Update to 1.8.19.
[properties]: Set ‘release-monitoring-url’.
2021-11-06 10:47:14 +01:00