Commit Graph

46846 Commits

Author SHA1 Message Date
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
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
Rutger Helling 2cbe7044ea
Revert "gnu: libinput: Update to 1.14.0."
This reverts commit dfdd7380a1.
libinput-minimal causes too many rebuilds.
2019-08-15 16:28:21 +02:00
Rutger Helling dfdd7380a1
gnu: libinput: Update to 1.14.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.14.0.
2019-08-15 16:21:53 +02:00
Ricardo Wurmus 1c4e6aa938
gnu: Add itk-snap.
* gnu/packages/image-processing.scm (itk-snap): New variable.
2019-08-15 14:09:14 +02:00
Ricardo Wurmus 07f36b0c53
gnu: Add insight-toolkit-4.12.
* gnu/packages/image-processing.scm (insight-toolkit-4.12): New variable.
2019-08-15 14:09:14 +02:00
Ricardo Wurmus 8f4d457d93
gnu: Add insight-toolkit-4.
* gnu/packages/image-processing.scm (insight-toolkit-4): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus d7701e1b94
gnu: Add insight-toolkit.
* gnu/packages/image-processing.scm (insight-toolkit): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 4243af4e57
gnu: Add vxl-1.
* gnu/packages/image-processing.scm (vxl-1): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 02e1acfb2a
gnu: Add vxl.
* gnu/packages/image-processing.scm (vxl): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 18696f7acf
gnu: Add vtk-6.
* gnu/packages/image-processing.scm (vtk-6): New variable.
2019-08-15 14:08:59 +02:00
Jakob L. Kreuze 5f32531770
remote: Use (%daemon-socket-uri) rather than hard-coded path.
* guix/remote.scm (remote-eval): Use (%daemon-socket-uri) as the default
value of 'socket-name' rather than hard-coded path.
2019-08-15 07:43:21 -04:00