summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-04-09import: go: Append version to symbol name in the pinned version mode....This allows importing packages with complicated version specific dependency chains without the package symbol names colliding. * doc/guix.texi (Invoking guix import): Document the --pin-versions option. Mention that a specific version can be imported. Remove the experimental warning. * guix/import/go.scm (go-module->guix-package-name)[version]: Add optional argument. Rewrite the character translation in terms of string-map. (go-module->guix-package): Conditionally use dependencies whose symbol include their version, based no the value of the PIN-VERSIONS? argument. * guix/import/utils.scm (package->definition): Add a new case where the full version string is appended to the package symbol. * guix/scripts/import.scm (guix-import): Correctly print forms starting with '(define-public [...]'. * guix/scripts/import/go.scm (guix-import-go): Conditionally include the version in the package symbols defined. Maxim Cournoyer
2021-04-09import: go: Add an option to use pinned versions....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. Maxim Cournoyer
2021-04-09import: go: Improve synopsis and description parsing....* 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. Maxim Cournoyer
2021-04-09import: utils: Refactor maybe-inputs and add maybe-propagated-inputs....* 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. Maxim Cournoyer
2021-04-09doc: Quote a URL to avoid misinterpretation by the shell....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. Leo Famulari
2021-04-09gnu: python2-sip: Remove package....* gnu/packages/qt.scm (python2-sip): Delete variable. Brendan Tildesley
2021-04-09gnu: Remove python2-pyqt....* gnu/packages/qt.scm (python2-pyqt): Remove variable. Brendan Tildesley
2021-04-09gnu: Remove python2-pyqtwebengine....* gnu/packages/qt.scm (python2-pyqtwebengine): Remove variable. Brendan Tildesley
2021-04-09gnu: calibre: Update to 5.14.0....* 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. Brendan Tildesley
2021-04-09gnu: python-html5lib: Depend on python-chardet....* gnu/packages/python-web.scm (python-html5lib)[propagated-inputs]: Add python-chardet. Brendan Tildesley
2021-04-09gnu: Add python-cchardet....* gnu/packages/freedesktop.scm (python-cchardet): New variable. Brendan Tildesley
2021-04-09gnu: Add python-pychm....* gnu/packages/ebook.scm (python-pychm): New variable. Brendan Tildesley
2021-04-09gnu: python-feedparser: Update to 6.0.2....* gnu/packages/web.scm (python-feedparser): Update to 6.0.2. Brendan Tildesley
2021-04-09gnu: python-markdown: Update to 3.3.4....* gnu/packages/python-xyz.scm (python-markdown): Update to 3.3.4. Brendan Tildesley
2021-04-09gnu: Add python-py7zr....* gnu/packages/python-compression.scm (python-py7zr): New variable. Brendan Tildesley
2021-04-09gnu: Add python-bcj-cffi....* gnu/packages/python-compression.scm (python-bcj-cffi): New variable. Brendan Tildesley
2021-04-09gnu: Add python-pyzstd...* gnu/packages/python-compression.scm (python-pyzstd): New variable. Brendan Tildesley
2021-04-09gnu: python-zstandard: Update to 0.15.2....* gnu/packages/python-compression.scm (python-zstandard): Update to 0.15.2. Brendan Tildesley
2021-04-09gnu: Add python-ppmd-cffi....* gnu/packages/python-compression.scm (python-ppmd-cffi): New variable. Brendan Tildesley
2021-04-09gnu: Add python-multivolumefile....* gnu/packages/python-compression.scm (python-multivolumefile): New variable. Brendan Tildesley
2021-04-09gnu: Add python-pyannotate....* gnu/packages/python-check.scm (python-pyannotate): New variable. Brendan Tildesley
2021-04-09gnu: Add python-zeroconf....* gnu/packages/python-xyz.scm (python-zeroconf): New variable. Brendan Tildesley
2021-04-09gnu: Add python-ifaddr....* gnu/packages/python-xyz.scm (python-ifaddr): New variable. Brendan Tildesley
2021-04-09gnu: python-pyqt: Fix build for new python-sip....* 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. Brendan Tildesley
2021-04-09gnu: Add python-pyqt5-sip....* gnu/packages/qt.scm (python-pyqt5-sip): New variable. Brendan Tildesley
2021-04-09gnu: Add python-pyqt-builder....* gnu/packages/qt.scm (python-pyqt-builder): New variable. Brendan Tildesley
2021-04-09gnu: python-sip: Update to 5.5.0. Add python-sip-4...* 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. Brendan Tildesley
2021-04-09Revert ".guix-authorizations: Remove biscuolo due to inactivity."...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. Leo Famulari
2021-04-09gnu: freeciv: Update to 2.6.4....* gnu/packages/games.scm (freeciv): Update to 2.6.4. Kei Kebreau
2021-04-09gnu: pidgin: Update to 2.14.3....* gnu/packages/messaging.scm (pidgin): Update to 2.14.3. [arguments]: Add an 'eat-leftovers phase. Tobias Geerinckx-Rice
2021-04-09gnu: stellarium: Update to 0.21.0....* gnu/packages/astronomy.scm (stellarium): Update to 0.21.0. Tobias Geerinckx-Rice
2021-04-09gnu: ruby-rexml: Update to 3.2.5....* gnu/packages/ruby.scm (ruby-rexml): Update to 3.2.5. Tobias Geerinckx-Rice
2021-04-09gnu: libmwaw: Update to 0.3.18....* gnu/packages/libreoffice.scm (libmwaw): Update to 0.3.18. Tobias Geerinckx-Rice
2021-04-09gnu: python-yamllint: Update to 1.26.1....* gnu/packages/python-xyz.scm (python-yamllint): Update to 1.26.1. Tobias Geerinckx-Rice
2021-04-09gnu: guix: Update to 2d73086....* gnu/packages/package-management.scm (guix): Update to 2d73086. Ludovic Courtès
2021-04-09daemon: 'guix substitute' replies on FD 4....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?'. Ludovic Courtès
2021-04-09gnu: Add boost-mpi....* gnu/packages/boost.scm (boost-mpi): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Franck Pérignon
2021-04-09gnu: guile-cv: Use guile2.2 version of guile-lib....* 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> Masaya Tojo
2021-04-09gnu: speedtest-cli: Update to 2.1.3....* gnu/packages/networking.scm (speedtest-cli): Update to 2.1.3. Tobias Geerinckx-Rice
2021-04-09gnu: clamav: Update to 0.103.2....* gnu/packages/antivirus.scm (clamav): Update to 0.103.2. Tobias Geerinckx-Rice
2021-04-09gnu: xsimd: Update to 7.4.10....* gnu/packages/cpp.scm (xsimd): Update to 7.4.10. Tobias Geerinckx-Rice
2021-04-09gnu: dnsmasq: Update to 2.85 [fixes CVE-2021-3448]....* gnu/packages/dns.scm (dnsmasq): Update to 2.85. Tobias Geerinckx-Rice
2021-04-09gnu: Add texlive-cabin....* gnu/packages/tex.scm: New variable. Paul Garlick
2021-04-09gnu: cuirass: Disable tests on aarch64....* gnu/packages/ci.scm (cuirass)[arguments]: Disable tests on aarch64. Mathieu Othacehe
2021-04-09gnu: gcc-10: Update to 10.3.0....* gnu/packages/gcc.scm (gcc-10): Update to 10.3.0. Efraim Flashner
2021-04-09gnu: cuirass: Update to 1.0.0-9.d601fe0....* gnu/packages/ci.scm (cuirass): Update to 1.0.0-9.d601fe0. Mathieu Othacehe
2021-04-09services: Add Laminar....* gnu/services/ci.scm: New file. * gnu/tests/ci.scm: New file. * doc/guix.texi (Laminar): Document the Laminar service. Christopher Baines
2021-04-09gnu: Add laminar....* gnu/packages/ci.scm (laminar): New variable. Christopher Baines
2021-04-09gnu: guix-build-coordinator: Update to 0-24.6fb5eaf....* gnu/packages/package-management.scm (guix-build-coordinator): Update to 0-24.6fb5eaf. Christopher Baines
2021-04-09gnu: guix-data-service: Update to 0.0.1-27.df2a0a7....* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-27.df2a0a7. Christopher Baines