summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* import: go: Add an option to use pinned versions.Maxim Cournoyer2021-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to pin versions is handy when having to deal to packages that bootstrap themselves through a chain of former versions. Not using pinned versions in these case could introduce dependency cycles. * guix/build-system/go.scm (guix) (%go-version-rx): Rename to... (%go-pseudo-version-rx): ... this. Simplify the regular expression, which in turns makes it more robust. * guix/build-system/go.scm (go-version->git-ref): Adjust following the above rename. (go-pseudo-version?): New predicate. (go-module-latest-version): Rename to ... (go-module-version-string): ... this. Rename goproxy-url argument to just goproxy. Add a VERSION keyword argument, update docstring and adjust to have it used. (go-module-available-versions): New procedure. (%go.mod-require-directive-rx): Document regexp. (parse-go.mod): Harmonize the way dependencies are recorded to a list of lists rather than a list of pairs, as done for other importers. Rewrite to directly pass multiple values rather than a record object. Filter the replaced modules in a functional style. (go-module->guix-package): Add docstring. [version, pin-versions?]: New arguments. Rename the GOPROXY-URL argument to GOPROXY. Adjust to the new returned value of fetch-go.mod, which is a string. Fail when the provided version doesn't exist. Return a list dependencies and their versions when in pinned versions mode, else just the dependencies. (go-module-recursive-import)[version, pin-versions?]: New arguments. Honor the new arguments and guard against network errors. * guix/scripts/import/go.scm (%default-options): Register a default value for the goproxy argument. (show-help): Document that a version can be specified. Remove the --version argument and add a --pin-versions argument. (%options)[version]: Remove option. [pin-versions]: Add option. (guix-import-go): Adjust so the version provided from the module name is honored, along the new pin-versions? argument. * tests/go.scm: Adjust and add new tests.
* import: go: Improve synopsis and description parsing.Maxim Cournoyer2021-04-09
| | | | | | | | | | | | | | | | | | | | | | * guix/import/go.scm (%strict-tokenizer?): Set parameter to #t. (go-path-escape): Redefine to prevent inlining. (http-get*): Replace by ... (http-fetch*): this ... (json-fetch*): New procedure. (go.pkg.dev-info): Use http-fetch*. (go-package-licenses): Rewrite in terms of go.pkg.dev-info. (go-package-description): Likewise. (go-package-synopsis): Likewise. (fetch-go.mod): Use the memoized http-fetch*. (parse-go.mod): Adjust to receive content as a string. (fetch-module-meta-data): Adjust to use http-fetch*. (go-module->guix-package): Adjust to the modified fetch-go.mod return value. [inputs]: Use propagated inputs, which is the most common situations for Go libraries. [description]: Beautify description. [licenses]: Do no check for #f. The result of the license parsing is always a list. * tests/go.scm: Adjust following above changes.
* import: utils: Refactor maybe-inputs and add maybe-propagated-inputs.Maxim Cournoyer2021-04-09
| | | | | | | * guix/import/utils.scm (maybe-inputs)[type]: New argument. Update docstring. The argument is used to derive the input field name to use. (maybe-native-inputs): Adjust to use the above. (maybe-propagated-inputs): New procedure.
* doc: Quote a URL to avoid misinterpretation by the shell.Leo Famulari2021-04-09
| | | | | | | | | Otherwise, the shell tries to perform pattern-matching based on the "?" character. Reported by nij in #guix. * doc/guix.texi (Binary Installation): Add quotes around OPENPGP-SIGNING-KEY-URL.
* gnu: python2-sip: Remove package.Brendan Tildesley2021-04-09
| | | | * gnu/packages/qt.scm (python2-sip): Delete variable.
* gnu: Remove python2-pyqt.Brendan Tildesley2021-04-09
| | | | * gnu/packages/qt.scm (python2-pyqt): Remove variable.
* gnu: Remove python2-pyqtwebengine.Brendan Tildesley2021-04-09
| | | | * gnu/packages/qt.scm (python2-pyqtwebengine): Remove variable.
* gnu: calibre: Update to 5.14.0.Brendan Tildesley2021-04-09
| | | | | | | | | | | | | | | | | | | | * gnu/packages/ebook.scm (calibre): Update to 5.14.0. [source]: Adjust the snippet to preserve some files used by the HTML reader. [native-inputs]: Add python-pyqt-builder. Replace python2-flake8 with python-flake8. [inputs]: Remove chmlib, js-mathjax, python-chardet, and python-sip. Add python-cchardet, python-speechd, python-zeroconf, python-py7zr, python-pychm, python-pycryptodome, libjpeg, and libjxr. Replace all Python 2 dependencies with their Python 3 equivalents. [arguments]: Build with the default Python and adjust custom phases accordingly. Adjust the 'configure' phase to changes in how Calibre uses SIP, and patch lookup paths for libjpeg and libjxr. Rename the 'build-extra' phase to 'install-rapydscript', and run it after the 'install' phase. Adjust it for Calibre 5.14.0. * gnu/packages/patches/calibre-no-updates-dialog.patch, gnu/packages/patches/calibre-remove-test-sqlite.patch, gnu/packages/patches/calibre-remove-test-unrar.patch: Adjust patches for Calibre 5.14.0.
* gnu: python-html5lib: Depend on python-chardet.Brendan Tildesley2021-04-09
| | | | | * gnu/packages/python-web.scm (python-html5lib)[propagated-inputs]: Add python-chardet.
* gnu: Add python-cchardet.Brendan Tildesley2021-04-09
| | | | * gnu/packages/freedesktop.scm (python-cchardet): New variable.
* gnu: Add python-pychm.Brendan Tildesley2021-04-09
| | | | * gnu/packages/ebook.scm (python-pychm): New variable.
* gnu: python-feedparser: Update to 6.0.2.Brendan Tildesley2021-04-09
| | | | * gnu/packages/web.scm (python-feedparser): Update to 6.0.2.
* gnu: python-markdown: Update to 3.3.4.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-xyz.scm (python-markdown): Update to 3.3.4.
* gnu: Add python-py7zr.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-compression.scm (python-py7zr): New variable.
* gnu: Add python-bcj-cffi.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-compression.scm (python-bcj-cffi): New variable.
* gnu: Add python-pyzstdBrendan Tildesley2021-04-09
| | | | * gnu/packages/python-compression.scm (python-pyzstd): New variable.
* gnu: python-zstandard: Update to 0.15.2.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-compression.scm (python-zstandard): Update to 0.15.2.
* gnu: Add python-ppmd-cffi.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-compression.scm (python-ppmd-cffi): New variable.
* gnu: Add python-multivolumefile.Brendan Tildesley2021-04-09
| | | | | * gnu/packages/python-compression.scm (python-multivolumefile): New variable.
* gnu: Add python-pyannotate.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-check.scm (python-pyannotate): New variable.
* gnu: Add python-zeroconf.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-xyz.scm (python-zeroconf): New variable.
* gnu: Add python-ifaddr.Brendan Tildesley2021-04-09
| | | | * gnu/packages/python-xyz.scm (python-ifaddr): New variable.
* gnu: python-pyqt: Fix build for new python-sip.Brendan Tildesley2021-04-09
| | | | | | | | * gnu/packages/qt.scm (python-pyqt) [source]: Remove pyqt-public-sip.patch. [propagated-inputs]: Add python-pyqt5-sip. * gnu/packages/patches/pyqt-public-sip.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
* gnu: Add python-pyqt5-sip.Brendan Tildesley2021-04-09
| | | | * gnu/packages/qt.scm (python-pyqt5-sip): New variable.
* gnu: Add python-pyqt-builder.Brendan Tildesley2021-04-09
| | | | * gnu/packages/qt.scm (python-pyqt-builder): New variable.
* gnu: python-sip: Update to 5.5.0. Add python-sip-4Brendan Tildesley2021-04-09
| | | | | | | | | * gnu/packages/qt.scm (python-sip): Update to 5.5.0. (python-sip-4): New variable. Rename the old python-sip to python-sip-4. (python2-sip): Inherit from python-sip-4. * gnu/packages/maths.scm (veusz)[native-inputs]: Use python-sip-4. * gnu/packages/pdf.scm (python-poppler-qt5): Use python-sip-4. * gnu/packages/geo.scm (qgis)[arguments]: Fix build for python-sip@5.
* Revert ".guix-authorizations: Remove biscuolo due to inactivity."Leo Famulari2021-04-09
| | | | | | | The original commit was made mistakenly; I forgot to look at all of our Git repos, including maintenance.git, when checking for recent activity. This reverts commit 94521669ed23096f930be68efc691ccb793cc76f.
* gnu: freeciv: Update to 2.6.4.Kei Kebreau2021-04-09
| | | | * gnu/packages/games.scm (freeciv): Update to 2.6.4.
* gnu: pidgin: Update to 2.14.3.Tobias Geerinckx-Rice2021-04-09
| | | | | * gnu/packages/messaging.scm (pidgin): Update to 2.14.3. [arguments]: Add an 'eat-leftovers phase.
* gnu: stellarium: Update to 0.21.0.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/astronomy.scm (stellarium): Update to 0.21.0.
* gnu: ruby-rexml: Update to 3.2.5.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/ruby.scm (ruby-rexml): Update to 3.2.5.
* gnu: libmwaw: Update to 0.3.18.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/libreoffice.scm (libmwaw): Update to 0.3.18.
* gnu: python-yamllint: Update to 1.26.1.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/python-xyz.scm (python-yamllint): Update to 1.26.1.
* gnu: guix: Update to 2d73086.Ludovic Courtès2021-04-09
| | | | * gnu/packages/package-management.scm (guix): Update to 2d73086.
* daemon: 'guix substitute' replies on FD 4.Ludovic Courtès2021-04-09
| | | | | | | | | | | | | | | | | | | | | | | This avoids the situation where error messages would unintentionally go to stderr and be wrongfully interpreted as a reply by the daemon. Fixes <https://bugs.gnu.org/46362>. This is a followup to ee3226e9d54891c7e696912245e4904435be191c. * guix/scripts/substitute.scm (display-narinfo-data): Add 'port' parameter and honor it. (process-query): Likewise. (process-substitution): Likewise. (%error-to-file-descriptor-4?, with-redirected-error-port): Remove. (%reply-file-descriptor): New variable. (guix-substitute): Remove use of 'with-redirected-error-port'. Define 'reply-port' and pass it to 'process-query' and 'process-substitution'. * nix/libstore/build.cc (SubstitutionGoal::handleChildOutput): Swap 'builderOut' and 'fromAgent'. * nix/libstore/local-store.cc (LocalStore::getLineFromSubstituter): Likewise. * tests/substitute.scm <top level>: Set '%reply-file-descriptor' rather than '%error-to-file-descriptor-4?'.
* gnu: Add boost-mpi.Franck Pérignon2021-04-09
| | | | | | * gnu/packages/boost.scm (boost-mpi): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: guile-cv: Use guile2.2 version of guile-lib.Masaya Tojo2021-04-09
| | | | | | | * gnu/packages/guile-xyz.scm (guile-cv)[propagated-inputs]: Change from guile-lib to guile2.2-lib. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: speedtest-cli: Update to 2.1.3.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/networking.scm (speedtest-cli): Update to 2.1.3.
* gnu: clamav: Update to 0.103.2.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/antivirus.scm (clamav): Update to 0.103.2.
* gnu: xsimd: Update to 7.4.10.Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/cpp.scm (xsimd): Update to 7.4.10.
* gnu: dnsmasq: Update to 2.85 [fixes CVE-2021-3448].Tobias Geerinckx-Rice2021-04-09
| | | | * gnu/packages/dns.scm (dnsmasq): Update to 2.85.
* gnu: Add texlive-cabin.Paul Garlick2021-04-09
| | | | * gnu/packages/tex.scm: New variable.
* gnu: cuirass: Disable tests on aarch64.Mathieu Othacehe2021-04-09
| | | | * gnu/packages/ci.scm (cuirass)[arguments]: Disable tests on aarch64.
* gnu: gcc-10: Update to 10.3.0.Efraim Flashner2021-04-09
| | | | * gnu/packages/gcc.scm (gcc-10): Update to 10.3.0.
* gnu: cuirass: Update to 1.0.0-9.d601fe0.Mathieu Othacehe2021-04-09
| | | | * gnu/packages/ci.scm (cuirass): Update to 1.0.0-9.d601fe0.
* services: Add Laminar.Christopher Baines2021-04-09
| | | | | | * gnu/services/ci.scm: New file. * gnu/tests/ci.scm: New file. * doc/guix.texi (Laminar): Document the Laminar service.
* gnu: Add laminar.Christopher Baines2021-04-09
| | | | * gnu/packages/ci.scm (laminar): New variable.
* gnu: guix-build-coordinator: Update to 0-24.6fb5eaf.Christopher Baines2021-04-09
| | | | | * gnu/packages/package-management.scm (guix-build-coordinator): Update to 0-24.6fb5eaf.
* gnu: guix-data-service: Update to 0.0.1-27.df2a0a7.Christopher Baines2021-04-09
| | | | * gnu/packages/web.scm (guix-data-service): Update to 0.0.1-27.df2a0a7.
* gnu: guix-build-coordinator: Update to 0-23.44d0006.Christopher Baines2021-04-09
| | | | | | * gnu/packages/package-management.scm (guix-build-coordinator): Update to 0-23.44d0006. [arguments]: Fix missing guile-fibers when not building for the hurd.