summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-01-10style: '-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. Ludovic Courtès
2022-01-10style: 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. Ludovic Courtès
2022-01-10style: 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. Ludovic Courtès
2022-01-10style: 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. Ludovic Courtès
2022-01-10style: 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. Ludovic Courtès
2022-01-10gnu: julia-simd: Update to 3.4.0....* gnu/packages/julia-xyz.scm (julia-simd): Update to 3.4.0. Efraim Flashner
2022-01-10gnu: Add julia-bioalignments....* gnu/packages/julia-xyz.scm (julia-bioalignments): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-intervaltrees....* gnu/packages/julia-xyz.scm (julia-intervaltrees): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-biosequences....* gnu/packages/julia-xyz.scm (julia-biosequences): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-biosymbols....* gnu/packages/julia-xyz.scm (julia-biosymbols): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-yaml....* gnu/packages/julia-xyz.scm (julia-yaml): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-stringencodings....* gnu/packages/julia-xyz.scm (julia-stringencodings): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-automa....* gnu/packages/julia-xyz.scm (julia-automa): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-scanbyte....* gnu/packages/julia-xyz.scm (julia-scanbyte): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-simd....* gnu/packages/julia-xyz.scm (julia-simd): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-twiddle....* gnu/packages/julia-xyz.scm (julia-twiddle): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-indexablebitvectors....* gnu/packages/julia-xyz.scm (julia-indexablebitvectors): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: Add julia-biogenerics....* gnu/packages/julia-xyz.scm (julia-biogenerics): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10gnu: 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> zimoun
2022-01-10gnu: 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> zimoun
2022-01-10gnu: julia-zygote: Adjust style....* gnu/packages/julia-xyz.scm (julia-zygote)[propagated-inputs]: Remove labels. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10build: 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> zimoun
2022-01-10gnu: julia-xyz.scm: Adjust style....* gnu/packages/julia-xyz.scm: Align all inputs. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> zimoun
2022-01-10import: texlive: Update error message....We aren't downloading anything. * guix/scripts/import/texlive.scm (guix-import-texlive): Update error message. Ricardo Wurmus
2022-01-10import: 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. Ricardo Wurmus
2022-01-10gnu: monero-gui: Update to 0.17.3.1....* gnu/packages/finance.scm (monero-gui): Update to 0.17.3.1. Guillaume Le Vaillant
2022-01-10doc: Fix some typos....* doc/guix.texi (Invoking guix hash): Fix a few typos today. Reported by KarlJoad on #guix, and then we found more. Tobias Geerinckx-Rice
2022-01-10gnu: Add sane-airscan....* gnu/packages/scanner.scm (sane-airscan): New public variable. Tobias Geerinckx-Rice
2022-01-10gnu: stunnel: Remove input labels....* gnu/packages/web.scm (stunnel)[native-inputs, inputs]: Remove input labels. Tobias Geerinckx-Rice
2022-01-10gnu: stunnel: Use G-expressions....* gnu/packages/web.scm (stunnel)[arguments]: Rewrite as G-expressions. Tobias Geerinckx-Rice
2022-01-10gnu: stunnel: Update to 5.61....* gnu/packages/web.scm (stunnel): Update to 5.61. [native-inputs]: Add python. [arguments]: Remove obsolete 'patch-tests phase. Tobias Geerinckx-Rice
2022-01-10gnu: electron-cash: Update to 4.2.6....* gnu/packages/finance.scm (electron-cash): Update to 4.2.6. Tobias Geerinckx-Rice
2022-01-10gnu: libportal: Remove input labels....* gnu/packages/freedesktop.scm (libportal)[native-inputs]: Remove input labels. Tobias Geerinckx-Rice
2022-01-10gnu: 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. Tobias Geerinckx-Rice
2022-01-09gnu: 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> Peter Polidoro
2022-01-09import: 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. Ludovic Courtès
2022-01-09scripts: 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'. Ludovic Courtès
2022-01-09gnu: 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> Lu Hui
2022-01-09machine: 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'. Ludovic Courtès
2022-01-09gnu: Remove leftover patches for Blender 2.79....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. Leo Famulari
2022-01-09gnu: Remove blender-2.79....This package has not built successfully in a while. * gnu/packages/graphics.scm (blender-2.79): Remove variable. Leo Famulari
2022-01-09gnu: 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. Efraim Flashner
2022-01-09gnu: cuirass: Use guile-squee....* gnu/packages/ci.scm (guile-squee-dev): Remove it. (cuirass)[inputs]: Switch to guile-squee. Mathieu Othacehe
2022-01-09gnu: 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. Mathieu Othacehe
2022-01-09gnu: cuirass: Update to 1.1.0-9.95c29ab....* gnu/packages/ci.scm (cuirass): Update to 1.1.0-9.95c29ab. Mathieu Othacehe
2022-01-09gnu: cuirass: Remove trailing #t....* gnu/packages/ci.scm (cuirass): Remove them. Mathieu Othacehe
2022-01-09gnu: cuirass: Update to 1.1.0-8.d81d994....* gnu/packages/ci.scm (cuirass): Update to 1.1.0-8.d81d994. Mathieu Othacehe
2022-01-09gnu: bat: Update to 0.19.0....* gnu/packages/rust-apps.scm (bat): Update to 0.19.0. Nicolas Goaziou
2022-01-09gnu: rust-clap-2: Update to 2.34.0....* gnu/packages/crates-io.scm (rust-clap-2): Update to 2.34.0. Nicolas Goaziou
2022-01-09gnu: Add rust-console-0.15....* gnu/packages/crates-io.scm (rust-console-0.15): New variable. (rust-console-0.14): Inherit from above. Nicolas Goaziou