Commit graph

90868 commits

Author SHA1 Message Date
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
Ludovic Courtès
c1db66fa0a
import: go: Correctly report diagnostics upon version mismatch.
* guix/import/go.scm (strip-v-prefix, ensure-v-prefix)
(validate-version): New procedures.
(go-module->guix-package): Use 'validate-version' when defining
'version*'.  Remove 'else' clause in SRFI-34 guard.
2022-01-09 23:17:17 +01:00
Ludovic Courtès
d1e3c96759
scripts: import: go: Wrap body in 'with-error-handling'.
This ensures proper error reporting and an exception reaches the top
level.

* guix/scripts/import/go.scm (guix-import-go): Wrap body in
'with-error-handling'.
2022-01-09 23:17:17 +01:00
Lu Hui
04f18d6577
gnu: Add go-github-com-dreamacro-go-shadowsocks2
* gnu/packages/golang.scm (go-github-com-dreamacro-go-shadowsocks2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-09 23:17:17 +01:00
Ludovic Courtès
7f20e59a13
machine: ssh: Open a single SSH session per machine.
Previously, any call to 'managed-host-remote-eval' and similar would
open a new SSH session to the host.  With this change, an SSH session is
opened once, cached, and then reused by all subsequent calls to
'machine-ssh-session'.

* gnu/machine/ssh.scm (<machine-ssh-configuration>): Add
'this-machine-ssh-configuration'.
[session]: Mark as thunked and change default value to an
'open-machine-ssh-session*' call.
(open-machine-ssh-session, open-machine-ssh-session*): New procedures.
(machine-ssh-session): Replace inline code by call to
'open-machine-ssh-session'.
2022-01-09 23:17:17 +01:00
Leo Famulari
1684ed6537
gnu: Remove leftover patches for Blender 2.79.
This is a followup to commit 23da063ea3.

* gnu/packages/patches/blender-2.79-gcc8.patch,
gnu/packages/patches/blender-2.79-gcc9.patch,
gnu/packages/patches/blender-2.79-newer-ffmpeg.patch,
gnu/packages/patches/blender-2.79-oiio2.patch,
gnu/packages/patches/blender-2.79-python-3.7-fix.patch,
gnu/packages/patches/blender-2.79-python-3.8-fix.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2022-01-09 16:35:20 -05:00
Leo Famulari
23da063ea3
gnu: Remove blender-2.79.
This package has not built successfully in a while.

* gnu/packages/graphics.scm (blender-2.79): Remove variable.
2022-01-09 16:32:14 -05:00
Efraim Flashner
531d986e01
gnu: go-github-com-stretchr-testify: Update to 1.7.0.
* gnu/packages/golang.scm (go-github-com-stretchr-testify): Update to 1.7.0.
[propagated-inputs]: Replace go-gopkg-in-yaml-v2 with
go-gopkg-in-yaml-v3.
(go-github-com-stretchr-testify-bootstrap)[propagated-inputs]: Add
go-gopkg-in-yaml-v2.
(go-github-com-stretchr-objx)[native-inputs]: Remove go-gopkg-in-yaml-v2.
2022-01-09 22:34:54 +02:00
Mathieu Othacehe
ee1f63acc5
gnu: cuirass: Use guile-squee.
* gnu/packages/ci.scm (guile-squee-dev): Remove it.
(cuirass)[inputs]: Switch to guile-squee.
2022-01-09 20:40:10 +01:00
Mathieu Othacehe
ed191f3bef
gnu: guile-squee: Update to 0-3.a151fd0.
* gnu/packages/guile-xyz.scm (guile-squee): Update to 0-3.a151fd0.
[arguments]: Use search-input-file and remove a trailing #t.
2022-01-09 20:39:14 +01:00
Mathieu Othacehe
c9f9e78dc0
gnu: cuirass: Update to 1.1.0-9.95c29ab.
* gnu/packages/ci.scm (cuirass): Update to 1.1.0-9.95c29ab.
2022-01-09 18:55:25 +01:00
Mathieu Othacehe
9fd4f4b09c
gnu: cuirass: Remove trailing #t.
* gnu/packages/ci.scm (cuirass): Remove them.
2022-01-09 18:04:56 +01:00
Mathieu Othacehe
f76d07f027
gnu: cuirass: Update to 1.1.0-8.d81d994.
* gnu/packages/ci.scm (cuirass): Update to 1.1.0-8.d81d994.
2022-01-09 18:04:03 +01:00
Nicolas Goaziou
4255e2cf17
gnu: bat: Update to 0.19.0.
* gnu/packages/rust-apps.scm (bat): Update to 0.19.0.
2022-01-09 16:53:33 +01:00
Nicolas Goaziou
c642293d74
gnu: rust-clap-2: Update to 2.34.0.
* gnu/packages/crates-io.scm (rust-clap-2): Update to 2.34.0.
2022-01-09 16:53:33 +01:00
Nicolas Goaziou
2569d831c1
gnu: Add rust-console-0.15.
* gnu/packages/crates-io.scm (rust-console-0.15): New variable.
(rust-console-0.14): Inherit from above.
2022-01-09 16:53:33 +01:00
Nicolas Goaziou
4fd2439065
gnu: rust-syntect: Update to 4.6.0.
* gnu/packages/crates-io.scm (rust-syntect): Update to 4.6.0.
2022-01-09 16:53:32 +01:00
Nicolas Goaziou
b5c90d0224
gnu: rust-once-cell-1: Update to 1.9.0.
* gnu/packages/crates-io.scm (rust-once-cell-1): Update to 1.9.0.
2022-01-09 16:53:32 +01:00
Nicolas Goaziou
dfbc4e837b
gnu: Add rust-fancy-regex-0.7.
* gnu/packages/crates-io.scm (rust-fancy-regex-0.7): New variable.
(rust-fancy-regex-0.3): Inherit from above.
2022-01-09 16:53:32 +01:00
Nicolas Goaziou
7b126417a9
gnu: Add rust-assert-cmd-2.
* gnu/packages/crates-io.scm (rust-assert-cmd-2): New variable.
(rust-assert-cmd-1): Inherit from above.
2022-01-09 16:53:32 +01:00