Commit Graph

47106 Commits

Author SHA1 Message Date
Ludovic Courtès 4496ea74aa
refresh: Use the standard diagnostic procedures.
* guix/scripts/refresh.scm (warn-no-updater): Use 'warning' instead of
'format'.
(update-package): Use 'info' and 'warning' instead of 'format'.
2019-08-17 23:18:11 +02:00
Ludovic Courtès 8d64ef567f
import: gnome: Update for Guile-JSON 3.x.
This is a followup to 81c3dc3224.

* guix/import/gnome.scm (jsonish->upstream-source): Use 'assoc-ref'
instead of 'hash-ref'.
(latest-gnome-release): Match a vector containing an alist, not a hash
table.  Use 'fold' instead of 'hash-fold' over RELEASES.
2019-08-17 23:18:11 +02:00
Arun Isaac d88b811adf
gnu: guile-email: Fix source hash.
* gnu/packages/guile-xyz.scm (guile-email)[source]: Fix hash.
2019-08-17 23:04:14 +05:30
Ludovic Courtès 611a64bd7e
build: 'GUIX_CHECK_GUILE_JSON' really checks for Guile-JSON 3.x.
Until now the 'guile' process would always exit with 0, as long
as Guile-JSON is installed, whether it's version 1 or version 3.

* m4/guix.m4 (GUIX_CHECK_GUILE_JSON): Fix array syntax and remove
catch-all 'match' clause.
2019-08-17 19:26:21 +02:00
Ludovic Courtès 23ab21fa9d
derivations: Fix typo in docstring.
* guix/derivations.scm (derivation-build-plan): Fix typo in the
docstring.
2019-08-17 19:26:10 +02:00
Ludovic Courtès 2eb0628a42
gnu: guix, cuirass: Update to c902458 and 858b6b8 with Guile-JSON 3.x.
* gnu/packages/package-management.scm (guix): Update to c902458.
[inputs]: Switch to GUILE-JSON-3.
(guix-daemon)[inputs]: Switch to GUILE-JSON-3.
* gnu/packages/ci.scm (cuirass): Update to 858b6b8.
[inputs]: Switch to GUILE-JSON-3.
2019-08-17 19:25:48 +02:00
Robert Vollmert c902458863
gnu: Add elm-compiler 0.19.0
This adds the elm compiler, version 0.19.0. This provides the
`elm` command, with the exception of the `elm reactor` subcommand.

Named `elm-compiler`, to leave space for `elm` as the full elm
including reactor.

* gnu/packages/elm.scm: New module.
(elm-compiler): New package.
* gnu/packages/patches/elm-disable-reactor.patch: New patch.
* gnu/packages/patches/elm-fix-map-key.patch: New patch.
* gnu/packages/patches/elm-relax-glsl-bound.patch: New patch.
* gnu/local.mk: Add new files.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-08-17 16:23:06 +02:00
Ludovic Courtès 198f560fcd
gnu: geeqie: Build sequentially.
* gnu/packages/image-viewers.scm (geeqie)[arguments]: Add #:parallel-build?.
2019-08-17 16:23:05 +02:00
Ludovic Courtès 75a6f66815
tests: Move 'guix environment -C --no-cwd' test where it belongs.
This ensures that this test is skipped in contexts where user namespaces
are not supported, instead of failing.

This is a followup to commit b6dc08393e.

* tests/guix-environment.sh: Move '--container --no-cwd' test to...
* tests/guix-environment-container.sh: ... here.
2019-08-17 16:23:05 +02:00
Ludovic Courtès 37592014e1
tests: Relax expectations for the 'home-page' checker.
Fixes a regression introduced in
50fc2384fe.

* tests/lint.scm (warning-contains?): New procedure.
("home-page: host not found"): Use 'warning-contains?' instead of
testing for equality, as was the case before commit 50fc2384fe.
This handles the case where the 'getaddrinfo' error is not "Name or
service not known" but instead something like "System error" or
"Servname not supported for ai_socktype", as is the case in the build
environment.
2019-08-17 16:23:05 +02:00
宋文武 02460db047
machine: ssh: Fix sanity checks.
* gnu/machine/ssh.scm
(machine-check-file-system-availability)[check-labeled-file-system]: Use
'source-module-closure' for '(gnu build file-systems)'.
(machine-check-initrd-modules): Unquote 'file-system-label->string' instead of
'device'.
2019-08-17 20:45:13 +08:00
Rutger Helling 2a63974df9
gnu: wine-staging: Update to 4.14.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.14.
* gnu/packages/wine.scm (wine-staging): Update to 4.14.
* gnu/packages/wine.scm (wine64-staging): Remove obsolete comment.
2019-08-17 10:03:11 +02:00
Giacomo Leidi a830d14d4b
gnu: Add libgit2-glib.
* gnu/packages/gnome.scm (libgit2-glib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Guillaume Le Vaillant 7d30b58808
gnu: gramps: Update to 5.0.2.
* gnu/packages/genealogy.scm (gramps): Update to 5.0.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Guillaume Le Vaillant 66d146639d
gnu: txr: Update to 223.
* gnu/packages/lisp.scm (txr): Update to 223.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Timotej Lazar 3b165f2a40
gnu: wpa-supplicant: install documentation.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename
'install-man-pages' phase to 'install-documentation'; install READMEs
and the example config file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Ludovic Courtès c85ccf60bf
linux-modules: Define and use a module name database.
Fixes <https://bugs.gnu.org/34902>.
Reported by Julien Lepiller <julien@lepiller.eu>.

* gnu/build/linux-modules.scm (module-formal-name): New procedure.
(load-linux-modules-from-directory)[lookup-module]: Remove.
[module-name->file-name]: New variable.  Use it.
(module-name->file-name/guess, module-name-lookup)
(write-module-name-database): New procedures.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Call
'write-module-name-database'.
2019-08-16 23:00:27 +02:00
Ludovic Courtès e1a9a7f275
linux-modules: Add 'load-linux-modules-from-directory'.
* gnu/build/linux-modules.scm (load-linux-modules-from-directory): New
procedure.
* gnu/build/linux-boot.scm (boot-system)[lookup-module]: Remove.
Use 'load-linux-modules-from-directory' instead.
2019-08-16 23:00:27 +02:00
Ludovic Courtès 2a693b69ca
linux-modules: Add "modules.devname" writer.
* gnu/build/linux-modules.scm (aliases->device-tuple)
(write-module-device-database): New procedures.
(%not-dash): New variable.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>.
2019-08-16 23:00:27 +02:00
Danny Milosavljevic 4f8b9d1a6f
linux-modules: Add "modules.alias" writer.
* gnu/build/linux-modules.scm (write-module-alias-database): New
procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Ludovic Courtès 268896444b
derivations: Delete duplicate inputs when computing derivation hash.
Fixes <https://bugs.gnu.org/36777>.
Reported by Carl Dong <contact@carldong.me>.

* guix/derivations.scm (derivation/masked-inputs): Call
'delete-duplicates' on INPUTS.
* tests/derivations.scm ("derivation with duplicate fixed-output inputs"):
New test.
2019-08-16 23:00:26 +02:00
Ludovic Courtès a7c714d398
channels: Add 'profile-channels'.
* guix/channels.scm (profile-channels): New procedure.
* guix/scripts/describe.scm (display-profile-info)[channels]: Define in
terms of 'profile-channels'.
2019-08-16 23:00:26 +02:00
Ricardo Wurmus b65bd33c36
gnu: r-edger: Update to 3.26.7.
* gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.7.
2019-08-16 22:41:27 +02:00
Alva 93b3ef1966
gnu: font-ibm-plex: Update to 2.0.0.
* gnu/packages/fonts.scm (font-ibm-plex): Update to 2.0.0.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-08-16 21:40:00 +02:00
Tobias Geerinckx-Rice f781251bf2
gnu: wcslib: Update to 6.4.
* gnu/packages/astronomy.scm (wcslib): Update to 6.4.
2019-08-16 21:14:44 +02:00
Ricardo Wurmus 5063deab08
import: cran: Support experiment and annotation packages.
* guix/import/cran.scm (%bioconductor-packages-list-url): Replace variable...
(bioconductor-packages-list-url): ...with this procedure.
(bioconductor-packages-list): Accept optional TYPE argument.
(latest-bioconductor-package-version): Same.
(fetch-description): Determine package type and use it in calls to
LATEST-BIOCONDUCTOR-PACKAGE-VERSION and BIOCONDUCTOR-URI.
(description->package): Pass package type to URI helper procedure; include
package type in annotation or experiment packages from Bioconducter.
2019-08-16 15:07:22 +02:00
Ricardo Wurmus c586f427b4
build-system/r: bioconductor-uri: Take optional package type.
* guix/build-system/r.scm (bioconductor-uri): Take optional TYPE argument to
return annotation or experiment URLs.
2019-08-16 15:07:22 +02:00
Jakob L. Kreuze 4cc5e5204b
machine: Use 'become-command'.
* gnu/machine/ssh.scm (managed-host-remote-eval): Pass an appropriate
'become-command' to 'remote-eval'.
* guix/ssh.scm (remote-authorize-signing-key): Add optional
'become-command' argument.
All callers changed.
2019-08-16 08:47:28 -04:00
Jakob L. Kreuze ddef146b89
remote: Resolve missing 'G_'.
* guix/remote.scm: Require (guix i18n).
2019-08-16 08:45:44 -04:00
Mark H Weaver ccff55a25e
gnu: linux-libre: Update to 5.2.9.
* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.9.
(linux-libre-5.2-pristine-source)[hash]: Update hash.
2019-08-16 05:33:54 -04:00
Mark H Weaver 97f40332d4
gnu: linux-libre@4.19: Update to 4.19.67.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.67.
(linux-libre-4.19-pristine-source)[hash]: Update hash.
2019-08-16 05:33:09 -04:00
Mark H Weaver f1d2e4bac0
gnu: linux-libre@4.14: Update to 4.14.139.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.139.
(linux-libre-4.14-pristine-source)[hash]: Update hash.
2019-08-16 05:32:01 -04:00
Jelle Licht 44881cad93
gnu: Add swagger-diff.
* gnu/packages/ruby.scm (swagger-diff): New variable.
2019-08-15 22:00:02 +02:00
Mark H Weaver 9e6256ba0f
bootstrap: guile-static: Disable parallel build.
* gnu/packages/make-bootstrap.scm (%guile-static)[arguments]:
Override #:parallel-build? to be #f.
2019-08-15 14:46:23 -04:00
Mark H Weaver fe507d7a3d
bootstrap: Build bootstrap bash deterministically.
* gnu/packages/patches/bash-4.4-linux-pgrp-pipe.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/make-bootstrap.scm (static-bash-for-bootstrap): New variable.
(%static-inputs): Use 'static-bash-for-bootstrap' instead of 'static-bash'.
2019-08-15 14:46:20 -04:00
Mark H Weaver 6744cef5b0
bootstrap: Build the new reduced binary seed bootstrap on x86.
* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[inputs]: On i686-linux
and x86_64-linux, substitute linux-libre-headers, Mes, and MesCC, in place of
GCC, binutils, and glibc.
2019-08-15 14:46:18 -04:00
Jan Nieuwenhuizen ed050b1cf5
bootstrap: Add mes-minimal-stripped-tarball.
* gnu/packages/make-bootstrap.scm (%mes-minimal, %mes-minimal-stripped,
%mes-bootstrap-tarball): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2019-08-15 14:46:16 -04:00
Jan Nieuwenhuizen fb925c7257
bootstrap: Add mescc-tools-static-stripped-tarball.
* gnu/packages/make-bootstrap.scm (%mescc-tools-static,
%mescc-tools-static-stripped, %mescc-tools-bootstrap-tarball): New variable.

Modified-By: Mark H Weaver <mhw@netris.org>
2019-08-15 14:46:13 -04:00
Jan Nieuwenhuizen 5b8c6abcfc
gnu: Add linux-libre-headers-bootstrap-tarball.
* gnu/packages/make-bootstrap.scm (%linux-libre-headers-stripped): New variable.
(%linux-libre-headers-bootstrap-tarball): New variable.
2019-08-15 14:46:10 -04:00
Jan Nieuwenhuizen 4f3811f6bb
guix: copy-linux-headers: Extract procedure, add headers.
* guix/build/make-bootstrap.scm (copy-linux-headers): New procedure; extract
from make-stripped-libc and add headers for Mes bootstrap.
(make-stripped-libc): Use it.
2019-08-15 14:46:03 -04:00
Jelle Licht 369faa5995
gnu: Add ruby-json-schema.
* gnu/packages/ruby.scm (ruby-json-schema): New variable.
2019-08-15 20:42:10 +02:00
Efraim Flashner d4cf5b018a
gnu: einstein: Use mirror for source download.
* gnu/packages/games.scm (einstein)[source]: Use 'mirror' syntax.
2019-08-15 21:03:19 +03:00
Marius Bakke e3a39ade71
gnu: Remove python2-internetarchive.
This trivial package fails to build and has no reverse dependencies.

* gnu/packages/web.scm (python2-internetarchive): Remove variable.
(python-internetarchive)[properties]: Remove.
2019-08-15 19:40:28 +02:00
Marius Bakke ef8c83bdb9
gnu: python-responses: Update to 0.10.6.
* gnu/packages/python-web.scm (python-responses): Update to 0.10.6.
2019-08-15 19:18:11 +02:00
Ricardo Wurmus a9815a6cf2
gnu: Add r-cistopic.
* gnu/packages/bioconductor.scm (r-cistopic): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus bb88417fb7
gnu: Add r-rcistarget.
* gnu/packages/bioconductor.scm (r-rcistarget): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus 19f1aac0e7
gnu: Add r-lda.
* gnu/packages/cran.scm (r-lda): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus 86d3822862
gnu: Add r-liger.
* gnu/packages/cran.scm (r-liger): New variable.
2019-08-15 17:03:23 +02:00
Ricardo Wurmus 9c3bfea673
gnu: Add r-patchwork.
* gnu/packages/cran.scm (r-patchwork): New variable.
2019-08-15 17:03:23 +02:00
Ricardo Wurmus 6e7553ffe0
gnu: Add r-rann-l1.
* gnu/packages/cran.scm (r-rann-l1): New variable.
2019-08-15 17:03:23 +02:00