summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
* import: hackage: Use SRFI-71 instead of SRFI-11.•••* 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'. Ludovic Courtès2022-03-071-11/+11
* import: hackage: Avoid pointless use of 'compose'.•••* guix/import/hackage.scm (hackage-module->sexp): Unroll pointless calls to 'compose'. (hackage->guix-package): Likewise. Ludovic Courtès2022-03-071-18/+12
* scripts: import: gem: Fix recursive error handling.•••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> zimoun2022-03-071-15/+18
* import: cran: Return multiple values for unknown packages.•••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> zimoun2022-03-071-3/+2
* import: elpa: Return multiple values for unknown packages.•••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> zimoun2022-03-071-5/+2
* import: hackage: Return multiple values for unknown packages.•••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> zimoun2022-03-071-4/+8
* import: pypi: Return multiple values for unknown packages.•••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> zimoun2022-03-071-27/+29
* import: pypi: Gracefully handle missing project home page.•••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. Ludovic Courtès2022-03-071-7/+10
* gnu: Add python-multipart.•••* gnu/packages/python-xyz.scm (python-multipart): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Pierre-Henry Fröhring2022-03-071-0/+27
* gnu: Add gnusim8085.•••* gnu/packages/emulators.scm (gnusim8085): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Bird2022-03-071-0/+37
* derivations: Coalesce inputs that have the same output path.•••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. Ludovic Courtès2022-03-072-10/+54
* gnu: scotch: Explicitly pass "-DINTSIZE" to CMake.•••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. Ludovic Courtès2022-03-071-4/+5
* tests: Adjust to (guix import github) changes.•••This is a followup to a8d3033da61958c53c44dd5db90672bfc4533ef9. * tests/import-github.scm (call-with-releases): Mock 'open-connection-for-uri'. Ludovic Courtès2022-03-071-17/+26
* system: Set kernel name for riscv64-linux.•••* gnu/system.scm (system-linux-image-file-name): Add option for riscv64. Efraim Flashner2022-03-071-1/+2
* gnu: dtc: Use pkg-config-for-target.•••* gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom 'patch-pkg-config phase to use pkg-config-for-target. Efraim Flashner2022-03-071-4/+1
* gnu: dtc: Use different source tarball.•••The xz compressed source failed to unpack on riscv64-linux. * gnu/packages/bootloaders.scm (dtc)[source]: Use gzipped tarball. Efraim Flashner2022-03-071-2/+2
* build-system/meson: Add more cross-compilation targets.•••* guix/build-system/meson.scm (make-machine-alist): Add riscv64-linux option for cpu_family. Add riscv64-linux and powerpc-linux options for endian. Efraim Flashner2022-03-071-0/+4
* gnu: squashfs-tools: Fix cross-compiling.•••* gnu/packages/compression.scm (squashfs-tools)[arguments]: Adjust make-flags to refer to the 'out' output specifically. Efraim Flashner2022-03-071-1/+1
* gnu: libcap: Fix cross-compiling.•••* gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when cross-compiling. Efraim Flashner2022-03-071-3/+3
* gnu: mtd-utils: Fix cross-compiling.•••* gnu/packages/linux.scm (mtd-utils)[arguments]: Only add configure-flag to enable unit-tests when not cross compiling. Efraim Flashner2022-03-071-1/+4
* gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.•••* gnu/packages/image.scm (libjpeg-turbo)[arguments]: When cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR. Efraim Flashner2022-03-071-1/+3
* gnu: libxrender: Fix cross compiling to riscv64-linux.•••* 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. Efraim Flashner2022-03-071-3/+19
* gnu: libopenmpt: Update dependencies.•••* gnu/packages/audio.scm (libopenmpt)[inputs]: Move libvorbis, mpg123, zlib from here ... [propagated-inputs]: ... to here. Add libogg. Efraim Flashner2022-03-071-4/+4
* gnu: icedove: Update to 91.6.2.•••* gnu/packages/gnuzilla.scm (icedove): Update to 91.6.2. Jonathan Brielmaier2022-03-071-4/+4
* gnu: emacs-json-mode: Remove input for old versions.•••* gnu/packages/emacs-xyz.scm (emacs-json-mode)[inputs]: Remove emacs-json-reformat. Jelle Licht2022-03-071-1/+1
* gnu: Add openriichi.•••* gnu/packages/games.scm (openriichi): New variable. Jelle Licht2022-03-071-0/+34
* gnu: Add siege.•••* gnu/packages/web.scm (siege): New variable. Jelle Licht2022-03-071-0/+30
* gnu: icecat: Update to 91.6.1-guix0-preview1 [security fixes].•••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. Mark H Weaver2022-03-071-6/+6
* gnu: linux-libre 4.9: Update to 4.9.304.•••* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.304. (linux-libre-4.9-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre 4.14: Update to 4.14.269.•••* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.269. (linux-libre-4.14-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre 4.19: Update to 4.19.232.•••* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.232. (linux-libre-4.19-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre 5.4: Update to 5.4.182.•••* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.182. (linux-libre-5.4-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre 5.10: Update to 5.10.103.•••* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.103. (linux-libre-5.10-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre: Update to 5.15.26.•••* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.26. (linux-libre-5.15-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: linux-libre 5.16: Update to 5.16.12.•••* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.12. (linux-libre-5.16-pristine-source): Update hash. Leo Famulari2022-03-061-2/+2
* gnu: guile-ssh: Support cross-compilation.•••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. Ludovic Courtès2022-03-071-0/+7
* gnu: Add python-xmldiff.•••* gnu/packages/python-xyz.scm (python-xmldiff): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Алексей Дроздов2022-03-061-0/+19
* gnu: Add jtdx.•••* gnu/packages/radio.scm (jtdx-hamlib): New variable. (jtdx): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sheng Yang2022-03-061-0/+66
* gnu: Add python-stltools.•••* gnu/packages/python-xyz.scm (python-stltools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Evgeny Pisemsky2022-03-061-0/+47
* gnu: gnome-shell-extension-gsconnect: Update to 48•••* gnu/packages/gnome-xyz (gnome-shell-extension-gsconnect): Update to 48 Signed-off-by: Ludovic Courtès <ludo@gnu.org> terramorpha2022-03-061-6/+6
* gnu: cgdb: Reference gdb.•••* 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> Chadwain Holness2022-03-061-1/+17
* import: github: Reuse HTTP connection for the /tags URL fallback.•••* 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'. Ludovic Courtès2022-03-062-12/+19
* http-client: Correctly handle redirects when #:keep-alive? #t.•••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'. Ludovic Courtès2022-03-061-11/+24
* import: github: Gracefully handle rate limit exhaustion.•••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'. Ludovic Courtès2022-03-061-33/+83
* http-client: Add response headers to '&http-get-error'.•••* guix/http-client.scm (&http-get-error)[headers]: New field. (http-fetch): Initialize the 'headers' field. Ludovic Courtès2022-03-061-5/+8
* tests: Add (guix http-client) tests.•••* tests/http-client.scm: New file. * Makefile.am (SCM_TESTS): Add it. * .dir-locals.el (scheme-mode): Add 'with-http-server'. Ludovic Courtès2022-03-063-1/+88
* gnu: emacs-go-mode: Activate tests.•••* gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Activate tests. Nicolas Goaziou2022-03-061-0/+16
* gnu: emacs-go-mode: Update to 1.6.0.•••* gnu/packages/emacs-xyz.scm (emacs-go-mode): Update to 1.6.0. [arguments]: Remove unnecessary phase. Nicolas Goaziou2022-03-061-25/+21
* gnu: Add ncdu2.•••* gnu/packages/ncdu.scm (ncdu2): New variable. Efraim Flashner2022-03-061-1/+41
* gnu: Add go-github-com-xdg-go-scram.•••* gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable. Efraim Flashner2022-03-061-0/+26