summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* news: Add news entry about 'guix style'.Ludovic Courtès2022-01-10
| | | | * etc/news.scm: Add entry.
* style: '-S format' canonicalizes comments.Ludovic Courtès2022-01-10
| | | | | | | | | | * 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.
* style: Add '--styling' option.Ludovic Courtès2022-01-10
| | | | | | | | | | | | | | | | | | | * 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.
* style: Add support for "newline forms".Ludovic Courtès2022-01-10
| | | | | | | | | | 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.
* style: Allow special forms to be scoped.Ludovic Courtès2022-01-10
| | | | | | | | | | | | * 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.
* style: Improve pretty printer and add tests.Ludovic Courtès2022-01-10
| | | | | | | | | | * 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.
* gnu: julia-simd: Update to 3.4.0.Efraim Flashner2022-01-10
| | | | * gnu/packages/julia-xyz.scm (julia-simd): Update to 3.4.0.
* gnu: Add julia-bioalignments.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-bioalignments): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-intervaltrees.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-intervaltrees): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biosequences.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biosequences): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biosymbols.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biosymbols): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-yaml.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-yaml): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-stringencodings.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-stringencodings): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-automa.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-automa): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-scanbyte.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-scanbyte): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-simd.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-simd): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-twiddle.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-twiddle): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-indexablebitvectors.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: Add julia-biogenerics.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-biogenerics): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: julia-documenter: Adjust style.zimoun2022-01-10
| | | | | | | | | * 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>
* gnu: julia-documentertools: Adjust style.zimoun2022-01-10
| | | | | | | * gnu/packages/julia-xyz.scm (julia-documentertools)[inputs]: Remove label. [propagated-inputs]: Adjust. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: julia-zygote: Adjust style.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm (julia-zygote)[propagated-inputs]: Remove labels. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* build: julia-build-system: Create 'Project.toml' file when missing.zimoun2022-01-10
| | | | | | | | | * 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>
* gnu: julia-xyz.scm: Adjust style.zimoun2022-01-10
| | | | | | * gnu/packages/julia-xyz.scm: Align all inputs. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* import: texlive: Update error message.Ricardo Wurmus2022-01-10
| | | | | | We aren't downloading anything. * guix/scripts/import/texlive.scm (guix-import-texlive): Update error message.
* import: texlive: Remove more specific entries with the same prefix.Ricardo Wurmus2022-01-10
| | | | | | * 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.
* gnu: monero-gui: Update to 0.17.3.1.Guillaume Le Vaillant2022-01-10
| | | | * gnu/packages/finance.scm (monero-gui): Update to 0.17.3.1.
* doc: Fix some typos.Tobias Geerinckx-Rice2022-01-10
| | | | | | * doc/guix.texi (Invoking guix hash): Fix a few typos today. Reported by KarlJoad on #guix, and then we found more.
* gnu: Add sane-airscan.Tobias Geerinckx-Rice2022-01-10
| | | | * gnu/packages/scanner.scm (sane-airscan): New public variable.
* gnu: stunnel: Remove input labels.Tobias Geerinckx-Rice2022-01-10
| | | | | * gnu/packages/web.scm (stunnel)[native-inputs, inputs]: Remove input labels.
* gnu: stunnel: Use G-expressions.Tobias Geerinckx-Rice2022-01-10
| | | | | * gnu/packages/web.scm (stunnel)[arguments]: Rewrite as G-expressions.
* gnu: stunnel: Update to 5.61.Tobias Geerinckx-Rice2022-01-10
| | | | | | * gnu/packages/web.scm (stunnel): Update to 5.61. [native-inputs]: Add python. [arguments]: Remove obsolete 'patch-tests phase.
* gnu: electron-cash: Update to 4.2.6.Tobias Geerinckx-Rice2022-01-10
| | | | * gnu/packages/finance.scm (electron-cash): Update to 4.2.6.
* gnu: libportal: Remove input labels.Tobias Geerinckx-Rice2022-01-10
| | | | | * gnu/packages/freedesktop.scm (libportal)[native-inputs]: Remove input labels.
* gnu: libportal: Update to 0.5.Tobias Geerinckx-Rice2022-01-10
| | | | | | | | | * 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.
* gnu: kicad: Update to 5.1.12.Peter Polidoro2022-01-09
| | | | | | * gnu/packages/engineering.scm (kicad): Update to 5.1.12. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: go: Correctly report diagnostics upon version mismatch.Ludovic Courtès2022-01-09
| | | | | | | * 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.
* scripts: import: go: Wrap body in 'with-error-handling'.Ludovic Courtès2022-01-09
| | | | | | | | 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'.
* gnu: Add go-github-com-dreamacro-go-shadowsocks2Lu Hui2022-01-09
| | | | | | * gnu/packages/golang.scm (go-github-com-dreamacro-go-shadowsocks2): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* machine: ssh: Open a single SSH session per machine.Ludovic Courtès2022-01-09
| | | | | | | | | | | | | | | 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'.
* gnu: Remove leftover patches for Blender 2.79.Leo Famulari2022-01-09
| | | | | | | | | | | | This is a followup to commit 23da063ea3bb6a579f0fb87d2e5e00fed9962775. * 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.
* gnu: Remove blender-2.79.Leo Famulari2022-01-09
| | | | | | This package has not built successfully in a while. * gnu/packages/graphics.scm (blender-2.79): Remove variable.
* gnu: go-github-com-stretchr-testify: Update to 1.7.0.Efraim Flashner2022-01-09
| | | | | | | | | * 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.
* gnu: cuirass: Use guile-squee.Mathieu Othacehe2022-01-09
| | | | | * gnu/packages/ci.scm (guile-squee-dev): Remove it. (cuirass)[inputs]: Switch to guile-squee.
* gnu: guile-squee: Update to 0-3.a151fd0.Mathieu Othacehe2022-01-09
| | | | | * gnu/packages/guile-xyz.scm (guile-squee): Update to 0-3.a151fd0. [arguments]: Use search-input-file and remove a trailing #t.
* gnu: cuirass: Update to 1.1.0-9.95c29ab.Mathieu Othacehe2022-01-09
| | | | * gnu/packages/ci.scm (cuirass): Update to 1.1.0-9.95c29ab.
* gnu: cuirass: Remove trailing #t.Mathieu Othacehe2022-01-09
| | | | * gnu/packages/ci.scm (cuirass): Remove them.
* gnu: cuirass: Update to 1.1.0-8.d81d994.Mathieu Othacehe2022-01-09
| | | | * gnu/packages/ci.scm (cuirass): Update to 1.1.0-8.d81d994.
* gnu: bat: Update to 0.19.0.Nicolas Goaziou2022-01-09
| | | | * gnu/packages/rust-apps.scm (bat): Update to 0.19.0.
* gnu: rust-clap-2: Update to 2.34.0.Nicolas Goaziou2022-01-09
| | | | * gnu/packages/crates-io.scm (rust-clap-2): Update to 2.34.0.