summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* import: hackage: Use SRFI-71 instead of SRFI-11.Ludovic Courtès2022-03-07
| | | | | | | * guix/import/hackage.scm (read-cabal-and-hash) (hackage-fetch-and-hash, hackage-fetch) (hackage->guix-package): Use 'let' and 'let*' instead of 'let-values' and 'let*-values'.
* import: hackage: Avoid pointless use of 'compose'.Ludovic Courtès2022-03-07
| | | | | | * guix/import/hackage.scm (hackage-module->sexp): Unroll pointless calls to 'compose'. (hackage->guix-package): Likewise.
* scripts: import: gem: Fix recursive error handling.zimoun2022-03-07
| | | | | | | | Partly fixes <https://bugs.gnu.org/44115>. * guix/scripts/import/gem.scm (guix-import-gem): Handle error. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: cran: Return multiple values for unknown packages.zimoun2022-03-07
| | | | | | | | Partly fixes <https://bugs.gnu.org/44115>. * guix/import/pypi.scm (cran->guix-package): Return 'values'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: elpa: Return multiple values for unknown packages.zimoun2022-03-07
| | | | | | | | Partly fixes <https://bugs.gnu.org/44115>. * guix/import/elpa.scm (elpa->guix-package): Return values. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: hackage: Return multiple values for unknown packages.zimoun2022-03-07
| | | | | | | | Partly fixes <https://bugs.gnu.org/44115>. * guix/import/hackage.scm (hackage->guix-package): Return 'values'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: pypi: Return multiple values for unknown packages.zimoun2022-03-07
| | | | | | | | | Partly fixes <https://bugs.gnu.org/44115>. * guix/import/pypi.scm (pypi->guix-package): Return two values when PROJECT is false. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* import: pypi: Gracefully handle missing project home page.Ludovic Courtès2022-03-07
| | | | | | | | | Fixes <https://issues.guix.gnu.org/54259>. Reported by Ricardo Wurmus <rekado@elephly.net>. * guix/import/pypi.scm (pypi->guix-package): Upon 'missing-source-error?', raise '&fix-hint' only if 'project-info-home-page' returns a non-empty string.
* gnu: Add python-multipart.Pierre-Henry Fröhring2022-03-07
| | | | | | * gnu/packages/python-xyz.scm (python-multipart): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add gnusim8085.Bird2022-03-07
| | | | | | * gnu/packages/emulators.scm (gnusim8085): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* derivations: Coalesce inputs that have the same output path.Ludovic Courtès2022-03-07
| | | | | | | | | | Fixes <https://issues.guix.gnu.org/54209>. * guix/derivations.scm (coalesce-duplicate-inputs): Use the output paths of DRV as a hash table key. * tests/derivations.scm ("derivation with duplicate fixed-output inputs"): Expect a single input for FINAL. ("derivation with equivalent fixed-output inputs"): New test.
* gnu: scotch: Explicitly pass "-DINTSIZE" to CMake.Ludovic Courtès2022-03-07
| | | | | | | | | | | Previously, the 'scotch' and 'pt-scotch' packages would use the default int size, which turned out to be 32 on x86_64-linux instead of 64 as it used to be in Scotch 6.x. * gnu/packages/maths.scm (scotch)[arguments]: Add "-DINTSIZE" to #:configure-flags. (scotch32)[arguments]: Likewise. (pt-scotch)[arguments]: Likewise. (pt-scotch32)[arguments]: Likewise.
* tests: Adjust to (guix import github) changes.Ludovic Courtès2022-03-07
| | | | | | | This is a followup to a8d3033da61958c53c44dd5db90672bfc4533ef9. * tests/import-github.scm (call-with-releases): Mock 'open-connection-for-uri'.
* system: Set kernel name for riscv64-linux.Efraim Flashner2022-03-07
| | | | * gnu/system.scm (system-linux-image-file-name): Add option for riscv64.
* gnu: dtc: Use pkg-config-for-target.Efraim Flashner2022-03-07
| | | | | * gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom 'patch-pkg-config phase to use pkg-config-for-target.
* gnu: dtc: Use different source tarball.Efraim Flashner2022-03-07
| | | | | | The xz compressed source failed to unpack on riscv64-linux. * gnu/packages/bootloaders.scm (dtc)[source]: Use gzipped tarball.
* build-system/meson: Add more cross-compilation targets.Efraim Flashner2022-03-07
| | | | | | * guix/build-system/meson.scm (make-machine-alist): Add riscv64-linux option for cpu_family. Add riscv64-linux and powerpc-linux options for endian.
* gnu: squashfs-tools: Fix cross-compiling.Efraim Flashner2022-03-07
| | | | | * gnu/packages/compression.scm (squashfs-tools)[arguments]: Adjust make-flags to refer to the 'out' output specifically.
* gnu: libcap: Fix cross-compiling.Efraim Flashner2022-03-07
| | | | | * gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when cross-compiling.
* gnu: mtd-utils: Fix cross-compiling.Efraim Flashner2022-03-07
| | | | | * gnu/packages/linux.scm (mtd-utils)[arguments]: Only add configure-flag to enable unit-tests when not cross compiling.
* gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.Efraim Flashner2022-03-07
| | | | | * gnu/packages/image.scm (libjpeg-turbo)[arguments]: When cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR.
* gnu: libxrender: Fix cross compiling to riscv64-linux.Efraim Flashner2022-03-07
| | | | | | * gnu/packages/xorg.scm (libxrender)[arguments]: When cross compiling to riscv64-linux replace config.sub and config.guess with newer versions. [native-inputs]: When cross compiling to riscv64-linux add config.
* gnu: libopenmpt: Update dependencies.Efraim Flashner2022-03-07
| | | | | | * gnu/packages/audio.scm (libopenmpt)[inputs]: Move libvorbis, mpg123, zlib from here ... [propagated-inputs]: ... to here. Add libogg.
* gnu: icedove: Update to 91.6.2.Jonathan Brielmaier2022-03-07
| | | | * gnu/packages/gnuzilla.scm (icedove): Update to 91.6.2.
* gnu: emacs-json-mode: Remove input for old versions.base-for-series-11554Jelle Licht2022-03-07
| | | | | * gnu/packages/emacs-xyz.scm (emacs-json-mode)[inputs]: Remove emacs-json-reformat.
* gnu: Add openriichi.Jelle Licht2022-03-07
| | | | * gnu/packages/games.scm (openriichi): New variable.
* gnu: Add siege.Jelle Licht2022-03-07
| | | | * gnu/packages/web.scm (siege): New variable.
* gnu: icecat: Update to 91.6.1-guix0-preview1 [security fixes].Mark H Weaver2022-03-07
| | | | | | | Includes fixes for CVE-2022-26485 and CVE-2022-26486. * gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update. (icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu: linux-libre 4.9: Update to 4.9.304.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.304. (linux-libre-4.9-pristine-source): Update hash.
* gnu: linux-libre 4.14: Update to 4.14.269.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.269. (linux-libre-4.14-pristine-source): Update hash.
* gnu: linux-libre 4.19: Update to 4.19.232.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.232. (linux-libre-4.19-pristine-source): Update hash.
* gnu: linux-libre 5.4: Update to 5.4.182.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.182. (linux-libre-5.4-pristine-source): Update hash.
* gnu: linux-libre 5.10: Update to 5.10.103.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.103. (linux-libre-5.10-pristine-source): Update hash.
* gnu: linux-libre: Update to 5.15.26.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.26. (linux-libre-5.15-pristine-source): Update hash.
* gnu: linux-libre 5.16: Update to 5.16.12.Leo Famulari2022-03-06
| | | | | * gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.12. (linux-libre-5.16-pristine-source): Update hash.
* gnu: guile-ssh: Support cross-compilation.Ludovic Courtès2022-03-07
| | | | | | | | | | Cross-compilation broke with the update to 0.15.1 in eabc6af9b8b14bd629544e54bc9c9afa2d0dcd85. 'guile-snarf' would invoke cpp instead of TRIPLET-cpp, which would thus fail to find libssh headers. * gnu/packages/ssh.scm (guile-ssh)[arguments]: Add 'support-cross-compilation' phase.
* gnu: Add python-xmldiff.Алексей Дроздов2022-03-06
| | | | | | * gnu/packages/python-xyz.scm (python-xmldiff): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add jtdx.Sheng Yang2022-03-06
| | | | | | | * gnu/packages/radio.scm (jtdx-hamlib): New variable. (jtdx): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add python-stltools.Evgeny Pisemsky2022-03-06
| | | | | | * gnu/packages/python-xyz.scm (python-stltools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gnome-shell-extension-gsconnect: Update to 48terramorpha2022-03-06
| | | | | | * gnu/packages/gnome-xyz (gnome-shell-extension-gsconnect): Update to 48 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: cgdb: Reference gdb.Chadwain Holness2022-03-06
| | | | | | | | * gnu/packages/debug.scm (cgdb)[inputs]: Add gdb, bash-minimal [arguments]: Add phase to fix hardcoded gdb and sh paths Add configure flags for cross-compilation Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* import: github: Reuse HTTP connection for the /tags URL fallback.Ludovic Courtès2022-03-06
| | | | | | | * guix/import/github.scm (fetch-releases-or-tags): Call 'open-connection-for-uri' and reuse the same connection for the two 'http-fetch' calls. * .dir-locals.el (scheme-mode): Add 'call-with-port'.
* http-client: Correctly handle redirects when #:keep-alive? #t.Ludovic Courtès2022-03-06
| | | | | | | | | Previously PORT would be closed unconditionally, which broke redirects when #:keep-alive? #t is given. * guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'. Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume RESP's body. Add second argument to 'loop'.
* import: github: Gracefully handle rate limit exhaustion.Ludovic Courtès2022-03-06
| | | | | | | | | | | | | | | | | | | | Previously, 'guix refresh' would literally crash when the rate limit was reached due to the call to 'error'. With this change, the updater notices when the rate limit is reached and it turns itself into a no-op until the rate limit has been reset. When running "guix refresh" (with no arguments), the 'github' updater gets used until the rate limit has been reached, after which "guix refresh" automatically picks up the next valid updater, typically 'generic-git'. * guix/import/github.scm (fetch-releases-or-tags): Use 'http-fetch' directly instead of 'json-fetch' to let 'http-get-error?' exceptions through. Handle 403 errors with an 'X-RateLimit-Remaining' header. (%rate-limit-reset-time): New variable. (update-rate-limit-reset-time!, request-rate-limit-reached?): New procedures. (latest-released-version): Remove calls to 'error'.
* http-client: Add response headers to '&http-get-error'.Ludovic Courtès2022-03-06
| | | | | * guix/http-client.scm (&http-get-error)[headers]: New field. (http-fetch): Initialize the 'headers' field.
* tests: Add (guix http-client) tests.Ludovic Courtès2022-03-06
| | | | | | * tests/http-client.scm: New file. * Makefile.am (SCM_TESTS): Add it. * .dir-locals.el (scheme-mode): Add 'with-http-server'.
* gnu: emacs-go-mode: Activate tests.Nicolas Goaziou2022-03-06
| | | | * gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Activate tests.
* gnu: emacs-go-mode: Update to 1.6.0.Nicolas Goaziou2022-03-06
| | | | | * gnu/packages/emacs-xyz.scm (emacs-go-mode): Update to 1.6.0. [arguments]: Remove unnecessary phase.
* gnu: Add ncdu2.base-for-series-11548Efraim Flashner2022-03-06
| | | | * gnu/packages/ncdu.scm (ncdu2): New variable.
* gnu: Add go-github-com-xdg-go-scram.Efraim Flashner2022-03-06
| | | | * gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable.