Commit graph

90887 commits

Author SHA1 Message Date
Maxim Cournoyer 80d8cf6cc6
gnu: python-3.9: Update to 3.9.9.
* gnu/packages/python.scm (python-3.9): Update to 3.9.9.
2022-01-10 11:44:29 -05:00
Brendan Tildesley 7f8a896c5f
utils: Fix wrap-script argument handling.
* guix/build/utils.scm (wrap-script):
Don't add (car cl) one too many times, cl its self contains it's car.
Split the aguments string with string-tokenize to avoid leaving an empty
string argument when there should be none. These two bugs seemed to
be partially cancelling each other out so that scripts still worked when
ran with no arguments.

* tests/build-utils.scm: Adjust wrap-script to above changes.
Add two tests to ensure the command line arguments appear identical to a
script and its wrapped version.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:44:29 -05:00
Maxim Cournoyer 41ec0573b8
gnu: Remove meson-0.59 workarounds.
Mostly automated with the following command:

$ grep --include='*.scm' '#:meson ,meson-0.59' -rl \
    | xargs sed -z 's/#:meson[^\n]*\s*//' -i

* gnu/packages/freedesktop.scm (malcontent)
(accountsservice): Delete #:meson argument.
* gnu/packages/games.scm (gnome-2048): Likewise.
* gnu/packages/geo.scm (gnome-maps): Likewise.
* gnu/packages/gnome.scm (gnome-photos, gnome-music)
(gnome-initial-setup, gnome-user-share, gnome-characters)
(gnome-disk-utility, gnome-font-viewer, evince, glade3)
(gnome-mines, gnome-sudoku, gnome-settings-daemon, devhelp)
(totem, eog, gvfs, simple-scan, epiphany, gnome-session, gedit)
(network-manager-applet, gnome-control-center, gnome-shell, nautilus)
(gnome-default-applications, gnome-weather, gnome-tweaks, cheese, gthumb)
(gitg, polari, gnome-boxes, gtranslator): Likewise.
* gnu/packages/gtk.scm: (gtkmm-3): Likewise.
* gnu/packages/pdf.scm (zathura): Likewise.
* gnu/packages/photo.scm (entangle): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (libvirt-glib): Likewise.
2022-01-10 11:44:29 -05:00
Maxim Cournoyer 6f36d0c89e
gnu: meson: Update to 0.60.2 and absorb meson-wrapped.
* gnu/packages/build-tools.scm (meson): Update to 0.60.2, and integrate fixes
made in 'meson-wrapped':
[phases]{wrap}: Replace phase.
[inputs]: Add python-wrapper.
[propagated-inputs]: Delete field.
[properties]: Likewise.
(meson-wrapped): Delete variable.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer 026391615a
gnu: python-flit-core: Update to 3.5.1.
* gnu/packages/python-build.scm (python-flit-core): Update to 3.5.1.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer d71de56b86
gnu: python-tomli: Update to 2.0.0.
* gnu/packages/python-build.scm (python-tomli): Update to 2.0.0.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer 8c95987cbd
gnu: python-pyparsing: Update to 3.0.6.
* gnu/packages/python-build.scm (python-pyparsing): Update to 3.0.6.
[properties]: Add a python2-variant property.
(python2-pyparsing): Inherit from the 2.4.7 variant, and strip the
python2-variant property.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer 59d7550d53
gnu: python-wheel: Update to 0.37.0.
* gnu/packages/python-build.scm (python-wheel): Update to 0.37.0.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer 4b076fb9c2
gnu: python-packaging-bootstrap: Update to 21.3.
* gnu/packages/python-build.scm (python-packaging-bootstrap): Update to 21.3.
(python2-packaging-bootstrap): Peg version to 20.0.
2022-01-10 11:44:28 -05:00
Maxim Cournoyer 41cd41a43c
gnu: mesa: Update to 21.3.2.
* gnu/packages/gl.scm (mesa): Update to 21.3.2.
[phases]{disable-failing-test}: Disable the anv_state_pool unstable tests.
2022-01-10 11:44:27 -05:00
Maxim Cournoyer 44d72f7216
gnu: libx11: Update to 1.7.3.1.
This update eliminates multiple xkbcomp unresolved symbols warnings.

* gnu/packages/xorg.scm (libx11): Update to 1.7.3.1.  Fix indentation.
[source]: Update origin's URI.
2022-01-10 11:44:27 -05:00
Maxim Cournoyer 223cc96e5b
sitecustomize.py: Honor .pth files.
Fixes <https://issues.guix.gnu.org/52269>.

* gnu/packages/aux-files/python/sitecustomize.py: Use site.addsitedirs to add
the site directories; this takes care of the .pth files.  Make sure the added
items still appear before Python's own 'site-packages' directory.
2022-01-10 11:44:26 -05:00
Mathieu Othacehe d91de53caa
gnu: i2c-tools: Fix cross-compilation.
* gnu/packages/linux.scm (i2c-tools)[arguments]: Use #$output to fix
cross-compilation.
2022-01-10 17:29:19 +01:00
Danny Milosavljevic c78f916a46
gnu: Add xfel.
* gnu/packages/admin.scm (xfel): New variable.
2022-01-10 15:29:23 +01:00
Ludovic Courtès 0976e92a0f
news: Add news entry about 'guix style'.
* etc/news.scm: Add entry.
2022-01-10 15:01:30 +01:00
Ludovic Courtès 5d9a5e2301
style: '-S format' canonicalizes comments.
* guix/scripts/style.scm (canonicalize-comment): New procedure.
(pretty-print-with-comments): Add #:format-comment. and honor it.
(object->string*): Add 'args' and honor them.
(format-package-definition): Pass #:format-comment to
'object->string*'.
* tests/style.scm ("pretty-print-with-comments, canonicalize-comment"):
New test.
2022-01-10 14:59:26 +01:00
Ludovic Courtès c4fe13c294
style: Add '--styling' option.
* guix/scripts/style.scm (format-package-definition): New procedure.
(%options, show-help): Add "--styling".
(%default-options): Add 'styling-procedure'.
(guix-style): Honor it.
* tests/style.scm (with-test-package)
("input labels, 'safe' policy")
("input labels, 'safe' policy, nothing changed")
("input labels, margin comment")
("input labels, margin comment on long list")
("input labels, line comment")
("input labels, modify-inputs and margin comment"): Pass "-S inputs".
* etc/indent-code.el: Remove.
* doc/contributing.texi (Formatting Code): Mention "guix style" instead
of "etc/indent-code.el".
(Submitting Patches): Add item for "guix style".
* doc/guix.texi (Invoking guix style): Document "-S" and update.
2022-01-10 14:59:26 +01:00
Ludovic Courtès 6f892630ae
style: Add support for "newline forms".
This allows us to express cases where a newline should be inserted
immediately after the head symbol of a list.

* guix/scripts/style.scm (%newline-forms): New variable.
(newline-form?): New procedure.
(pretty-print-with-comments): Handle "newline forms".
* tests/style.scm: Add test.
2022-01-10 14:59:18 +01:00
Ludovic Courtès 208a7aa17b
style: Allow special forms to be scoped.
* guix/scripts/style.scm (vhashq): Add clause for 'lst, and change
default clause.
(%special-forms): Add context for 'add-after and 'add-before.  Add
'replace.
(prefix?, special-form-lead): New procedures.
(special-form?): Remove.
(pretty-print-with-comments): Add 'context' to the threaded state.
Adjust 'print-sequence' and adjust 'loop' calls accordingly.
* tests/style.scm: Add tests for 'replace.
2022-01-10 14:25:59 +01:00
Ludovic Courtès 97d0055edb
style: Improve pretty printer and add tests.
* guix/scripts/style.scm (vhashq): New macro.
(%special-forms): New variable.
(special-form?): New procedure.
(pretty-print-with-comments): Add many clauses and tweak existing
rules.
* tests/style.scm (test-pretty-print): New macro.
<top level>: Add 'test-pretty-print' tests.
2022-01-10 14:25:59 +01:00
Efraim Flashner 3dcc74d3ae
gnu: julia-simd: Update to 3.4.0.
* gnu/packages/julia-xyz.scm (julia-simd): Update to 3.4.0.
2022-01-10 15:15:39 +02:00
zimoun 67ff108806
gnu: Add julia-bioalignments.
* gnu/packages/julia-xyz.scm (julia-bioalignments): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:38 +02:00
zimoun 782eaa180e
gnu: Add julia-intervaltrees.
* gnu/packages/julia-xyz.scm (julia-intervaltrees): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:37 +02:00
zimoun 5d697044a8
gnu: Add julia-biosequences.
* gnu/packages/julia-xyz.scm (julia-biosequences): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:37 +02:00
zimoun 46472ae545
gnu: Add julia-biosymbols.
* gnu/packages/julia-xyz.scm (julia-biosymbols): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:36 +02:00
zimoun 4486b111d3
gnu: Add julia-yaml.
* gnu/packages/julia-xyz.scm (julia-yaml): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:36 +02:00
zimoun 17406e2779
gnu: Add julia-stringencodings.
* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:35 +02:00
zimoun 542db364f5
gnu: Add julia-automa.
* gnu/packages/julia-xyz.scm (julia-automa): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:35 +02:00
zimoun 7e8f5176c4
gnu: Add julia-scanbyte.
* gnu/packages/julia-xyz.scm (julia-scanbyte): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:34 +02:00
zimoun 9bd4c35aac
gnu: Add julia-simd.
* gnu/packages/julia-xyz.scm (julia-simd): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:34 +02:00
zimoun 1305d9f3b1
gnu: Add julia-twiddle.
* gnu/packages/julia-xyz.scm (julia-twiddle): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:33 +02:00
zimoun cc49040833
gnu: Add julia-indexablebitvectors.
* gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:33 +02:00
zimoun ccc13b9e0a
gnu: Add julia-biogenerics.
* gnu/packages/julia-xyz.scm (julia-biogenerics): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:32 +02:00
zimoun 3f0b76bdcc
gnu: julia-documenter: Adjust style.
* gnu/packages/julia-xyz.scm (julia-documenter)[propagated-inputs] Remove labels.
[inputs, native-inputs]: Remove labels.
[arguments]: Remove unnecessary return '#t'. Use search-input-file to
find pip.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:32 +02:00
zimoun b8088f9186
gnu: julia-documentertools: Adjust style.
* gnu/packages/julia-xyz.scm (julia-documentertools)[inputs]: Remove label.
[propagated-inputs]: Adjust.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:32 +02:00
zimoun 79ba1214b0
gnu: julia-zygote: Adjust style.
* gnu/packages/julia-xyz.scm (julia-zygote)[propagated-inputs]: Remove labels.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:31 +02:00
zimoun a2010ac21b
build: julia-build-system: Create 'Project.toml' file when missing.
* guix/build/julia-build-system.scm (link-depot): Create 'Project.toml' file
when missing using data provided by the user.
(julia-create-package-toml): Remove from export.
* doc/guix.texi (Build Systems): Update julia-build-system section.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:31 +02:00
zimoun 146e83d380
gnu: julia-xyz.scm: Adjust style.
* gnu/packages/julia-xyz.scm: Align all inputs.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-01-10 15:15:15 +02:00
Ricardo Wurmus d118b3a5a6
import: texlive: Update error message.
We aren't downloading anything.

* guix/scripts/import/texlive.scm (guix-import-texlive): Update error message.
2022-01-10 12:47:01 +01:00
Ricardo Wurmus 18bd4d12d7
import: texlive: Remove more specific entries with the same prefix.
* guix/import/texlive.scm (files->directories): Ensure that any more specific
directory is removed if a parent directory is in the list of provided
locations.
2022-01-10 12:46:47 +01:00
Guillaume Le Vaillant d689ca6f0d
gnu: monero-gui: Update to 0.17.3.1.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.3.1.
2022-01-10 11:07:46 +01:00
Tobias Geerinckx-Rice 19a4759cad
doc: Fix some typos.
* doc/guix.texi (Invoking guix hash): Fix a few typos today.

Reported by KarlJoad on #guix, and then we found more.
2022-01-10 00:34:49 +01:00
Tobias Geerinckx-Rice 37746bb2ee
gnu: Add sane-airscan.
* gnu/packages/scanner.scm (sane-airscan): New public variable.
2022-01-10 00:32:36 +01:00
Tobias Geerinckx-Rice 895be05f74
gnu: stunnel: Remove input labels.
* gnu/packages/web.scm (stunnel)[native-inputs, inputs]:
Remove input labels.
2022-01-10 00:32:36 +01:00
Tobias Geerinckx-Rice 53846e252b
gnu: stunnel: Use G-expressions.
* gnu/packages/web.scm (stunnel)[arguments]:
Rewrite as G-expressions.
2022-01-10 00:32:35 +01:00
Tobias Geerinckx-Rice 4a98f416d6
gnu: stunnel: Update to 5.61.
* gnu/packages/web.scm (stunnel): Update to 5.61.
[native-inputs]: Add python.
[arguments]: Remove obsolete 'patch-tests phase.
2022-01-10 00:32:35 +01:00
Tobias Geerinckx-Rice 0148fe6439
gnu: electron-cash: Update to 4.2.6.
* gnu/packages/finance.scm (electron-cash): Update to 4.2.6.
2022-01-10 00:32:35 +01:00
Tobias Geerinckx-Rice 2717f180c4
gnu: libportal: Remove input labels.
* gnu/packages/freedesktop.scm (libportal)[native-inputs]:
Remove input labels.
2022-01-10 00:32:35 +01:00
Tobias Geerinckx-Rice 294476022f
gnu: libportal: Update to 0.5.
* gnu/packages/freedesktop.scm (libportal): Update to 0.5.
[arguments]: Add #:configure-flags to limit dependency creep.
Remove 'move-doc phase.
[native-inputs]: Remove gtk-doc.  Add gobject-introspection and vala.
[inputs]: Add gtk, gtk+, qtbase-5, and qtx11extras.
[outputs]: Remove :out.
2022-01-10 00:32:34 +01:00
Peter Polidoro e2d8125a5c
gnu: kicad: Update to 5.1.12.
* gnu/packages/engineering.scm (kicad): Update to 5.1.12.

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