Ludovic Courtès
db3f2b61ad
pack: Allow for "-S /opt/foo=".
...
Reported by Andy Wingo.
* guix/scripts/pack.scm (%options): Use 'string-split' instead of
'string-tokenize'.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
9e84ea3673
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'.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
54241dc8e6
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.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
84dda5a9c0
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'.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
b1edfbc37f
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 1545a012cb
,
01445711db
, and
03476a23ff
.
* doc/guix.texi (Invoking guix pack): Document '--format'.
(Invoking guix archive): Remove documentation of '--format'.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
2971f39c33
pack: Honor command-line options related to the store.
...
* guix/scripts/pack.scm (guix-pack): Call
'set-build-options-from-command-line'.
2017-03-16 22:50:15 +01:00
Ludovic Courtès
146db52a18
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.
2017-03-16 22:50:15 +01:00
Mathieu Othacehe
34d60c49cb
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>
2017-03-16 22:50:14 +01:00
Ludovic Courtès
d938a58bee
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'.
2017-03-16 22:50:14 +01:00
Ludovic Courtès
4c0c4db070
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.
2017-03-16 22:50:14 +01:00
Clément Lassieur
2c715a9223
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>
2017-03-16 19:58:43 +01:00
Raoul Jean Pierre Bonnal
2441c28414
gnu: Add r-seurat.
...
* gnu/packages/bioinformatics.scm (r-seurat): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2017-03-16 14:54:58 +01:00
Ricardo Wurmus
79849358f8
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.
2017-03-16 13:40:36 +01:00
Ricardo Wurmus
d5e1716239
gnu: ncbi-vdb: Install configuration files.
...
* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Add phase
"install-configuration-files".
2017-03-16 13:39:53 +01:00
Ricardo Wurmus
558e23074e
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".
2017-03-16 13:38:39 +01:00
Ricardo Wurmus
701111989e
gnu: ncbi-vdb: Use modify-phases syntax.
...
* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Use modify-phases
syntax.
2017-03-16 10:20:56 +01:00
Ricardo Wurmus
5021f54787
gnu: ncbi-vdb: Update to 2.8.2.
...
* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.8.2.
2017-03-16 10:19:25 +01:00
Ricardo Wurmus
6c4ccf3228
gnu: ngs-sdk: Update to 1.3.0.
...
* gnu/packages/bioinformatics.scm (ngs-sdk): Update to 1.3.0.
2017-03-16 10:18:48 +01:00
Tobias Geerinckx-Rice
0f03c53168
gnu: Add pzstd.
...
* gnu/packages/compression.scm (pzstd): New variable.
2017-03-16 05:44:02 +01:00
Tobias Geerinckx-Rice
f6ac3101ff
gnu: Add zstd.
...
* gnu/packages/compression.scm (zstd): New variable.
2017-03-16 05:44:02 +01:00
Tobias Geerinckx-Rice
9186216268
gnu: python-publicsuffix2: Update to 2.20160818.
...
* gnu/packages/python.scm (python-publicsuffix2): Update to 2.20160818.
2017-03-16 05:44:02 +01:00
Tobias Geerinckx-Rice
192b887a03
gnu: awscli: Update to 1.11.63.
...
* gnu/packages/python.scm (awscli): Update to 1.11.63.
2017-03-16 05:44:01 +01:00
Tobias Geerinckx-Rice
d93985fe22
gnu: python-botocore: Update to 1.5.26.
...
* gnu/packages/python.scm (python-botocore): Update to 1.5.26.
2017-03-16 05:44:01 +01:00
Tobias Geerinckx-Rice
70fc93cb28
gnu: python-ptyprocess: Update to 0.5.1.
...
* gnu/packages/python.scm (python-ptyprocess): Update to 0.5.1.
2017-03-16 05:44:01 +01:00
Kei Kebreau
26a657f06a
gnu: Add prboom-plus.
...
* gnu/packages/games.scm (prboom-plus): New variable.
2017-03-15 23:14:42 -04:00
Gábor Boskovits
5b5cf3c765
gnu: Add tftp-hpa.
...
* gnu/packages/networking.scm (tftp-hpa): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-15 18:24:30 -04:00
Andy Wingo
80a725726d
gnu: guile-next: Update to 2.2.0.
...
* gnu/packages/guile.scm (guile-next): Update to 2.2.0.
2017-03-15 22:59:40 +01:00
Leo Famulari
dce8ac54b4
gnu: profanity: Make the source URL version-agnostic.
...
* gnu/packages/messaging.scm (profanity)[source]: Use (version) in the source
URL.
2017-03-15 17:20:27 -04:00
Tobias Geerinckx-Rice
cf8d068775
gnu: units: Update to 2.14.
...
* gnu/packages/maths.scm (units): Update to 2.14.
2017-03-15 22:19:40 +01:00
Tobias Geerinckx-Rice
3d602acb13
gnu: no-more-secrets: Update to 0.3.2.
...
* gnu/packages/games.scm (no-more-secrets): Update to 0.3.2.
2017-03-15 22:19:40 +01:00
Tobias Geerinckx-Rice
7ea523853c
gnu: mailutils: Update to 3.2.
...
* gnu/packages/mail.scm (mailutils): Update to 3.2.
2017-03-15 22:19:40 +01:00
Tobias Geerinckx-Rice
f38607536e
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.
2017-03-15 22:19:39 +01:00
Tobias Geerinckx-Rice
618e4bfbad
gnu: cryptsetup: Update to 1.7.4.
...
* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.4.
2017-03-15 22:19:39 +01:00
Tobias Geerinckx-Rice
4e128dd582
gnu: man-pages: Update to 4.10.
...
* gnu/packages/man.scm (man-pages): Update to 4.10.
[home-page]: Use HTTPS.
2017-03-15 22:19:38 +01:00
Mekeor Melire
a829c6501b
gnu: Add profanity.
...
* gnu/packages/messaging.scm (profanity): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-15 17:17:06 -04:00
Mekeor Melire
781d3b070c
gnu: Add libstrophe.
...
* gnu/packages/messaging.scm (libstrophe): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-15 17:17:06 -04:00
Mekeor Melire
13292ee570
gnu: Add libmesode.
...
* gnu/packages/messaging.scm (libmesode): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-15 17:17:06 -04:00
Leo Famulari
9e61d1534a
gnu: bitcoin-core: Update to 0.14.0.
...
* gnu/packages/finance.scm (bitcoin-core): Update to 0.14.0.
2017-03-15 15:48:43 -04:00
Ludovic Courtès
608e42e7c9
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.
2017-03-15 15:19:54 +01:00
Ludovic Courtès
13159c68ef
tests: Expect less accurate location info in 2.2.0.
...
* tests/guix-system.sh: Work around inaccurate location info in 2.2.0.
2017-03-15 15:19:54 +01:00
Ludovic Courtès
a9a0227c01
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 '?'.
2017-03-15 15:19:53 +01:00
Ludovic Courtès
70dfdd501a
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'.
2017-03-15 15:19:53 +01:00
Ludovic Courtès
81a0f1cdf1
zlib: Don't rely on EBADF being ignored by 'fport_close'.
...
In 2.2, 'fport_close' no longer swallows EBADF and instead raises a
'system-error' for this. This commit adjusts for 2.2.
* guix/zlib.scm (close-procedure): Remove.
(make-gzip-input-port): Use 'port->fdes' instead of 'fileno'.
Use 'gzclose' instead of 'close-procedure'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Don't check whether
PARENT is closed using 'port-closed?'. Instead, use 'seek' on the
underlying FD and check for EBADF.
2017-03-15 15:19:53 +01:00
Ludovic Courtès
bc551cf32b
maint: Mention guix-patches@gnu.org in 'HACKING'.
...
Fixes <http://bugs.gnu.org/25899 >.
* HACKING: Mention guix-patches@gnu.org .
2017-03-15 15:19:53 +01:00
Marius Bakke
bd102157a1
gnu: mariadb: Update to 10.1.22 [fixes CVE-2017-3302 and CVE-2017-3313].
...
* gnu/packages/databases.scm (mariadb): Update to 10.1.22.
2017-03-15 15:08:31 +01:00
Efraim Flashner
27bf00e691
gnu: python-waf: Update to 1.9.8.
...
* gnu/packages/python.scm (python-waf, python2-waf): Update to 1.9.8.
[home-page]: Use https.
2017-03-15 13:08:56 +02:00
Tobias Geerinckx-Rice
283234a309
gnu: direnv: Update to 2.11.3.
...
* gnu/packages/shellutils.scm (direnv): Update to 2.11.3.
2017-03-15 03:45:57 +01:00
Tobias Geerinckx-Rice
68c10f31f9
gnu: conky: Update to 1.10.6.
...
* gnu/packages/conky.scm (conky): Update to 1.10.6.
2017-03-15 03:45:56 +01:00
Tobias Geerinckx-Rice
708e76287c
gnu: obs: Update to 18.0.1.
...
* gnu/packages/video.scm (obs): Update to 18.0.1.
2017-03-15 03:45:56 +01:00
Tobias Geerinckx-Rice
17753e6edb
gnu: youtube-dl: Update to 2017.03.15.
...
* gnu/packages/video.scm (youtube-dl): Update to 2017.03.15.
2017-03-15 03:45:55 +01:00