summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build-system/channel: Accept a channel or instance as the source.Ludovic Courtès2022-08-09
| | | | | | | | | * guix/build-system/channel.scm (latest-channel-instances*): New variable. (build-channels): New procedure, with code formerly in 'channel-build-system', augmented with clauses for when SOURCE is a channel instance or a channel. * doc/guix.texi (Build Systems): Adjust accordingly.
* build-system: Add 'channel-build-system'.Ludovic Courtès2022-08-09
| | | | | | | | * gnu/ci.scm (channel-build-system, channel-source->package): Remove. * gnu/packages/package-management.scm (channel-source->package): New procedure, moved from (gnu ci). * guix/build-system/channel.scm: New file, with code moved from (gnu ci). * doc/guix.texi (Build Systems): Document it.
* gnu: cddlib: Update to 0.94m.vicvbcun2022-08-09
| | | | | | | | | * gnu/packages/maths.scm (cddlib): Update to 0.94m. [source]: Move to git, following the upstream decision. [native-inputs]: New field. [arguments]: New field to have docdir include the version number. Co-authored-by: Andreas Enge <andreas@enge.fr>
* gnu: wxmaxima: Update to 22.05.0.Andreas Enge2022-08-09
| | | | * gnu/packages/maths.scm (wxmaxima): Update to 22.05.0.
* gnu: maxima: Update to 5.46.0.Andreas Enge2022-08-09
| | | | * gnu/packages/maths.scm (maxima): Update to 5.46.0.
* gnu: Add r-ciara.Ricardo Wurmus2022-08-09
| | | | * gnu/packages/bioconductor.scm (r-ciara): New variable.
* gnu: python-symengine: Update to 0.9.2.Andreas Enge2022-08-08
| | | | * gnu/packages/python-xyz.scm (python-symengine): Update to 0.9.2.
* gnu: symengine: Update to 0.9.0.Andreas Enge2022-08-08
| | | | * gnu/packages/algebra.scm (symengine): Update to 0.9.0.
* gnu: arb: Update to 2.23.0.Andreas Enge2022-08-08
| | | | * gnu/packages/algebra.scm (arb): Update to 2.23.0.
* gnu: flint: Update to 2.9.0.Andreas Enge2022-08-08
| | | | * gnu/packages/algebra.scm (flint): Update to 2.9.0.
* gnu: python-gmpy2: Update to 2.1.2.Andreas Enge2022-08-08
| | | | * gnu/packages/sagemath.scm (python-gmpy2): Update to 2.1.2.
* gnu: ntl: Update to 11.5.1.vicvbcun2022-08-08
| | | | | | * gnu/packages/algebra.scm (ntl): Update to 11.5.1. Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu: eclib: Update to 20220621.vicvbcun2022-08-08
| | | | | | * gnu/packages/algebra.scm (eclib): Update to 20220621. Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu: font-chiron-hei-hk: Update to 2.503.Hilton Chain2022-08-08
| | | | | | * gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.503. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-sarasa-gothic: Update to 0.36.8.Hilton Chain2022-08-08
| | | | | | * gnu/packages/fonts.scm (font-sarasa-gothic): Update to 0.36.8. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-chiron-hei-hk: Inherit from font-chiron-sung-hk.Hilton Chain2022-08-08
| | | | | | | | | * gnu/packages/fonts.scm (font-chiron-hei-hk): Inherit from font-chiron-sung-hk. [build-system, home-page ,license]: Drop fields. [synopsis, description]: Use English. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-chiron-sung-hk: Use English for synopsis.Hilton Chain2022-08-08
| | | | | | * gnu/packages/fonts.scm (font-chiron-sung-hk)[synopsis,description]: Use English. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-lxgw-wenkai-tc: Inherit from font-lxgw-wenkai.Hilton Chain2022-08-08
| | | | | | | | * gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Inherit from font-lxgw-wenkai. [build-system, license]: Removed fields. [synopsis, description]: Use English. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-lxgw-wenkai: Use English for synopsis.Hilton Chain2022-08-08
| | | | | | * gnu/packages/fonts.scm (font-lxgw-wenkai)[synopsis,description]: Use English. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: font-sarasa-gothic: Use English for synopsis.Hilton Chain2022-08-08
| | | | | | * gnu/packages/fonts.scm (font-sarasa-gothic)[synopsis]: Use English. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: unzip: Patch for CVE-2022-0529 and CVE-2022-0530.Efraim Flashner2022-08-08
| | | | | | | * gnu/packages/compression.scm (unzip)[replacement]: New field. (unzip/fixed): New variable. * gnu/packages/patches/unzip-CVE-2022-0529+CVE-2022-0530.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
* gnu: unzip: Mark safe from CVE-2019-13232.Efraim Flashner2022-08-08
| | | | * gnu/packages/compression.scm (unzip)[properties]: New field.
* gnu: guile-parted: Update to 0.0.6.Mathieu Othacehe2022-08-08
| | | | | | | Fix cross-compilation. * gnu/packages/guile-xyz.scm (guile-parted): Update to 0.0.6. [native-inputs]: Add guile-3.0 and guile-bytestructures.
* gnu: Add phyml.Mădălin Ionel Patrașcu2022-08-08
| | | | | | * gnu/packages/bioinformatics.scm (phyml): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
* gnu: Add texlive-cite.Ricardo Wurmus2022-08-08
| | | | * gnu/packages/tex.scm (texlive-cite): New variable.
* read-print: Add 'case' and 'cond' special forms.Ludovic Courtès2022-08-08
| | | | | * guix/read-print.scm (%special-forms): Add 'case' and 'cond'. * tests/read-print.scm: Add tests.
* installer: Add comments and vertical space to the generated config.Ludovic Courtès2022-08-08
| | | | | | | | | | | | * gnu/installer/parted.scm (user-partitions->configuration): Introduce vertical space and a comment. * gnu/installer/services.scm (G_): New macro. (%system-services): Add comment for OpenSSH. (system-services->configuration): Add vertical space and comments. * gnu/installer/user.scm (users->configuration): Add comment. * gnu/installer/steps.scm (format-configuration): Add comment. (configuration->file): Expound leading comment. Pass #:format-comment to 'pretty-print-with-comments/splice'.
* installer: Render the final configuration with (guix read-print).Ludovic Courtès2022-08-08
| | | | | | * gnu/installer.scm (module-to-import?): Return #t for (guix read-print). * gnu/installer/steps.scm (configuration->file): Use 'pretty-print-with-comments/splice' instead of 'for-each' and 'pretty-print'.
* read-print: Support printing multi-line comments.Ludovic Courtès2022-08-08
| | | | | | | | * guix/read-print.scm (%not-newline): New variable. (print-multi-line-comment): New procedure. (pretty-print-with-comments): Use it. * tests/read-print.scm ("pretty-print-with-comments, multi-line comment"): New test.
* news: Add entry for 'guix style -f'.Ludovic Courtès2022-08-08
| | | | * etc/news.scm: Add entry.
* style: Add '--whole-file' option.Ludovic Courtès2022-08-08
| | | | | | | | | * guix/scripts/style.scm (format-whole-file): New procedure. (%options, show-help): Add '--whole-file'. (guix-style): Honor it. * tests/guix-style.sh: New file. * Makefile.am (SH_TESTS): Add it. * doc/guix.texi (Invoking guix style): Document it.
* read-print: 'canonicalize-comment' leaves top-level comments unchanged.Ludovic Courtès2022-08-08
| | | | | | | | | | | This lets users use three leading semicolons, for instance, in top-level comments. * guix/read-print.scm (canonicalize-comment): Add INDENT parameter and honor it. (pretty-print-with-comments): Change default value of #:format-comment. Call FORMAT-COMMENT with INDENT as the second argument. * tests/read-print.scm: Adjust test accordingly.
* read-print: Add code to read and write sequences of expressions/blanks.Ludovic Courtès2022-08-08
| | | | | | | | * guix/read-print.scm (read-with-comments): Add #:blank-line? and honor it. (read-with-comments/sequence, pretty-print-with-comments/splice): New procedures. * tests/read-print.scm (test-pretty-print/sequence): New macro. Add tests using it.
* read-print: Recognize page breaks.Ludovic Courtès2022-08-08
| | | | | | | | | | | | | * guix/read-print.scm (<page-break>, page-break?, page-break) (char-set:whitespace-sans-page-break): New variables. (space?): New procedure. (read-vertical-space): Use it. (read-until-end-of-line): New procedure. (read-with-comments): Add #\page case. (pretty-print-with-comments): Add 'page-break?' case. * tests/read-print.scm ("read-with-comments: top-level page break"): New test. Add round-trip test with page break within an sexp.
* read-print: Read and render vertical space.Ludovic Courtès2022-08-08
| | | | | | | | | | | | | | | | | * guix/read-print.scm (<vertical-space>, vertical-space?) (vertical-space, vertical-space-height): New variables. (combine-vertical-space, canonicalize-vertical-space) (read-vertical-space): New procedures. (read-with-comments): Use it in the #\newline case. (pretty-print-with-comments): Add #:format-vertical-space and honor it. Add case for 'vertical-space?'. * guix/scripts/style.scm (format-package-definition): Pass #:format-vertical-space to 'object->string*'. * tests/read-print.scm ("read-with-comments: list with blank line") ("read-with-comments: list with multiple blank lines") ("read-with-comments: top-level blank lines") ("pretty-print-with-comments, canonicalize-vertical-space"): New tests. Add a couple of additional round-trip tests.
* style: Adjust test to not emit blank lines.Ludovic Courtès2022-08-08
| | | | | | | | | Previously this test would produce a file containing blank lines between inputs. * tests/style.scm ("input labels, modify-inputs and margin comment"): Remove trailing newlines in replacement strings of 'substitute*' expression.
* read-print: Introduce <blank> parent class of <comment>.Ludovic Courtès2022-08-08
| | | | | | | | | * guix/read-print.scm (<blank>, blank?): New record type. (<comment>): Redefine using the record interface. (read-with-comments, pretty-print-with-comments): Change some uses of 'comment?' to 'blank?'. * guix/scripts/style.scm (simplify-inputs)[simplify-expressions]: Use 'blank?' instead of 'comment?'.
* read-print: Expose comment constructor.Ludovic Courtès2022-08-08
| | | | | | | | * guix/read-print.scm (<comment>): Rename constructor to 'string->comment'. (comment): New procedure. (read-with-comments, canonicalize-comment): Use 'string->comment' instead of 'comment'.
* read-print: Add System and Home special forms.Ludovic Courtès2022-08-08
| | | | | * guix/read-print.scm (%special-forms): Add System and Home forms. (%newline-forms): Add 'services'.
* style: Move reader and printer to (guix read-print).Ludovic Courtès2022-08-08
| | | | | | | | | | | | | | * guix/scripts/style.scm (<comment>, read-with-comments) (vhashq, %special-forms, %newline-forms, prefix?) (special-form-lead, newline-form?, escaped-string) (string-width, canonicalize-comment, pretty-print-with-comments) (object->string*): Move to... * guix/read-print.scm: ... here. New file. * guix/scripts/import.scm: Adjust accordingly. * tests/style.scm: Move 'test-pretty-print' and tests to... * tests/read-print.scm: ... here. New file. * Makefile.am (MODULES): Add 'guix/read-print.scm'. (SCM_TESTS): Add 'tests/read-print.scm'.
* gnu: go-gitlab.com-shackra-goimapnotify: Update to 2.3.7.Morgan Smith2022-08-08
| | | | | | * gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify): Update to 2.3.7. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* lint: Add '-e'.Ludovic Courtès2022-08-08
| | | | | | | * guix/scripts/lint.scm (show-help, %options): Add '-e'. (guix-lint): Call 'specification->package' while traversing OPTS. Add case for 'expression pair. Adjust 'for-each' loop to expect packages. * doc/guix.texi (Invoking guix lint): Document it.
* gnu: guile-newt: Update to 0.0.3.Mathieu Othacehe2022-08-08
| | | | | | | Fixes: <https://issues.guix.gnu.org/57037>. * gnu/packages/guile-xyz.scm (guile-newt): Update to 0.0.3. [native-inputs]: Add guile-3.0 that is required when cross-compiling.
* gnu: cool-retro-term: Fix build and runtime errors.宋文武2022-08-08
| | | | | | | | This fixes <https://issues.guix.gnu.org/57049>. * gnu/packages/terminals.scm (cool-retro-term) [inputs]: Add qtquickcontrols-5. [arguments]: Fix 'QML2_IMPORT_PATH'.
* gnu: chatty: Update to 0.6.7.Marius Bakke2022-08-08
| | | | | | | | * gnu/packages/messaging.scm (chatty): Update to 0.6.7. [source]: Fetch git submodules too. [arguments]: Add pre-check phase. [native-inputs]: Add XORG-SERVER-FOR-TESTS. [inputs]: Add GNOME-DESKTOP.
* gnu: postorius: Update to 1.3.6.Marius Bakke2022-08-08
| | | | | * gnu/packages/mail.scm (postorius): Update to 1.3.6. [inputs]: Change from PYTHON-DJANGO-2.2 to PYTHON-DJANGO.
* gnu: python-django@3.2: Update to 3.2.15 [fixes CVE-2022-36359].Marius Bakke2022-08-08
| | | | * gnu/packages/django.scm (python-django-3.2): Update to 3.2.15.
* gnu: python-django: Update to 4.0.7 [fixes CVE-2022-36359].Marius Bakke2022-08-08
| | | | * gnu/packages/django.scm (python-django-4.0): Update to 4.0.7.
* gnu: tiled: Fix build.宋文武2022-08-08
| | | | | | | Fixes <https://issues.guix.gnu.org/57048>. * gnu/packages/game-development.scm (tiled)[arguments]: Use 'search-input-file' to locate 'lrelease'.
* gnu: msmtp: Use G-Expressions.Efraim Flashner2022-08-07
| | | | * gnu/packages/mail.scm (msmtp)[arguments]: Rewrite using G-Expressions.