jackhill/guix/guix.git
7 years agognu: Add itpp.
John Darrington [Tue, 7 Mar 2017 06:51:51 +0000 (07:51 +0100)]
gnu: Add itpp.

* gnu/packages/maths.scm (itpp): New variable.

7 years agognu: emacs-slime: Update to 2.19.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 23:43:01 +0000 (00:43 +0100)]
gnu: emacs-slime: Update to 2.19.

* gnu/packages/emacs.scm (emacs-slime): Update to 2.19.

7 years agognu: ocaml-qtest: Update to 2.5.
Ben Woodcroft [Fri, 17 Mar 2017 23:41:00 +0000 (09:41 +1000)]
gnu: ocaml-qtest: Update to 2.5.

* gnu/packages/ocaml.scm (ocaml-qtest): Update to 2.5.

7 years agodoc: Make "Application Setup" slightly more visible.
Ludovic Courtès [Fri, 17 Mar 2017 22:52:06 +0000 (23:52 +0100)]
doc: Make "Application Setup" slightly more visible.

Suggested by Arne Babenhauserheide.

* doc/guix.texi (Binary Installation): Make the "Application Setup"
reference an 8th item in the list.

7 years agohttp-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.
Ludovic Courtès [Fri, 17 Mar 2017 22:41:37 +0000 (23:41 +0100)]
http-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.

* guix/build/download.scm (open-connection-for-uri): Add note about
same-named binding in Guile 2.2.0.
* guix/http-client.scm: Use 'guix:open-connection-for-uri' for the
procedure coming from (guix build download).
* guix/scripts/lint.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.

7 years agobuild: Require Guile >= 2.0.9.
Ludovic Courtès [Fri, 17 Mar 2017 22:07:01 +0000 (23:07 +0100)]
build: Require Guile >= 2.0.9.

* configure.ac: Bump requirement to 2.0.9.
* doc/guix.texi (Requirements): Adjust accordingly.
* README (Requirements): Likewise.
* build-aux/download.scm: Remove workaround for <http://bugs.gnu.org/13095>.
* guix/build/download.scm: Likewise.
(http-fetch)[post-2.0.7?]: Remove.  Remove conditional code for not
POST-2.0.7?.
* guix/http-client.scm:  Remove workaround for <http://bugs.gnu.org/13095>.
(http-fetch)[post-2.0.7?]: Remove.  Remove conditional code for not
POST-2.0.7?.
* guix/serialization.scm (read-latin1-string): Remove mention of 2.0.9.
* tests/nar.scm: Use (ice-9 control).
(let/ec): Remove.

7 years agopack: Add '--target'.
Ludovic Courtès [Fri, 17 Mar 2017 21:45:32 +0000 (22:45 +0100)]
pack: Add '--target'.

* guix/scripts/pack.scm (self-contained-tarball): Add #:target.
(docker-image): Add #:target.
[build]: Pass it to 'build-docker-image'.
(%options, show-help): Add '--target'.
(guix-pack): Pass TARGET to 'profile-derivation' and to 'build-image'.
* guix/docker.scm (build-docker-image): Add #:system parameter and honor it.
* doc/guix.texi (Invoking guix pack): Document '--target'.
(Additional Build Options): Refer to the Autoconf manual instead of the
obsolete 'configure.info' for cross-compilation.

7 years agoprofiles: Packages in a profile can be cross-compiled.
Ludovic Courtès [Fri, 17 Mar 2017 20:48:40 +0000 (21:48 +0100)]
profiles: Packages in a profile can be cross-compiled.

* guix/profiles.scm (profile-derivation): Add #:target parameter; pass
it to 'gexp->derivation'.
* tests/profiles.scm ("profile-derivation, cross-compilation"): New test.

7 years agopack: Move absolute file name to <compressor>.
Ludovic Courtès [Fri, 17 Mar 2017 16:37:00 +0000 (17:37 +0100)]
pack: Move absolute file name to <compressor>.

* guix/scripts/pack.scm (<compressor>)[package]: Remove.
[command]: Document as being a gexp with an absolute file name.
(%compressors): Adjust accordingly.
(self-contained-tarball): Simplify PATH expression.  Move 'string-join'
for the compressor command on the build side.
(docker-image): Simplify PATH expression.
* tests/pack.scm (%gzip-compressor): Adjust accordingly.

7 years agognu: libbluray: Update to 1.0.0.
Marius Bakke [Fri, 17 Mar 2017 19:34:48 +0000 (20:34 +0100)]
gnu: libbluray: Update to 1.0.0.

* gnu/packages/video.scm (libbluray): Update to 1.0.0.

7 years agognu: libx264: Update to 20170316-2245.
Marius Bakke [Fri, 17 Mar 2017 19:28:36 +0000 (20:28 +0100)]
gnu: libx264: Update to 20170316-2245.

* gnu/packages/video.scm (libx264): Update to 20170316-2245.

7 years agognu: libwebp: Update to 0.6.0.
Marius Bakke [Fri, 17 Mar 2017 19:10:12 +0000 (20:10 +0100)]
gnu: libwebp: Update to 0.6.0.

* gnu/packages/image.scm (libwebp): Update to 0.6.0.
[source]: Remove patch.
* gnu/packages/patches/libwebp-CVE-2016-9085.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: ninja: Update to 1.7.2.
Marius Bakke [Fri, 17 Mar 2017 10:15:01 +0000 (11:15 +0100)]
gnu: ninja: Update to 1.7.2.

* gnu/packages/ninja.scm (ninja): Update to 1.7.2.
[source]: Remove patch.
* gnu/packages/patches/ninja-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: btrfs-progs: Use @dfn in description.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 18:33:22 +0000 (19:33 +0100)]
gnu: btrfs-progs: Use @dfn in description.

* gnu/packages/linux.scm (btrfs-progs)[description]: Use @dfn.

7 years agognu: btrfs-progs: Update to 4.10.1.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 18:32:15 +0000 (19:32 +0100)]
gnu: btrfs-progs: Update to 4.10.1.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.10.1.

7 years agobuild/cargo-build-system: Make cargo-build-system install working packages.
Danny Milosavljevic [Fri, 3 Mar 2017 19:50:47 +0000 (20:50 +0100)]
build/cargo-build-system: Make cargo-build-system install working packages.

* guix/build/cargo-build-system.scm (configure): Remove proprietary
dependencies. Add rust dependencies and configure Cargo to find them.
(build): Also build libraries, not just applications.
(file-sha256): New variable.
(generate-checksums): New variable. Export it.
(touch): New variable.
(install): Generate checksums so Cargo accepts the package.

7 years agobuild-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.
Danny Milosavljevic [Fri, 3 Mar 2017 17:17:28 +0000 (18:17 +0100)]
build-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.

* guix/build-system/cargo.scm (cargo-build): Add cargo-build-flags,
remove configure-flags.

7 years agognu: cargo: Use upstream cargo.
Danny Milosavljevic [Fri, 3 Mar 2017 00:29:13 +0000 (01:29 +0100)]
gnu: cargo: Use upstream cargo.

* gnu/packages/rust.scm (cargo): Use upstream cargo.

7 years agognu: rust: Update to 1.15.0.
Danny Milosavljevic [Fri, 3 Mar 2017 00:29:12 +0000 (01:29 +0100)]
gnu: rust: Update to 1.15.0.

* gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update to 1.14.0.
(%rust-bootstrap-binaries): Update to 1.14.0.
(rustc): Update to 1.15.0.
[arguments]: Pass "--disable-rustbuild" to configure.

7 years agognu: libpng-apng: Remove unnecessary call to libtool.
Kei Kebreau [Fri, 17 Mar 2017 15:33:04 +0000 (11:33 -0400)]
gnu: libpng-apng: Remove unnecessary call to libtool.

* gnu/packages/image.scm (libpng-apng)[phases]: Remove it.

7 years agognu: Add libpng-apng.
ng0 [Tue, 10 Jan 2017 20:49:30 +0000 (20:49 +0000)]
gnu: Add libpng-apng.

* gnu/packages/image.scm (libpng-apng): New variable.

Co-authored-by: Kei Kebreau <kei@openmailbox.org>
7 years agognu: Add ocaml-mcl.
Ben Woodcroft [Fri, 17 Mar 2017 11:24:13 +0000 (21:24 +1000)]
gnu: Add ocaml-mcl.

* gnu/packages/machine-learning.scm (ocaml-mcl): New variable.

7 years agognu: Add ocaml-gsl.
Ben Woodcroft [Fri, 17 Mar 2017 11:23:21 +0000 (21:23 +1000)]
gnu: Add ocaml-gsl.

* gnu/packages/maths.scm (ocaml-gsl): New variable.

7 years agognu: Add ocaml-csv.
Ben Woodcroft [Fri, 17 Mar 2017 11:19:55 +0000 (21:19 +1000)]
gnu: Add ocaml-csv.

* gnu/packages/ocaml.scm (ocaml-csv): New variable.

7 years agognu: Add ocaml-sqlite3.
Ben Woodcroft [Fri, 6 Jan 2017 11:01:05 +0000 (21:01 +1000)]
gnu: Add ocaml-sqlite3.

* gnu/packages/ocaml.scm (ocaml-sqlite3): New variable.

7 years agognu: snakemake: Update to 3.11.2.
Ricardo Wurmus [Fri, 17 Mar 2017 09:11:25 +0000 (10:11 +0100)]
gnu: snakemake: Update to 3.11.2.

* gnu/packages/python.scm (snakemake): Update to 3.11.2.

7 years agognu: r-minimal: Fix remaining reproducibility problems.
Ricardo Wurmus [Sat, 11 Mar 2017 23:23:24 +0000 (00:23 +0100)]
gnu: r-minimal: Fix remaining reproducibility problems.

Fixes <https://bugs.gnu.org/25598>.

* gnu/packages/statistics.scm (r-minimal)[arguments]: Add remaining
reproducibility fixes to "build-reproducibly" phase.

7 years agognu: r: Rename to r-minimal.
Ricardo Wurmus [Fri, 17 Mar 2017 08:42:22 +0000 (09:42 +0100)]
gnu: r: Rename to r-minimal.

* gnu/packages/statistics.scm (r): Rename to...
(r-minimal): ...this new variable.
(r-with-recommended-packages): Rename to...
(r): ...this.
* guix/build-system/r.scm (default-r): Reference r-minimal.
* gnu/packages/emacs.scm (emacs-ess)[inputs],
gnu/packages/machine-learning.scm (shogun)[inputs],
gnu/packages/python.scm (python-rpy2)[inputs],
gnu/packages/bioinformatics.scm (ribotaper)[inputs],
(couger)[propagated-inputs],
(roary)[inputs],
(rsem)[inputs],
(rcas-web)[inputs]: Change "r" to "r-minimal".

7 years agognu: Add r-with-recommended-packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:22:57 +0000 (00:22 +0100)]
gnu: Add r-with-recommended-packages.

* gnu/packages/statistics.scm (r-with-recommended-packages): New variable.

7 years agognu: r: Do not build recommended packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:21:39 +0000 (00:21 +0100)]
gnu: r: Do not build recommended packages.

* gnu/packages/statistics.scm (r)[arguments]: Rename phase
"build-recommended-packages-reproducibly" to "build-reproducibly"; add
configure flag "--without-recommended-packages".
* guix/import/cran.scm (default-r-packages): Remove recommended packages.
* gnu/packages/python.scm (python-rpy2)[inputs]: Add r-survival.
* gnu/packages/bioinformatics.scm (r-ape)[propagated-inputs]: Add r-lattice
and r-nlme.
(r-vegan)[propagated-inputs]: Add r-mass.
(r-genefilter)[propagated-inputs]: Add r-survival.
(r-grohmm)[propagated-inputs]: Add r-mass.
(r-bioccheck)[propagated-inputs]: Add r-codetools.
(r-summarizedexperiment)[propagated-inputs]: Add r-matrix.
(r-topgo)[propagated-inputs]: Add r-lattice.
(r-sva)[propagated-inputs]: Add r-mgcv.
(r-raremetals2)[propagated-inputs]: Add r-mass.
(r-vsn)[propagated-inputs]: Add r-lattice.
(r-pcamethods)[propagated-inputs]: Add r-mass.
* gnu/packages/bioinformatics.scm (r-ggplot2)[propagated-inputs]: Add r-mass.
(r-locfit)[propagated-inputs]: Add r-lattice.
(r-coda)[propagated-inputs]: Add r-lattice.
(r-irlba)[propagated-inputs]: Add r-matrix.
(r-glmnet)[propagated-inputs]: Add r-matrix.
(r-e1071)[propagated-inputs]: Add r-class.
(r-spams)[propagated-inputs]: Add r-lattice and r-matrix.
(r-hmisc)[propagated-inputs]: Add r-cluster, r-foreign, r-lattice, r-nnet, and
r-rpart.
(r-zoo)[propagated-inputs]: Add r-lattice.
(r-mixtools)[propagated-inputs]: Add r-boot and r-mass.
(r-flexmix)[propagated-inputs]: Add r-lattice and r-nnet.
(r-prabclus)[propagated-inputs]: Add r-mass.
(r-fpc)[propagated-inputs]: Add r-class, r-cluster, and r-mass.
(r-rcppeigen)[propagated-inputs]: Add r-matrix.
(r-matrixmodels)[propagated-inputs]: Add r-matrix.
(r-lme4)[propagated-inputs]: Add r-mass and r-nlme.
(r-pbkrtest)[propagated-inputs]: Add r-mass and r-matrix.
(r-car)[propagated-inputs]: Add r-mass, r-mgcv, and r-nnet.
(r-tclust)[propagated-inputs]: Add r-cluster.

7 years agognu: r-survival: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:20:03 +0000 (00:20 +0100)]
gnu: r-survival: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-survival): Move up to set of recommended R
packages.

7 years agognu: Add r-spatial.
Ricardo Wurmus [Sat, 11 Mar 2017 23:19:41 +0000 (00:19 +0100)]
gnu: Add r-spatial.

* gnu/packages/statistics.scm (r-spatial): New variable.

7 years agognu: r-rpart: Move to the set of recommended packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:19:00 +0000 (00:19 +0100)]
gnu: r-rpart: Move to the set of recommended packages.

* gnu/packages/statistics.scm (r-rpart): Move up to the set of recommended
packages.

7 years agognu: r-nnet: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:17:55 +0000 (00:17 +0100)]
gnu: r-nnet: Move to set of recommended R packages.

* gnu/packages/machine-learning.scm (r-nnet): Move from here...
* gnu/packages/statistics.scm (r-nnet): ...to here because the other
recommended R packages are here.

7 years agognu: r-mgcv: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:17:13 +0000 (00:17 +0100)]
gnu: r-mgcv: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-mgcv): Move up to set of recommended R
packages.

7 years agognu: Add r-nlme.
Ricardo Wurmus [Sat, 11 Mar 2017 23:16:44 +0000 (00:16 +0100)]
gnu: Add r-nlme.

* gnu/packages/statistics.scm (r-nlme): New variable.

7 years agognu: r-matrix: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:15:44 +0000 (00:15 +0100)]
gnu: r-matrix: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-matrix): Move to set of recommended R
packages.

7 years agognu: r-lattice: Move to other recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:14:34 +0000 (00:14 +0100)]
gnu: r-lattice: Move to other recommended R packages.

* gnu/packages/statistics.scm (r-lattice): Move to the set of recommended R
packages.

7 years agognu: Add r-kernsmooth.
Ricardo Wurmus [Sat, 11 Mar 2017 23:14:00 +0000 (00:14 +0100)]
gnu: Add r-kernsmooth.

* gnu/packages/statistics.scm (r-kernsmooth): New variable.

7 years agognu: Add r-foreign.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:43 +0000 (00:13 +0100)]
gnu: Add r-foreign.

* gnu/packages/statistics.scm (r-foreign): New variable.

7 years agognu: Add r-codetools.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:27 +0000 (00:13 +0100)]
gnu: Add r-codetools.

* gnu/packages/statistics.scm (r-codetools): New variable.

7 years agognu: Add r-cluster.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:01 +0000 (00:13 +0100)]
gnu: Add r-cluster.

* gnu/packages/statistics.scm (r-cluster): New variable.

7 years agognu: Add r-class.
Ricardo Wurmus [Sat, 11 Mar 2017 23:12:41 +0000 (00:12 +0100)]
gnu: Add r-class.

* gnu/packages/statistics.scm (r-class): New variable.

7 years agognu: Add r-mass.
Ricardo Wurmus [Sat, 11 Mar 2017 23:12:18 +0000 (00:12 +0100)]
gnu: Add r-mass.

* gnu/packages/statistics.scm (r-mass): New variable.

7 years agognu: Add r-boot.
Ricardo Wurmus [Sat, 11 Mar 2017 23:11:56 +0000 (00:11 +0100)]
gnu: Add r-boot.

* gnu/packages/statistics.scm (r-boot): New variable.

7 years agodoc: Really document 'guix pack --format'.
Ludovic Courtès [Fri, 17 Mar 2017 08:44:08 +0000 (09:44 +0100)]
doc: Really document 'guix pack --format'.

* doc/guix.texi (Invoking guix pack): Properly document --format.

7 years agognu: youtube-dl: Update to 2017.03.16.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 02:08:45 +0000 (03:08 +0100)]
gnu: youtube-dl: Update to 2017.03.16.

* gnu/packages/video.scm (youtube-dl): Update to 2017.03.16.

7 years agognu: asciidoc: Use local docbook-xml package.
Kei Kebreau [Thu, 16 Mar 2017 05:37:42 +0000 (01:37 -0400)]
gnu: asciidoc: Use local docbook-xml package.

* gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xml.
[arguments]: Add 'make-local-docbook-xml' phase.

7 years agognu: Add knot.
Tobias Geerinckx-Rice [Thu, 16 Mar 2017 14:30:15 +0000 (15:30 +0100)]
gnu: Add knot.

* gnu/packages/dns.scm (knot): New variable.

7 years agognu: Add liburcu.
Tobias Geerinckx-Rice [Sun, 30 Oct 2016 15:32:22 +0000 (16:32 +0100)]
gnu: Add liburcu.

* gnu/packages/datastructures.scm (liburcu): New variable.

7 years agognu: dns: Fix typo and use @dfn in descriptions.
Tobias Geerinckx-Rice [Thu, 16 Mar 2017 15:08:42 +0000 (16:08 +0100)]
gnu: dns: Fix typo and use @dfn in descriptions.

* gnu/packages/dns.scm (bind)[description]: Use @dfn to expand acronyms.
(yadifa)[description]: Likewise, and fix a typo.

7 years agognu: linux-libre: Update to 4.10.3.
Leo Famulari [Thu, 16 Mar 2017 22:26:39 +0000 (18:26 -0400)]
gnu: linux-libre: Update to 4.10.3.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.10.3.
(%linux-libre-hash): Update hash.

7 years agognu: linux-libre@4.4: Update to 4.4.54.
Leo Famulari [Thu, 16 Mar 2017 22:25:55 +0000 (18:25 -0400)]
gnu: linux-libre@4.4: Update to 4.4.54.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.54.

7 years agognu: linux-libre@4.9: Update to 4.9.15.
Leo Famulari [Thu, 16 Mar 2017 22:24:51 +0000 (18:24 -0400)]
gnu: linux-libre@4.9: Update to 4.9.15.

* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.15.

7 years agognu: qemu: Fix CVE-2017-{2620,2630}.
Leo Famulari [Thu, 16 Mar 2017 18:58:13 +0000 (14:58 -0400)]
gnu: qemu: Fix CVE-2017-{2620,2630}.

* gnu/packages/patches/qemu-CVE-2017-2620.patch,
gnu/packages/patches/qemu-CVE-2017-2630.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/qemu.scm (qemu)[source]: Use them.

7 years agognu: virglrenderer: Fix CVE-2017-6386.
Leo Famulari [Thu, 16 Mar 2017 18:13:08 +0000 (14:13 -0400)]
gnu: virglrenderer: Fix CVE-2017-6386.

* gnu/packages/patches/virglrenderer-CVE-2017-6386.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/spice.scm (virglrenderer)[source]: Use it.

7 years agodoc: Reorganize categories.
Ludovic Courtès [Thu, 16 Mar 2017 22:03:40 +0000 (23:03 +0100)]
doc: Reorganize categories.

* doc/guix.texi: Move "guix build" to the "Software Development"
category; add "guix pack".

7 years agodoc: Mention 'guix pack' reproducibility.
Ludovic Courtès [Thu, 16 Mar 2017 21:59:33 +0000 (22:59 +0100)]
doc: Mention 'guix pack' reproducibility.

* doc/guix.texi (Invoking guix pack): Mention reproducibility.

7 years agopack: Allow for "-S /opt/foo=".
Ludovic Courtès [Thu, 16 Mar 2017 21:46:43 +0000 (22:46 +0100)]
pack: Allow for "-S /opt/foo=".

Reported by Andy Wingo.

* guix/scripts/pack.scm (%options): Use 'string-split' instead of
'string-tokenize'.

7 years agopack: Honor symlinks in the Docker back-end.
Ludovic Courtès [Thu, 16 Mar 2017 21:40:06 +0000 (22:40 +0100)]
pack: Honor symlinks in the Docker back-end.

* guix/docker.scm (symlink-source, topmost-component): New procedures.
(build-docker-image): Add #:symlinks parameter and honor it.  Remove
hard-coded /bin symlink.
* guix/scripts/pack.scm (docker-image): Pass #:symlinks to
'build-docker-image'.

7 years agodocker: Build images in a reproducible fashion.
Ludovic Courtès [Thu, 16 Mar 2017 20:56:10 +0000 (21:56 +0100)]
docker: Build images in a reproducible fashion.

* guix/docker.scm (%tar-determinism-options): New variable.
(build-docker-image): Use it on the two 'tar' invocations.

7 years agopack: Use a fixed timestamp in Docker images.
Ludovic Courtès [Thu, 16 Mar 2017 20:41:38 +0000 (21:41 +0100)]
pack: Use a fixed timestamp in Docker images.

* guix/docker.scm (build-docker-image): Add #:creation-time parameter.
Use SRFI-19 'date->string' instead of 'strftime' et al.
* guix/scripts/pack.scm (docker-image)[build]: Pass #:creation-time to
'build-docker-image'.

7 years agopack: Add '--format' option and Docker output support.
Ludovic Courtès [Thu, 16 Mar 2017 17:02:59 +0000 (18:02 +0100)]
pack: Add '--format' option and Docker output support.

* guix/docker.scm: Remove dependency on (guix store) and (guix utils).
Use (guix build store-copy).  Load (json) lazily.
(build-docker-image): Remove #:system.  Add #:closure, #:compressor, and
'image' parameters.  Use 'uname' to determine the architecture.  Remove
use of 'call-with-temporary-directory'.  Use 'read-reference-graph' to
compute ITEMS.  Honor #:compressor.
* guix/scripts/pack.scm (docker-image): New procedure.
(%default-options): Add 'format'.
(%formats): New variable.
(%options, show-help): Add '--format'.
(guix-pack): Honor '--format'.
* guix/scripts/archive.scm: Remove '--format' option.  This reverts
commits 1545a012cb7cd78e25ed99ecee26df457be590e9,
01445711db6771cea6122859c3f717f130359f55, and
03476a23ff2d4175b7d3c808726178f764359bec.
* doc/guix.texi (Invoking guix pack): Document '--format'.
(Invoking guix archive): Remove documentation of '--format'.

7 years agopack: Honor command-line options related to the store.
Ludovic Courtès [Thu, 16 Mar 2017 16:31:10 +0000 (17:31 +0100)]
pack: Honor command-line options related to the store.

* guix/scripts/pack.scm (guix-pack): Call
'set-build-options-from-command-line'.

7 years agomemoization: Micro-optimize code produced by 'define-cache-procedure'.
Ludovic Courtès [Thu, 16 Mar 2017 12:41:51 +0000 (13:41 +0100)]
memoization: Micro-optimize code produced by 'define-cache-procedure'.

* guix/memoization.scm (%nothing): Remove.
(define-cache-procedure): Make '%nothing' a local variable, with a
literal list.

7 years agoservices: connman: Rework service.
Mathieu Othacehe [Mon, 20 Feb 2017 15:25:44 +0000 (16:25 +0100)]
services: connman: Rework service.

* gnu/services/networking.scm (connman-service): Remove.
(<connman-configuration>): New record specifying the package
to be used (connman) and whether vpn plugin shall be
disabled (disable-vpn?).
(connman-configuration): New exported variable.
(connman-configuration?): New exported variable.
(connman-service-type): Export it.

* doc/guix.texi (Networking Services): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agogexp: Add '=>' syntax to import computed modules.
Ludovic Courtès [Wed, 15 Mar 2017 21:14:36 +0000 (22:14 +0100)]
gexp: Add '=>' syntax to import computed modules.

* guix/gexp.scm (imported-files)[file-pair]: Add case for pairs where
the cdr is not a string.
(imported-modules): Support '=>' syntax in MODULES.
* tests/gexp.scm ("imported-files with file-like objects")
("gexp->derivation & with-imported-module & computed module"): New tests.
* doc/guix.texi (G-Expressions): Document '=>' syntax for
'with-imported-modules'.

7 years agoutils: Move base16 procedures to (guix base16).
Ludovic Courtès [Wed, 15 Mar 2017 20:54:34 +0000 (21:54 +0100)]
utils: Move base16 procedures to (guix base16).

* guix/utils.scm (bytevector->base16-string, base16-string->bytevector):
Move to...
* guix/base16.scm: ... here.  New file.
* tests/utils.scm ("bytevector->base16-string->bytevector"): Move to...
* tests/base16.scm: ... here.  New file.
* Makefile.am (MODULES): Add guix/base16.scm.
(SCM_TESTS): Add tests/base16.scm.
* build-aux/download.scm, guix/derivations.scm,
guix/docker.scm, guix/import/snix.scm, guix/pk-crypto.scm,
guix/scripts/authenticate.scm, guix/scripts/download.scm,
guix/scripts/hash.scm, guix/store.scm, tests/hash.scm,
tests/pk-crypto.scm: Adjust imports accordingly.

7 years agognu: password-store: Fix compatibility with GnuPG 2.1.19.
Clément Lassieur [Wed, 15 Mar 2017 22:49:32 +0000 (23:49 +0100)]
gnu: password-store: Fix compatibility with GnuPG 2.1.19.

* gnu/packages/patches/password-store-gnupg-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/password-utils.scm (password-store)[source]: Use it.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
7 years agognu: Add r-seurat.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:55:30 +0000 (19:55 +0100)]
gnu: Add r-seurat.

* gnu/packages/bioinformatics.scm (r-seurat): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
7 years agognu: sra-tools: Update to 2.8.2-1.
Ricardo Wurmus [Thu, 16 Mar 2017 12:40:36 +0000 (13:40 +0100)]
gnu: sra-tools: Update to 2.8.2-1.

* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.8.2-1.
[arguments]: Add DEFAULT_CRT and DEFAULT_KFG to make flags.

7 years agognu: ncbi-vdb: Install configuration files.
Ricardo Wurmus [Thu, 16 Mar 2017 12:39:53 +0000 (13:39 +0100)]
gnu: ncbi-vdb: Install configuration files.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Add phase
"install-configuration-files".

7 years agognu: ncbi-vdb: Override search path for java-ngs.
Ricardo Wurmus [Thu, 16 Mar 2017 12:38:39 +0000 (13:38 +0100)]
gnu: ncbi-vdb: Override search path for java-ngs.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Patch "package.prl"
to ensure that java-ngs is found by the configure script; remove configure
flag "--with-ngs-java-prefix".

7 years agognu: ncbi-vdb: Use modify-phases syntax.
Ricardo Wurmus [Thu, 16 Mar 2017 09:20:56 +0000 (10:20 +0100)]
gnu: ncbi-vdb: Use modify-phases syntax.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Use modify-phases
syntax.

7 years agognu: ncbi-vdb: Update to 2.8.2.
Ricardo Wurmus [Thu, 16 Mar 2017 09:19:25 +0000 (10:19 +0100)]
gnu: ncbi-vdb: Update to 2.8.2.

* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.8.2.

7 years agognu: ngs-sdk: Update to 1.3.0.
Ricardo Wurmus [Thu, 16 Mar 2017 09:18:48 +0000 (10:18 +0100)]
gnu: ngs-sdk: Update to 1.3.0.

* gnu/packages/bioinformatics.scm (ngs-sdk): Update to 1.3.0.

7 years agognu: Add pzstd.
Tobias Geerinckx-Rice [Mon, 20 Feb 2017 21:31:35 +0000 (22:31 +0100)]
gnu: Add pzstd.

* gnu/packages/compression.scm (pzstd): New variable.

7 years agognu: Add zstd.
Tobias Geerinckx-Rice [Sat, 5 Nov 2016 14:45:53 +0000 (15:45 +0100)]
gnu: Add zstd.

* gnu/packages/compression.scm (zstd): New variable.

7 years agognu: python-publicsuffix2: Update to 2.20160818.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:39:27 +0000 (23:39 +0100)]
gnu: python-publicsuffix2: Update to 2.20160818.

* gnu/packages/python.scm (python-publicsuffix2): Update to 2.20160818.

7 years agognu: awscli: Update to 1.11.63.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:38:24 +0000 (23:38 +0100)]
gnu: awscli: Update to 1.11.63.

* gnu/packages/python.scm (awscli): Update to 1.11.63.

7 years agognu: python-botocore: Update to 1.5.26.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:37:35 +0000 (23:37 +0100)]
gnu: python-botocore: Update to 1.5.26.

* gnu/packages/python.scm (python-botocore): Update to 1.5.26.

7 years agognu: python-ptyprocess: Update to 0.5.1.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:36:57 +0000 (23:36 +0100)]
gnu: python-ptyprocess: Update to 0.5.1.

* gnu/packages/python.scm (python-ptyprocess): Update to 0.5.1.

7 years agognu: Add prboom-plus.
Kei Kebreau [Thu, 16 Mar 2017 03:14:42 +0000 (23:14 -0400)]
gnu: Add prboom-plus.

* gnu/packages/games.scm (prboom-plus): New variable.

7 years agognu: Add tftp-hpa.
Gábor Boskovits [Wed, 15 Mar 2017 22:14:43 +0000 (18:14 -0400)]
gnu: Add tftp-hpa.

* gnu/packages/networking.scm (tftp-hpa): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: guile-next: Update to 2.2.0.
Andy Wingo [Wed, 15 Mar 2017 21:58:35 +0000 (22:58 +0100)]
gnu: guile-next: Update to 2.2.0.

* gnu/packages/guile.scm (guile-next): Update to 2.2.0.

7 years agognu: profanity: Make the source URL version-agnostic.
Leo Famulari [Wed, 15 Mar 2017 21:18:47 +0000 (17:18 -0400)]
gnu: profanity: Make the source URL version-agnostic.

* gnu/packages/messaging.scm (profanity)[source]: Use (version) in the source
URL.

7 years agognu: units: Update to 2.14.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:58:59 +0000 (21:58 +0100)]
gnu: units: Update to 2.14.

* gnu/packages/maths.scm (units): Update to 2.14.

7 years agognu: no-more-secrets: Update to 0.3.2.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:09:19 +0000 (21:09 +0100)]
gnu: no-more-secrets: Update to 0.3.2.

* gnu/packages/games.scm (no-more-secrets): Update to 0.3.2.

7 years agognu: mailutils: Update to 3.2.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:57:58 +0000 (21:57 +0100)]
gnu: mailutils: Update to 3.2.

* gnu/packages/mail.scm (mailutils): Update to 3.2.

7 years agognu: Use INSTALL-FILE where appropriate.
Tobias Geerinckx-Rice [Mon, 13 Mar 2017 15:19:06 +0000 (16:19 +0100)]
gnu: Use INSTALL-FILE where appropriate.

* gnu/packages/admin.scm (wpa-supplicant-minimal): Substitute the simpler
INSTALL-FILE for COPY-FILE when invoked with redundant arguments.
* gnu/packages/bioinformatics.scm (couger, aragorn, express-beta-diversity,
edirect, fasttree, rsem, samtools-0.1): Likewise.
* gnu/packages/code.scm (withershins): Likewise.
* gnu/packages/conky.scm (conky): Likewise.
* gnu/packages/debug.scm (delta, american-fuzzy-lop): Likewise.
* gnu/packages/emacs.scm (emacs-mit-scheme-doc): Likewise.
* gnu/packages/engineering.scm (librecad): Likewise.

7 years agognu: cryptsetup: Update to 1.7.4.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 18:50:40 +0000 (19:50 +0100)]
gnu: cryptsetup: Update to 1.7.4.

* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.4.

7 years agognu: man-pages: Update to 4.10.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 15:04:06 +0000 (16:04 +0100)]
gnu: man-pages: Update to 4.10.

* gnu/packages/man.scm (man-pages): Update to 4.10.
[home-page]: Use HTTPS.

7 years agognu: Add profanity.
Mekeor Melire [Thu, 2 Mar 2017 22:31:50 +0000 (23:31 +0100)]
gnu: Add profanity.

* gnu/packages/messaging.scm (profanity): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add libstrophe.
Mekeor Melire [Thu, 2 Mar 2017 22:31:09 +0000 (23:31 +0100)]
gnu: Add libstrophe.

* gnu/packages/messaging.scm (libstrophe): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add libmesode.
Mekeor Melire [Thu, 2 Mar 2017 22:30:18 +0000 (23:30 +0100)]
gnu: Add libmesode.

* gnu/packages/messaging.scm (libmesode): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: bitcoin-core: Update to 0.14.0.
Leo Famulari [Wed, 15 Mar 2017 02:09:33 +0000 (22:09 -0400)]
gnu: bitcoin-core: Update to 0.14.0.

* gnu/packages/finance.scm (bitcoin-core): Update to 0.14.0.

7 years agobuild: Prefer Guile 2.2 over 2.0.
Ludovic Courtès [Wed, 15 Mar 2017 14:18:39 +0000 (15:18 +0100)]
build: Prefer Guile 2.2 over 2.0.

* configure.ac: In 'GUILE_PKG', prefer 2.2 over 2.0.  Remove warning
about 2.2 not being fully supported.
* doc/guix.texi (Requirements): Mention Guile 2.2.x.

7 years agotests: Expect less accurate location info in 2.2.0.
Ludovic Courtès [Wed, 15 Mar 2017 14:08:39 +0000 (15:08 +0100)]
tests: Expect less accurate location info in 2.2.0.

* tests/guix-system.sh: Work around inaccurate location info in 2.2.0.

7 years agostore: Adjust UTF-8 test to Guile 2.2.
Ludovic Courtès [Wed, 15 Mar 2017 12:54:29 +0000 (13:54 +0100)]
store: Adjust UTF-8 test to Guile 2.2.

* tests/store.scm ("current-build-output-port, UTF-8 + garbage"): On
Guile 2.2, expect REPLACEMENT CHARACTER instead of '?'.

7 years agosyscalls: Adjust 'clone' to Guile 2.2.
Ludovic Courtès [Wed, 15 Mar 2017 12:41:18 +0000 (13:41 +0100)]
syscalls: Adjust 'clone' to Guile 2.2.

Before that, something like:

  (call-with-container
    (lambda ()
      (match (primitive-fork)
        …)))

would hang in 'primitive-fork' as the child process (the one started in
the container) would try to pthread_join the finalization thread in
'stop_finalization_thread' in libguile, not knowing that this thread is
nonexistent.

* guix/build/syscalls.scm (%set-automatic-finalization-enabled?!): New
procedure.
(without-automatic-finalization): New macro.
(clone): Wrap PROC call in 'without-automatic-finalization'.