Commit graph

84734 commits

Author SHA1 Message Date
Foo Chuan Wei
c0c974ad96
gnu: cl-who: Update to commit 1.1.4-2.0d38264.
* gnu/packages/lisp-xyz.scm (sbcl-cl-who): Update to 1.1.4-2.0d38264.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-11-01 10:58:12 +01:00
Guillaume Le Vaillant
9070bfd2c0
gnu: cl-string-match: Fix dependency.
* gnu/packages/lisp-xyz.scm (sbcl-cl-string-match)[arguments]: Add
  'fix-dependency' phase.
  [source, home-page]: Update to new URL.
2021-11-01 10:58:12 +01:00
Guillaume Le Vaillant
840a708088
gnu: cl-mgl-pax: Update to 0.0.4-0.a7f9047.
* gnu/packages/lisp-xyz.scm (sbcl-mgl-pax): Update to 0.0.4-0.a7f9047.
  [inputs]: Add alexandria, colorize and md5. Remove babel, cl-fad and
  ironclad.
  [arguments]: Add optional systems to 'asd-systems' to build them too.
2021-11-01 10:58:11 +01:00
Foo Chuan Wei
8f92c44bdd
gnu: vim-scheme: Update to 0.0.0-3.e22fc8e.
* gnu/packages/vim.scm (vim-scheme): Update to 0.0.0-3.e22fc8e.
[source]: Use https.
[license]: Update to new upstream license.
2021-11-01 11:54:59 +02:00
Alexandr Vityazev
e1370ea8fa
gnu: dunst: Update to 1.7.0.
* gnu/packages/dunst.scm (dunst): Update to 1.7.0.
[source]: Fix indentation.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-01 11:35:06 +02:00
Tobias Geerinckx-Rice
f3d5d572de
gnu: binwalk: Update to 2.3.2.
* gnu/packages/python-xyz.scm (binwalk): Update to 2.3.2.
[arguments]: Don't explicitly return #t from phases.
2021-11-01 00:13:55 +01:00
Tobias Geerinckx-Rice
1872c00df5
gnu: python-binwalk: Rename to binwalk.
* gnu/packages/python-xyz.scm (binwalk): New variable renamed from
(python-binwalk): this old thing.  Redefine it using DEPRECATED-PACKAGE.
* gnu/packages/diffoscope.scm (diffoscope)[native-inputs]: Adjust accordingly.
2021-11-01 00:13:55 +01:00
Tobias Geerinckx-Rice
2ff28472e3
gnu: pipe-viewer: Update to 0.1.5.
* gnu/packages/video.scm (pipe-viewer): Update to 0.1.5.
2021-11-01 00:13:55 +01:00
Efraim Flashner
1a80b8909a
gnu: vim-tagbar: Add ctags fallback location.
* gnu/packages/vim.scm (vim-tagbar)[arguments]: Add fill path to ctags
as fallback location.
[inputs]: Add universal-ctags.
2021-10-31 15:28:46 +02:00
Foo Chuan Wei
9d9fa800b3
gnu: Add vim-tagbar.
* gnu/packages/vim.scm (vim-tagbar): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-31 15:20:37 +02:00
Foo Chuan Wei
508b072ab4
gnu: Add vim-characterize.
* gnu/packages/vim.scm (vim-characterize): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-10-31 15:14:58 +02:00
Felix Gruber
de81a58f79
gnu: leocad: Update to 21.06.
* gnu/packages/lego.scm (leocad): Update to 21.06.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-10-31 15:24:57 +05:30
Felix Gruber
4e5000114e
gnu: wesnoth: Update to 1.16.0.
* gnu/packages/games.scm (wesnoth): Update to 1.16.0.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-10-31 15:13:25 +05:30
Liliana Marie Prikler
9f2c5e901e
gnu: Add zig.
* gnu/packages/patches/zig-disable-libc-note-test.patch,
gnu/packages/patches/zig-use-system-paths.patch: New files.
* gnu/packages/zig.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Adjust accordingly.
2021-10-31 09:02:01 +01:00
Timotej Lazar
84c6f17f16
gnu: dconf: Increase test timeout further.
The “engine” test hit the previous 90s time limit when cross-compiling
on a less powerful machine.

* gnu/packages/gnome.scm (dconf)[arguments]: Change timeout to 300s in
'increase-test-timeout phase.  Drop trailing #t.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
b4359fc5e6
gnu: remmina: Update to 1.4.21.
* gnu/packages/vnc.scm (remmina): Update to 1.4.21.
[arguments]: Don't explicitly return #t from phases.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
1632cad620
gnu: aws-c-mqtt: Update to 0.7.8.
* gnu/packages/c.scm (aws-c-mqtt): Update to 0.7.8.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
02fcabe230
gnu: polybar: Update to 3.5.7.
* gnu/packages/wm.scm (polybar): Update to 3.5.7.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
8e6989fcaf
bash completion: Complete top-level options.
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
0987a0eba4
bash completion: Don't hard-code "guix" binary name.
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
8f45555781
ui: Use DISPLAY in SHOW-GUIX-HELP.
* guix/ui.scm (show-guix-help): Use DISPLAY where FORMAT isn't needed.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
943dd59beb
ui: Add top-level options to help text.
This also makes automated ‘guix --h<Tab>’ completion possible.

* guix/ui.scm (show-guix-help): Document that an OPTION's an option,
and all valid options.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
c73d1e68cf
gnu: bschaffl: Update to 1.4.8.
* gnu/packages/music.scm (bschaffl): Update to 1.4.8.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
3f5f58df8b
gnu: bjumblr: Update to 1.6.8.
* gnu/packages/music.scm (bjumblr): Update to 1.6.8.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
b8da019283
gnu: bshapr: Update to 0.13.
* gnu/packages/music.scm (bshapr): Update to 0.13.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
9c1a1c3b36
gnu: bchoppr: Update to 1.10.10.
* gnu/packages/music.scm (bchoppr): Update to 1.10.10.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
3df874deb9
gnu: bsequencer: Update to 1.8.10.
* gnu/packages/music.scm (bsequencer): Update to 1.8.10.
[arguments]: Set CC to something sensible.
2021-10-31 00:57:06 +02:00
Ludovic Courtès
c4ac8cf4f6
doc: Mention 'guix home reconfigure' upfront.
* doc/guix.texi (Declaring the Home Environment): Mention 'guix home
reconfigure'.
2021-10-31 00:51:07 +02:00
Ludovic Courtès
971a69d8e3
doc: Avoid misuse of @ref.
* doc/guix.texi (Declaring the Home Environment): Avoid @ref in the
middle of a sentence.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
7711a6c3f4
doc: Mention "guix home import" upfront.
* doc/guix.texi (Declaring the Home Environment): Mention "guix home
import".
2021-10-31 00:51:06 +02:00
Ludovic Courtès
6f4ca78761
home: import: Avoid duplication of 'manifest->code'.
* guix/scripts/home/import.scm (manifest->code): Remove.
(manifest+configuration-files->code): New procedure.
(import-manifest): Use 'manifest+configuration-files->code' instead of
'manifest->code'.
* tests/home-import.scm (eval-test-with-home-environment): Likewise.
(match-home-environment-transformations): New procedure.
("manifest->code: No services, package transformations"): New test.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
96728c54df
home: import: Factorize triplicated 'version-spec' procedure.
* guix/scripts/package.scm (manifest-entry-version-prefix): New
procedure, moved from...
(export-manifest)[version-spec]: ... here.  Adjust caller.
* tests/home-import.scm (version-spec): Remove.
(eval-test-with-home-environment): Use 'manifest-entry-version-prefix'
instead.
* guix/scripts/home/import.scm (import-manifest): Likewise.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
f3933ae40d
home: import: Clarify "destination directory".
Suggested by Liliana Marie Prikler <liliana.prikler@gmail.com>.

* guix/scripts/home/import.scm (configurations+modules): Rename
'destination-directory' to 'configuration-directory'.  Improve
docstring.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
341fba217f
home: import: Compare procedures with 'eq?'.
'procedure-name' is a debugging aid and cannot be reliably used to
check for procedure equality.

* guix/scripts/home/import.scm (configurations+modules): Remove use of
'procedure-name'.
2021-10-31 00:51:06 +02:00
Xinglu Chen
ea19381bd9
guix home: import: Call ‘local-file’ with ‘name’
Set the name of the file to just the basename of the file passed to
‘local-file’.

* guix/scripts/home/import.scm (basename+remove-dots): New procedure.
(generate-bash-configuration+modules): Use it.
* tests/home-import.scm (match-home-environment-bash-service): Adjust
accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:06 +02:00
Xinglu Chen
40acbaf078
Add tests for ‘guix home import’.
* tests/home-import.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
87c04b0e17
doc: Document the ‘guix home import’ subcommand.
* doc/guix.texi (Invoking guix home): Document ‘guix home import’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
256bd71264
guix home: import: Delete duplicate modules when importing.
Two different services might require the same module(s), so delete duplicates
when generating the ‘use-modules’ form.

* import.scm (manifest->code): Delete duplicate modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
e12e8aad35
guix home: import: Don’t use 'slurp-file-gexp'.
‘slurp-file-gexp’ is not a bound procedure.

* guix/scripts/home/import.scm (generate-bash-configuration+modules): Don’t
  use ‘slurp-file-gexp’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
3be1a982f3
guix home: import: Fix module name for Bash service.
* guix/scripts/home/import.scm (generate-bash-configuration+modules): Change
(gnu home-services bash) to (gnu home-services shells); add (guix gexp).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
e4d09d25ae
guix home: import: Allow multiple modules to be imported for each service.
Previously, only one module could be imported for each service, e.g., only
(gnu home-services shell) could be imported when generating the Bash service
declaration.  However, for some services, multiple modules might need to be
imported in order for it to work.

* guix/scripts/home/import.scm (generate-bash-module+configuration): Rename to
...
(generate-bash-configuration+modules): ... this.
(%files-configurations-alist): Rename to ...
(%files+configurations-alist): ... this.
(modules+configurations): Rename to ...
(configurations+modules): ... this.
(manifest->code): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
d5eb05f01e
guix home: import: Make the user to specify a destination directory.
Copy the appropriate the relevant configuration files to the destination
directory, and call ‘local-file’ on them.

Without this, ‘guix home import’ will generate a service declaration like this

  (service
   home-bash-service-type
   (home-bash-configuration
    (bashrc
     (list (slurp-file-gexp
            (local-file "/home/yoctocell/.bashrc"))))))

but when running ‘guix home reconfigure’, the ~/.bashrc file would be moved, so
when running ‘guix home reconfigure’ for the second time, it would read the
~/.bashrc which is itself a symlink to a file the store.

* guix/scripts/home/import.scm (generate-bash-module+configuration): Take
‘destination-directory’ parameter
(modules+configurations): Copy the user’s configuration file to
‘%destination-directory’.
* guix/scripts/home.scm (process-command): Adjust accordingly; create
‘destination’ if it doesn’t exist.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Mădălin Ionel Patrașcu
cf0abb6cfe
gnu: Add r-formattable.
* gnu/packages/cran.scm (r-formattable): New variable.
2021-10-30 19:56:15 +00:00
Timotej Lazar
142344b6ef
gnu: qemu: Add Guix support to QEMU guest agent.
QEMU guest agent hardcodes paths to /sbin/hwclock and /sbin/shutdown. Patch
the source to try binaries under /run/current-system/profile/sbin first.

* gnu/packages/patches/qemu-fix-agent-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
* gnu/packages/virtualization.scm (qemu)[origin]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
jgart
f8d3c98162
gnu: Add r-bien.
* gnu/packages/cran.scm (r-bien): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
jgart
2339ee166c
gnu: Add r-fasterize.
* gnu/packages/cran.scm (r-fasterize): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
Raphaël Mélotte
a239b1e678
gnu: Add python-ijson.
* gnu/packages/python-xyz.scm (python-ijson): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:18 +02:00
Ludovic Courtès
98173af522
shell: Error out when an unauthorized guix.scm/manifest.scm is found.
The previous behavior was confusing: a warning would be printed and
'guix shell' would go on starting an empty environment.

Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/scripts/shell.scm (auto-detect-manifest): Change "not loading"
case from warning to error.
* tests/guix-shell.sh: Adjust accordingly.
2021-10-30 19:12:40 +02:00
Foo Chuan Wei
bcce83c785
gnu: Add Random Identity Generator (rig)
* gnu/packages/shellutils.scm (rig): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:12:40 +02:00
Foo Chuan Wei
d4449565ed
gnu: ta-lib: Explicitly link math library.
* gnu/packages/finance.scm (ta-lib)[arguments]: Add 'link-math-library' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-10-30 14:43:07 +02:00