jackhill/guix/guix.git
5 years agognu: Add r-shades.
Ricardo Wurmus [Wed, 9 Jan 2019 13:40:31 +0000 (14:40 +0100)]
gnu: Add r-shades.

* gnu/packages/cran.scm (r-shades): New variable.

5 years agognu: Add r-rnifti.
Ricardo Wurmus [Wed, 9 Jan 2019 13:39:14 +0000 (14:39 +0100)]
gnu: Add r-rnifti.

* gnu/packages/cran.scm (r-rnifti): New variable.

5 years agognu: Add r-tfmpvalue.
Ricardo Wurmus [Wed, 9 Jan 2019 13:37:36 +0000 (14:37 +0100)]
gnu: Add r-tfmpvalue.

* gnu/packages/cran.scm (r-tfmpvalue): New variable.

5 years agognu: Add r-splitstackshape.
Ricardo Wurmus [Wed, 9 Jan 2019 13:23:50 +0000 (14:23 +0100)]
gnu: Add r-splitstackshape.

* gnu/packages/cran.scm (r-splitstackshape): New variable.

5 years agognu: Add r-lassopv.
Ricardo Wurmus [Wed, 9 Jan 2019 13:20:01 +0000 (14:20 +0100)]
gnu: Add r-lassopv.

* gnu/packages/cran.scm (r-lassopv): New variable.

5 years agognu: Add r-flare.
Ricardo Wurmus [Wed, 9 Jan 2019 13:12:39 +0000 (14:12 +0100)]
gnu: Add r-flare.

* gnu/packages/cran.scm (r-flare): New variable.

5 years agognu: Add r-vbsr.
Ricardo Wurmus [Wed, 9 Jan 2019 13:11:32 +0000 (14:11 +0100)]
gnu: Add r-vbsr.

* gnu/packages/cran.scm (r-vbsr): New variable.

5 years agognu: Add r-rpostgresql.
Ricardo Wurmus [Wed, 9 Jan 2019 13:03:03 +0000 (14:03 +0100)]
gnu: Add r-rpostgresql.

* gnu/packages/cran.scm (r-rpostgresql): New variable.

5 years agognu: Add r-rspectra.
Ricardo Wurmus [Wed, 9 Jan 2019 12:32:05 +0000 (13:32 +0100)]
gnu: Add r-rspectra.

* gnu/packages/cran.scm (r-rspectra): New variable.

5 years agobuild-system/asdf: 'package-with-build-system' accesses inputs lazily.
Ludovic Courtès [Wed, 9 Jan 2019 14:01:40 +0000 (15:01 +0100)]
build-system/asdf: 'package-with-build-system' accesses inputs lazily.

Fixes a bug whereby we would, at the top-level (while evaluation
lisp.scm package definitions), attempt to access package inputs.
Because of circular dependencies, this could lead to unbound variables
as reported by Arun Isaac <arunisaac@systemreboot.net> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33801#56>.

* guix/build-system/asdf.scm (package-with-build-system)[transform]
(new-propagated-inputs): Turn into a procedure.
Adjust user accordingly.

5 years agoself: Drop support for Guix < 0.15 on Guile 2.0.
Ludovic Courtès [Mon, 7 Jan 2019 10:38:53 +0000 (11:38 +0100)]
self: Drop support for Guix < 0.15 on Guile 2.0.

* guix/self.scm (false-if-wrong-guile, package-for-guile): Remove.
(specification->package): Remove "guile2.0-" variants.
(compiled-guix): #:guile-for-build defaults to (default-guile).
Use 'specification->package' instead of 'package-for-guile'.
(guile-for-build): Remove.
(guix-derivation): Use 'default-guile' instead of 'guile-for-build'.
Check whether we're running on Guile 2.0 with PULL-VERSION < 1.

5 years agoRemove most uses of the _IO*F constants.
Ludovic Courtès [Mon, 7 Jan 2019 09:57:18 +0000 (10:57 +0100)]
Remove most uses of the _IO*F constants.

These constants, for use with 'setvbuf', were deprecated in Guile 2.2
and disappeared in Guile 3.0.  Here we keep these constants in
build-side code where removing them is not feasible.

* guix/build/download-nar.scm (download-nar): Adjust 'setvbuf' calls to
the Guile 2.2+ API.
* guix/build/download.scm (open-socket-for-uri): Likewise.
(open-connection-for-uri, url-fetch): Likewise.
* guix/build/make-bootstrap.scm (make-stripped-libc): Likewise.
* guix/build/union.scm (setvbuf) [guile-2.0]: New conditional wrapper.
(union-build): Adjust to new API.
* guix/ftp-client.scm (ftp-open, ftp-list, ftp-retr): Likewise.
* guix/http-client.scm (http-fetch): Likewise.
* guix/inferior.scm (proxy): Likewise.
* guix/scripts/substitute.scm (fetch, http-multiple-get): Likewise.
* guix/self.scm (compiled-modules): Likewise.
* guix/ssh.scm (remote-daemon-channel, store-import-channel)
(store-export-channel): Likewise.
* guix/ui.scm (initialize-guix): Likewise.
* tests/publish.scm (http-get-port): Likewise.
* guix/store.scm (%newlines): Adjust comment.

5 years agodownload: Remove Guile 2.0 workaround.
Ludovic Courtès [Mon, 7 Jan 2019 09:42:26 +0000 (10:42 +0100)]
download: Remove Guile 2.0 workaround.

* guix/build/download.scm: Remove Guile 2.0 workaround.

5 years agomaint: Remove 'cond-expand' forms for Guile 2.0.
Ludovic Courtès [Sun, 6 Jan 2019 21:02:40 +0000 (22:02 +0100)]
maint: Remove 'cond-expand' forms for Guile 2.0.

Note: Leave 'cond-expand' forms used in the build-side modules that can
run on %BOOTSTRAP-GUILE, which is currently Guile 2.0.

* guix/build/compile.scm: Move 'use-modules' clause from 'cond-expand'
to 'define-module' form.
(%default-optimizations): Remove 'cond-expand'.
* guix/build/download.scm (tls-wrap): Remove 'cond-expand'.
* guix/build/syscalls.scm: Remove 'cond-expand' form around
'%set-automatic-finalization-enabled?!' and
'without-automatic-finalization'.
* guix/inferior.scm (port->inferior): Remove 'cond-expand'.
* guix/scripts/pack.scm (wrapped-package)[build]: Remove 'cond-expand'.
* guix/status.scm (build-event-output-port): Remove 'cond-expand'.
* guix/store.scm (open-inet-socket): Remove 'cond-expand'.
* guix/ui.scm (install-locale): Remove 'cond-expand'.
* tests/status.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.

5 years agobuild: Require Guile 2.2.
Ludovic Courtès [Sun, 6 Jan 2019 20:54:08 +0000 (21:54 +0100)]
build: Require Guile 2.2.

* configure.ac: Require Guile 2.2.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
* gnu/packages/package-management.scm (guile2.0-guix): Deprecate.
(guix-minimal): Inherit from GUIX, not from GUILE2.0-GUIX.

5 years agodoc: Recommend using the installer script.
Ricardo Wurmus [Tue, 8 Jan 2019 17:47:38 +0000 (18:47 +0100)]
doc: Recommend using the installer script.

* doc/guix.texi (Installation): Make it clear that the installer script is the
recommended, easy way to install Guix.

5 years agopull: Document '--system'.
Ludovic Courtès [Tue, 8 Jan 2019 17:17:22 +0000 (18:17 +0100)]
pull: Document '--system'.

Fixes <https://bugs.gnu.org/34010>.
Reported by Alex Kost <alezost@gmail.com>.

This is a followup to 5923102f7b58f0a0120926ec5b81ed48b26a188e.

* guix/scripts/pull.scm (show-help): Add '--system'.

5 years agoself: Compress Info files.
Ludovic Courtès [Tue, 8 Jan 2019 17:07:16 +0000 (18:07 +0100)]
self: Compress Info files.

Fixes <https://bugs.gnu.org/33993>.
Reported by Adonay Felipe Nogueira <adfeno@hyperbola.info>.

* guix/self.scm (info-manual): Compress Info files.

5 years agobuild-self: Spin only on TTYs.
Ludovic Courtès [Tue, 8 Jan 2019 12:31:54 +0000 (13:31 +0100)]
build-self: Spin only on TTYs.

* build-aux/build-self.scm (build-program): Spin only when 'isatty?'
returns true.

5 years agognu: dvdisaster: Run regression tests.
Eric Bavier [Mon, 7 Jan 2019 23:27:59 +0000 (17:27 -0600)]
gnu: dvdisaster: Run regression tests.

* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument.
Add 'check' phase.

5 years agognu: dvdisaster: Install desktop file.
Eric Bavier [Sun, 6 Jan 2019 20:09:45 +0000 (14:09 -0600)]
gnu: dvdisaster: Install desktop file.

* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add 'install-desktop phase.

5 years agognu: prosody: Update to 0.11.1.
Clément Lassieur [Tue, 8 Jan 2019 12:49:39 +0000 (13:49 +0100)]
gnu: prosody: Update to 0.11.1.

* gnu/packages/messaging.scm (prosody): Update to 0.11.1.
[arguments]: Replace "Makefile" with "GNUmakefile".  Change "5.1" to "5.2".
Explain why there are no tests.
[inputs]: Replace lua-5.1, lua5.1-bitop, lua5.1-expat, lua5.1-socket,
lua5.1-filesystem, lua5.1-sec with lua-5.2, lua5.2-bitop, lua5.2-expat,
lua5.2-socket, lua5.2-filesystem, lua5.2-sec.

5 years agognu: Add lua5.2-sec.
Clément Lassieur [Tue, 8 Jan 2019 12:49:34 +0000 (13:49 +0100)]
gnu: Add lua5.2-sec.

* gnu/packages/lua.scm (lua5.2-sec): New variable.
(make-lua-sec): New procedure.
(lua5.1-sec, lua5.2-sec): Call it.

5 years agognu: Add lua-filesystem and lua5.2-filesystem.
Clément Lassieur [Tue, 8 Jan 2019 12:49:29 +0000 (13:49 +0100)]
gnu: Add lua-filesystem and lua5.2-filesystem.

* gnu/packages/lua.scm (lua-filesystem, lua5.2-filesystem): New variables.
(make-lua-filesystem): New procedure.
(lua-filesystem, lua5.1-filesystem, lua5.2-filesystem): Call it.

5 years agognu: Add lua5.2-socket.
Clément Lassieur [Tue, 8 Jan 2019 12:49:24 +0000 (13:49 +0100)]
gnu: Add lua5.2-socket.

* gnu/packages/lua.scm (lua5.2-socket): New variable.
(make-lua-socket): New procedure.
(lua5.1-socket, lua5.2-socket): Call it.

5 years agognu: Add lua5.2-expat.
Clément Lassieur [Tue, 8 Jan 2019 12:49:17 +0000 (13:49 +0100)]
gnu: Add lua5.2-expat.

* gnu/packages/lua.scm (lua5.2-expat): New variable.
(make-lua-expat): New procedure.
(lua5.1-expat, lua5.2-expat): Call it.

5 years agognu: criu: Update to 3.11.
Efraim Flashner [Tue, 8 Jan 2019 10:29:24 +0000 (12:29 +0200)]
gnu: criu: Update to 3.11.

* gnu/packages/virtualization.scm (criu): Update to 3.11.
[arguments]: Add custom phase to patch python calls.

5 years agognu: criu: Fix building on armhf-linux.
Efraim Flashner [Tue, 8 Jan 2019 08:45:01 +0000 (10:45 +0200)]
gnu: criu: Fix building on armhf-linux.

* gnu/packages/virtualization.scm (criu)[arguments]: Hardcode the arm
version in the Makefile.

5 years agognu: gajim-omemo: Update to 2.6.26.
Clément Lassieur [Tue, 8 Jan 2019 09:16:02 +0000 (10:16 +0100)]
gnu: gajim-omemo: Update to 2.6.26.

* gnu/packages/messaging.scm (gajim-omemo): Update to 2.6.26.

5 years agognu: gajim: Update to 1.1.1.
Clément Lassieur [Tue, 8 Jan 2019 09:07:17 +0000 (10:07 +0100)]
gnu: gajim: Update to 1.1.1.

* gnu/packages/messaging.scm (gajim): Update to 1.1.1.
[arguments]: Replace #:test-target with a 'check' phase.

5 years agognu: tor: Update to 0.3.4.10.
Tobias Geerinckx-Rice [Tue, 8 Jan 2019 03:20:25 +0000 (04:20 +0100)]
gnu: tor: Update to 0.3.4.10.

* gnu/packages/tor.scm (tor): Update to 0.3.4.10.

5 years agognu: privoxy: Update to 3.0.28.
Tobias Geerinckx-Rice [Tue, 8 Jan 2019 03:20:38 +0000 (04:20 +0100)]
gnu: privoxy: Update to 3.0.28.

* gnu/packages/tor.scm (privoxy): Update to 3.0.28.

5 years agogexp: 'gexp->script' does not emit load-path expression when unnecessary.
Ludovic Courtès [Mon, 7 Jan 2019 22:45:15 +0000 (23:45 +0100)]
gexp: 'gexp->script' does not emit load-path expression when unnecessary.

This removes two elements from %LOAD-PATH and %LOAD-COMPILED-PATH of the
'guix' command and thus further reduces the number of 'stat' calls it
makes.

* guix/gexp.scm (load-path-expression): Return #f when MODULES and
EXTENSIONS are both empty.
(gexp->script): Don't emit anything when SET-LOAD-PATH is #f.

5 years agoself: Move all modules into a single directory.
Ludovic Courtès [Mon, 7 Jan 2019 21:57:34 +0000 (22:57 +0100)]
self: Move all modules into a single directory.

This halves the number of elements in %LOAD-PATH and %LOAD-COMPILED-PATH
and halves the number of 'stat' calls as reported by:

  env -i $(type -P guix) build -e '(@ (gnu packages base) coreutils)' -nd

* guix/self.scm (node-source+compiled, guile-module-union): New
procedures.
(guix-command): Remove 'compiled-modules' parameter.  Remove
'source-directories' and 'object-directories' variables and add
'module-directory'.  Change command so that it adds nothing but
MODULE-DIRECTORY to %LOAD-PATH and %LOAD-COMPILED-PATH.
(whole-package): Remove #:compiled-modules.  Assume MODULES contains
'share/guile/site' and 'lib/guile' and adjust code accordingly.
(compiled-guix): When PULL-VERSION is 1, use 'node-source+compiled'
only.  Remove #:compiled-modules argument to 'whole-package'.
* guix/channels.scm (whole-package-for-legacy): Add 'module+compiled'
and pass it to 'whole-package'.

5 years agognu: libnet: Update to 1.2-rc3.
Rutger Helling [Mon, 7 Jan 2019 20:55:27 +0000 (21:55 +0100)]
gnu: libnet: Update to 1.2-rc3.

* gnu/packages/networking.scm (libnet): Update to 1.2-rc3.
[source]: Use git-fetch.

5 years agoimport: opam: Parse comments.
Julien Lepiller [Wed, 19 Dec 2018 22:55:44 +0000 (23:55 +0100)]
import: opam: Parse comments.

* guix/import/opam.scm: Add comment support in parser.

5 years agognu: ocaml-graph: Add upstream-name.
Julien Lepiller [Wed, 19 Dec 2018 22:54:57 +0000 (23:54 +0100)]
gnu: ocaml-graph: Add upstream-name.

* gnu/packages/ocaml.scm (ocaml-graph)[properties]: Add upstream-name.

5 years agoimport: opam: Add updater.
Julien Lepiller [Wed, 19 Dec 2018 22:20:39 +0000 (23:20 +0100)]
import: opam: Add updater.

* guix/import/opam.scm (%opam-updater): New variable.

5 years agoimport: opam: Add recursive option.
Julien Lepiller [Wed, 19 Dec 2018 21:43:43 +0000 (22:43 +0100)]
import: opam: Add recursive option.

* guix/script/import/opam.scm: Add recursive option.
* guix/import/opam.scm (opam->guix-package): return two values.
(opam-recursive-import): New variable.

5 years agognu: Move coq packages from ocaml to coq.
Julien Lepiller [Wed, 19 Dec 2018 15:12:23 +0000 (16:12 +0100)]
gnu: Move coq packages from ocaml to coq.

* gnu/packages/ocaml.scm (coq, proof-general, coq-flocq, coq-gappa, coq-mathcomp)
(coq-coquelicot, coq-bignums, coq-interval): Move from here...
* gnu/packages/coq.scm: ... to here.  New file.

5 years agognu: emacs-guix: Update to 0.5.1.1.
Alex Kost [Mon, 7 Jan 2019 19:50:01 +0000 (22:50 +0300)]
gnu: emacs-guix: Update to 0.5.1.1.

* gnu/packages/emacs.scm (emacs-guix): Update to 0.5.1.1.

5 years agognu: containerd: Update synopsis.
Danny Milosavljevic [Mon, 7 Jan 2019 18:13:04 +0000 (19:13 +0100)]
gnu: containerd: Update synopsis.

* gnu/packages/docker.scm (containerd)[synopsis]: Modify.

5 years agognu: containerd: Enable tests.
Danny Milosavljevic [Mon, 7 Jan 2019 18:12:14 +0000 (19:12 +0100)]
gnu: containerd: Enable tests.

* gnu/packages/docker.scm (containerd)[arguments]: Remove #:tests?.

5 years agognu: Add missing use-module clause.
Ricardo Wurmus [Mon, 7 Jan 2019 17:45:23 +0000 (18:45 +0100)]
gnu: Add missing use-module clause.

This is a follow-up to 4e5b8f7215b8e0ae864b954cd511404098fd2840.

* gnu/packages/docker.scm: Add missing use-module clause.

5 years agognu: Add r-corpcor.
Ricardo Wurmus [Mon, 7 Jan 2019 16:18:28 +0000 (17:18 +0100)]
gnu: Add r-corpcor.

* gnu/packages/cran.scm (r-corpcor): New variable.

5 years agognu: Add r-ddrtree.
Ricardo Wurmus [Mon, 7 Jan 2019 15:40:37 +0000 (16:40 +0100)]
gnu: Add r-ddrtree.

* gnu/packages/cran.scm (r-ddrtree): New variable.

5 years agognu: Add r-qlcmatrix.
Ricardo Wurmus [Mon, 7 Jan 2019 15:40:27 +0000 (16:40 +0100)]
gnu: Add r-qlcmatrix.

* gnu/packages/cran.scm (r-qlcmatrix): New variable.

5 years agognu: Add r-combinat.
Ricardo Wurmus [Mon, 7 Jan 2019 15:40:01 +0000 (16:40 +0100)]
gnu: Add r-combinat.

* gnu/packages/cran.scm (r-combinat): New variable.

5 years agognu: Add r-densityclust.
Ricardo Wurmus [Mon, 7 Jan 2019 15:26:54 +0000 (16:26 +0100)]
gnu: Add r-densityclust.

* gnu/packages/cran.scm (r-densityclust): New variable.

5 years agognu: Add r-sparsesvd.
Ricardo Wurmus [Mon, 7 Jan 2019 15:26:43 +0000 (16:26 +0100)]
gnu: Add r-sparsesvd.

* gnu/packages/cran.scm (r-sparsesvd): New variable.

5 years agognu: Add r-docopt.
Ricardo Wurmus [Mon, 7 Jan 2019 15:21:49 +0000 (16:21 +0100)]
gnu: Add r-docopt.

* gnu/packages/cran.scm (r-docopt): New variable.

5 years agognu: Add r-rvcheck.
Ricardo Wurmus [Mon, 7 Jan 2019 15:21:42 +0000 (16:21 +0100)]
gnu: Add r-rvcheck.

* gnu/packages/cran.scm (r-rvcheck): New variable.

5 years agognu: Add r-tidytree.
Ricardo Wurmus [Mon, 7 Jan 2019 15:19:27 +0000 (16:19 +0100)]
gnu: Add r-tidytree.

* gnu/packages/cran.scm (r-tidytree): New variable.

5 years agognu: Add r-colorramps.
Ricardo Wurmus [Mon, 7 Jan 2019 13:29:38 +0000 (14:29 +0100)]
gnu: Add r-colorramps.

* gnu/packages/cran.scm (r-colorramps): New variable.

5 years agognu: Add r-wordcloud.
Ricardo Wurmus [Mon, 7 Jan 2019 12:38:48 +0000 (13:38 +0100)]
gnu: Add r-wordcloud.

* gnu/packages/cran.scm (r-wordcloud): New variable.

5 years agognu: Add r-waveslim.
Ricardo Wurmus [Mon, 7 Jan 2019 12:22:43 +0000 (13:22 +0100)]
gnu: Add r-waveslim.

* gnu/packages/cran.scm (r-waveslim): New variable.

5 years agognu: Add r-tiff.
Ricardo Wurmus [Fri, 4 Jan 2019 16:29:34 +0000 (17:29 +0100)]
gnu: Add r-tiff.

* gnu/packages/cran.scm (r-tiff): New variable.

5 years agognu: Add r-fftwtools.
Ricardo Wurmus [Fri, 4 Jan 2019 16:29:26 +0000 (17:29 +0100)]
gnu: Add r-fftwtools.

* gnu/packages/cran.scm (r-fftwtools): New variable.

5 years agognu: Add r-softimpute.
Ricardo Wurmus [Fri, 4 Jan 2019 16:29:13 +0000 (17:29 +0100)]
gnu: Add r-softimpute.

* gnu/packages/cran.scm (r-softimpute): New variable.

5 years agognu: Add r-adgoftest.
Ricardo Wurmus [Fri, 4 Jan 2019 16:29:01 +0000 (17:29 +0100)]
gnu: Add r-adgoftest.

* gnu/packages/cran.scm (r-adgoftest): New variable.

5 years agognu: Add r-gsl.
Ricardo Wurmus [Fri, 4 Jan 2019 16:28:52 +0000 (17:28 +0100)]
gnu: Add r-gsl.

* gnu/packages/cran.scm (r-gsl): New variable.

5 years agognu: Add r-stabledist.
Ricardo Wurmus [Fri, 4 Jan 2019 16:28:38 +0000 (17:28 +0100)]
gnu: Add r-stabledist.

* gnu/packages/cran.scm (r-stabledist): New variable.

5 years agognu: perl-lingua-translit: Update to 0.28.
Efraim Flashner [Mon, 7 Jan 2019 16:14:38 +0000 (18:14 +0200)]
gnu: perl-lingua-translit: Update to 0.28.

* gnu/packages/perl.scm (perl-lingua-translit): Update to 0.28.

5 years agognu: Add containerd.
Danny Milosavljevic [Fri, 28 Dec 2018 16:06:41 +0000 (17:06 +0100)]
gnu: Add containerd.

* gnu/packages/docker.scm (containerd): New variable.

5 years agognu: Add dummy linker for arm-elf.
Danny Milosavljevic [Fri, 28 Dec 2018 13:36:37 +0000 (14:36 +0100)]
gnu: Add dummy linker for arm-elf.

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for arm-elf.

5 years agognu: Move R packages from geo.scm to cran.scm.
Ricardo Wurmus [Mon, 7 Jan 2019 14:53:28 +0000 (15:53 +0100)]
gnu: Move R packages from geo.scm to cran.scm.

* gnu/packages/geo.scm (r-maps, r-mapproj, r-rgooglemaps, r-geosphere,
r-ggmap): Move from here...
* gnu/packages/cran.scm: ...to here.

5 years agognu: emacs-ess: Move to (gnu packages statistics).
Ricardo Wurmus [Mon, 7 Jan 2019 14:44:09 +0000 (15:44 +0100)]
gnu: emacs-ess: Move to (gnu packages statistics).

* gnu/packages/emacs.scm (emacs-ess): Move from here...
* gnu/packages/statistics.scm (emacs-ess): ...to here.

5 years agognu: python-rpy2: Move to (gnu packages statistics).
Ricardo Wurmus [Mon, 7 Jan 2019 14:41:18 +0000 (15:41 +0100)]
gnu: python-rpy2: Move to (gnu packages statistics).

* gnu/packages/python.scm (python-rpy2): Move from here...
* gnu/packages/statistics.scm (python-rpy2): ...to here.

5 years agognu: Remove reference to (gnu packages statistics).
Ricardo Wurmus [Mon, 7 Jan 2019 14:40:16 +0000 (15:40 +0100)]
gnu: Remove reference to (gnu packages statistics).

* gnu/packages/web.scm: Remove obsolete use-module clause.

5 years agognu: r-rmysql: Move from databases.scm to cran.scm
Ricardo Wurmus [Mon, 7 Jan 2019 14:39:30 +0000 (15:39 +0100)]
gnu: r-rmysql: Move from databases.scm to cran.scm

* gnu/packages/databases.scm (r-rmysql): Move from here...
* gnu/packages/cran.scm (r-rmysql): ...to here.

5 years agognu: biber: Update to 2.12.
Jelle Licht [Mon, 7 Jan 2019 14:27:39 +0000 (15:27 +0100)]
gnu: biber: Update to 2.12.

* gnu/packages/tex.scm (biber): Update to 2.12.
[source]: Use 'git-fetch'. Add patch.
[inputs]: Add perl-file-slurper. Remove perl-file-slurp.
* gnu/packages/patches/biber-fix-encoding-write.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

5 years agognu: r-feather: Move from serialization.scm to cran.scm.
Ricardo Wurmus [Mon, 7 Jan 2019 14:21:09 +0000 (15:21 +0100)]
gnu: r-feather: Move from serialization.scm to cran.scm.

* gnu/packages/serialization.scm (r-feather): Move from here...
* gnu/packages/cran.scm (r-feather): ...to here.

5 years agognu: Fix top-level circular references between emacs.scm and llvm.scm.
Ludovic Courtès [Mon, 7 Jan 2019 13:59:01 +0000 (14:59 +0100)]
gnu: Fix top-level circular references between emacs.scm and llvm.scm.

Previously, loading either of these two modules could fail somewhat
non-deterministically because each top-level was referencing a variable
defined by the other module's top-level.

* gnu/packages/emacs.scm (package-elisp-from-package): Move to...
* gnu/packages/llvm.scm (package-elisp-from-package): Here.  Keep
private.

5 years agognu: perl-file-slurper: Update to 0.012.
Jelle Licht [Sat, 5 Jan 2019 21:00:55 +0000 (22:00 +0100)]
gnu: perl-file-slurper: Update to 0.012.

* gnu/packages/perl.scm (perl-file-slurper): Update to 0.012.
[native-inputs]: Add perl-test-warnings.

5 years agognu: Move R packages from web.scm to cran.scm.
Ricardo Wurmus [Mon, 7 Jan 2019 13:59:06 +0000 (14:59 +0100)]
gnu: Move R packages from web.scm to cran.scm.

* gnu/packages/web.scm (r-httpuv, r-jsonlite, r-servr, r-htmltools,
r-htmlwidgets, r-htmltable, r-curl, r-hwriter, r-rjson, r-shiny,
r-shinydashboard, r-shinyfiles, r-crosstalk, r-rook, r-miniui): Move these
from here...
* gnu/packages/cran.scm: ...to here.

5 years agoRevert "gnu: Use package-elisp-from-package for clangs emacs lisp files"
Pierre Neidhardt [Mon, 7 Jan 2019 13:58:40 +0000 (14:58 +0100)]
Revert "gnu: Use package-elisp-from-package for clangs emacs lisp files"

This reverts commit 5bc2e14add6433adbade3ccdf28c60e57334c20a.

5 years agognu: mantis: Limit to x86_64-linux.
Efraim Flashner [Mon, 7 Jan 2019 13:47:04 +0000 (15:47 +0200)]
gnu: mantis: Limit to x86_64-linux.

* gnu/packages/bioinformatics.scm (mantis)[supported-systems]: New field.

5 years agognu: package-elisp-from-package: Clarify docstring.
Pierre Neidhardt [Mon, 7 Jan 2019 13:44:31 +0000 (14:44 +0100)]
gnu: package-elisp-from-package: Clarify docstring.

* gnu/packages/emacs.scm (package-elisp-from-package)[docstring]: Clarify.

5 years agognu: Use package-elisp-from-package for clangs emacs lisp files
Tim Gesthuizen [Fri, 4 Jan 2019 21:34:56 +0000 (22:34 +0100)]
gnu: Use package-elisp-from-package for clangs emacs lisp files

Use package-elisp-from-package for emacs-clang-format and emacs-clang-rename.
Also remove package-from-clang-elisp-file as it is not needed anymore.

* gnu/packages/llvm.scm (emacs-clang-format): Use package-elisp-from-package
* gnu/packages/llvm.scm (emacs-clang-rename): Use package-elisp-from-package
* gnu/packages/llvm.scm (package-from-clang-elisp-file): Remove function

5 years agognu: Add package-elisp-from-package
Tim Gesthuizen [Fri, 4 Jan 2019 21:34:36 +0000 (22:34 +0100)]
gnu: Add package-elisp-from-package

Add a function to generate package definitions that packages single elisp
files from other packages.

* gnu/packages/emacs.scm (package-elisp-from-package): New function

5 years agognu: python2-fastlmm: Move to machine-learning.scm.
Ludovic Courtès [Mon, 7 Jan 2019 13:14:50 +0000 (14:14 +0100)]
gnu: python2-fastlmm: Move to machine-learning.scm.

This is a step towards removing OCaml modules from the closure
of (gnu packages python).

* gnu/packages/python.scm (python2-fastlmm): Move to...
* gnu/packages/machine-learning.scm (python2-fastlmm): ... here.

5 years agognu: Remove unnecessary build-side module imports.
Ludovic Courtès [Mon, 7 Jan 2019 13:05:37 +0000 (14:05 +0100)]
gnu: Remove unnecessary build-side module imports.

* gnu/packages/batik.scm, gnu/packages/boost.scm,
gnu/packages/calendar.scm, gnu/packages/gl.scm,
gnu/packages/lua.scm, gnu/packages/qt.scm, gnu/packages/simulation.scm,
gnu/packages/terminals.scm: Remove unnecessary import of (guix build
utils).
* gnu/packages/emacs.scm: Remove unnecessary imports of (guix ...).
* gnu/packages/libcanberra.scm: Use (srfi srfi-1) instead of (guix build
utils) for 'alist-delete'.
* gnu/packages/wxwidgets.scm: Likewise.

5 years agognu: Move Emacs modes for Dedukti to ocaml.scm.
Ludovic Courtès [Mon, 7 Jan 2019 13:00:32 +0000 (14:00 +0100)]
gnu: Move Emacs modes for Dedukti to ocaml.scm.

This removes OCaml-related modules from the closure of (gnu packages
emacs).

* gnu/packages/emacs.scm (emacs-dedukti-mode, emacs-flycheck-dedukti):
Move to ...
* gnu/packages/ocaml.scm: ... here.

5 years agognu: Move OCaml packages away from maths.scm.
Ludovic Courtès [Mon, 7 Jan 2019 12:56:17 +0000 (13:56 +0100)]
gnu: Move OCaml packages away from maths.scm.

This removes (gnu packages ocaml) and related build system modules from
the closure of (gnu packages maths).

* gnu/packages/maths.scm (ocaml-gsl, ocaml4.01-gsl, cubicle): Move to...
* gnu/packages/ocaml.scm: ... here.

5 years agolint: Avoid 'dirname' call at the top level.
Ludovic Courtès [Mon, 7 Jan 2019 12:55:32 +0000 (13:55 +0100)]
lint: Avoid 'dirname' call at the top level.

* guix/scripts/lint.scm (%distro-directory): Wrap in 'mlambda'.
(check-patch-file-names): Adjust accordingly.

5 years agoRemove (guix build pull).
Ludovic Courtès [Mon, 7 Jan 2019 11:08:33 +0000 (12:08 +0100)]
Remove (guix build pull).

This module had been unused since commit
5f93d97005897c2d859f0be1bdff34c88467ec61 (Oct. 2017).

* guix/build/pull.scm: Delete.
* Makefile.am (MODULES): Remove.

5 years agognu: Add rmlint.
Pierre Neidhardt [Mon, 7 Jan 2019 13:28:46 +0000 (14:28 +0100)]
gnu: Add rmlint.

* gnu/packages/disk.scm (rmlint): New variable.

5 years agognu: Add prosody-http-upload.
Clément Lassieur [Mon, 7 Jan 2019 10:52:37 +0000 (11:52 +0100)]
gnu: Add prosody-http-upload.

* gnu/packages/messaging.scm (prosody-http-upload): New variable.

5 years agognu: Add mantis.
Ricardo Wurmus [Mon, 7 Jan 2019 10:55:19 +0000 (11:55 +0100)]
gnu: Add mantis.

* gnu/packages/bioinformatics.scm (mantis): New variable.

5 years agognu: Add sdsl-lite.
Ricardo Wurmus [Mon, 7 Jan 2019 10:55:00 +0000 (11:55 +0100)]
gnu: Add sdsl-lite.

* gnu/packages/datastructures.scm (sdsl-lite): New variable.

5 years agognu: autoconf-archive: Update to 2019.01.06.
Efraim Flashner [Mon, 7 Jan 2019 09:17:42 +0000 (11:17 +0200)]
gnu: autoconf-archive: Update to 2019.01.06.

* gnu/packages/autotools.scm (autoconf-archive): Update to 2019.01.06.

5 years agognu: Add jose.
Manolis Ragkousis [Fri, 4 Jan 2019 19:37:04 +0000 (21:37 +0200)]
gnu: Add jose.

* gnu/packages/jose.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

5 years agognu: Add slurp.
Rutger Helling [Mon, 7 Jan 2019 07:29:20 +0000 (08:29 +0100)]
gnu: Add slurp.

* gnu/packages/image.scm (slurp): New variable.

5 years agognu: libarchive: Replace with libarchive 3.3.3 and fix CVE-2018-{1000877,1000878...
Alex Vong [Sat, 5 Jan 2019 15:20:41 +0000 (23:20 +0800)]
gnu: libarchive: Replace with libarchive 3.3.3 and fix CVE-2018-{1000877,1000878,1000880}.

* gnu/packages/backup.scm (libarchive)[source, home-page]: Use HTTPS.
[replacement]: New field.
(libarchive-3.3.3): New variable.
* gnu/packages/patches/libarchive-CVE-2018-1000877.patch,
gnu/packages/patches/libarchive-CVE-2018-1000878.patch,
gnu/packages/patches/libarchive-CVE-2018-1000880.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.

5 years agognu: Add kitty.
Gabriel Hondet [Wed, 26 Dec 2018 11:41:58 +0000 (12:41 +0100)]
gnu: Add kitty.

* gnu/packages/terminals.scm (kitty): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agohydra: Compute jobs in an inferior.
Ludovic Courtès [Mon, 26 Nov 2018 16:17:45 +0000 (17:17 +0100)]
hydra: Compute jobs in an inferior.

Previously we would rely on auto-compilation of all the Guix modules.
The complete evaluation would take ~15mn on berlin.guixsd.org and
require lots of RAM.  This approach should be faster since potentially
only part of the modules are rebuilt.  Furthermore, as a side-effect, it
builds the derivations that 'guix pull' uses.

* build-aux/hydra/gnu-system.scm: Remove 'eval-when' form.
(hydra-jobs): New procedure.
* gnu/ci.scm (package->alist, qemu-jobs, system-test-jobs)
(tarball-jobs): Return strings for the 'license' field.
* guix/self.scm (compiled-guix)[*cli-modules*]: Add (gnu ci).

5 years agohydra: evaluate: Add the checkout to the store.
Ludovic Courtès [Mon, 26 Nov 2018 14:49:11 +0000 (15:49 +0100)]
hydra: evaluate: Add the checkout to the store.

* build-aux/hydra/evaluate.scm <top level>: Add call to 'add-to-store'.
Use that as the 'file-name' attribute.  Call 'primitive-load' in a
directory excursion to SOURCE.

5 years agohydra: Move job definitions to (gnu ci).
Ludovic Courtès [Mon, 26 Nov 2018 11:22:47 +0000 (12:22 +0100)]
hydra: Move job definitions to (gnu ci).

* build-aux/hydra/gnu-system.scm: Move code to...
* gnu/ci.scm: ... here.  New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

5 years agobuild-self: Don't clobber the output port.
Ludovic Courtès [Sun, 6 Jan 2019 17:16:19 +0000 (18:16 +0100)]
build-self: Don't clobber the output port.

The newline is meant to follow the spinner's traces so it must go to the
error port as well.

* build-aux/build-self.scm (build): Send newline to the error port.

5 years agognu: gama: Update to 2.02.
Efraim Flashner [Sun, 6 Jan 2019 13:39:39 +0000 (15:39 +0200)]
gnu: gama: Update to 2.02.

* gnu/packages/gps.scm (gama): Update to 2.02.