Commit Graph

45291 Commits

Author SHA1 Message Date
Marius Bakke 18919cf928
gnu: python-translate-toolkit: Update home page.
* gnu/packages/python-xyz.scm (python-translate-toolkit)[home-page]: Use HTTPS.
2019-06-03 22:28:49 +02:00
Marius Bakke abb53e6f87
gnu: python-beautifulsoup4: Update to 4.7.1.
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.7.1.
[native-inputs]: Add PYTHON-SOUPSIEVE.
2019-06-03 22:28:49 +02:00
Marius Bakke d00b83fb8a
gnu: python-soupsieve: Fix python2 variant.
* gnu/packages/python-xyz.scm (python-soupsieve)[properties]: New field.
(python2-soupsieve): Inherit using STRIP-PYTHON2-VARIANT.
[propagated-inputs]: Inherit from BASE.
2019-06-03 22:28:49 +02:00
Marius Bakke f319409be0
gnu: Cython: Update home page.
* gnu/packages/python-xyz.scm (python-cython)[home-page]: Use HTTPS.
2019-06-03 22:28:49 +02:00
Marius Bakke cc1f240e11
gnu: Django: Update to 1.11.21 [fixes CVE-2019-12308, CVE-2019-11358].
* gnu/packages/django.scm (python-django): Update to 1.11.21.
2019-06-03 22:28:49 +02:00
Marius Bakke 558c733044
gnu: OpenSSL@1.1: Update to 1.1.1c.
* gnu/packages/tls.scm (openssl-next): Update to 1.1.1c.
2019-06-03 22:28:49 +02:00
Marius Bakke ee82f80df3
gnu: gphoto2: Update to 2.5.23.
* gnu/packages/photo.scm (gphoto2): Update to 2.5.23.
2019-06-03 22:28:49 +02:00
Marius Bakke c84366916f
gnu: libgphoto2: Update to 2.5.23.
* gnu/packages/photo.scm (libgphoto2): Update to 2.5.23.
2019-06-03 22:28:48 +02:00
Marius Bakke 2f92678c70
gnu: re2: Update to 2019-06-01.
* gnu/packages/regex.scm (re2): Update to 2019-06-01.
2019-06-03 22:28:48 +02:00
Marius Bakke 106deba71e
gnu: xorg-server: Update to 1.20.5.
* gnu/packages/xorg.scm (xorg-server): Update to 1.20.5.
(xorg-server-for-tests): Stay on 1.20.4.
2019-06-03 22:28:48 +02:00
Marius Bakke 618c7d6682
gnu: python-cryptography: Update to 2.7.
* gnu/packages/python-crypto.scm (python-cryptography-vectors,
python-cryptography): Update to 2.7.
2019-06-03 22:28:48 +02:00
Marius Bakke 0abafc468c
gnu: GnuPG: Update to 2.2.16.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.16.
2019-06-03 22:28:48 +02:00
Marius Bakke 3c75c66cf3
gnu: libsodium: Update to 1.0.18.
* gnu/packages/crypto.scm (libsodium): Update to 1.0.18.
2019-06-03 22:28:48 +02:00
Marius Bakke d3e3a6adcd
gnu: Remove libevent@2.0.
* gnu/packages/patches/libevent-2.0-CVE-2016-10195.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10196.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10197.patch,
gnu/packages/patches/libevent-2.0-evbuffer-add-use-last-with-datap.patch,
gnu/packages/patches/libevent-dns-tests.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/libevent.scm (libevevent-2.0): Remove variable.
2019-06-03 22:28:48 +02:00
Marius Bakke 1f889a5902
gnu: libevent: Update home page.
* gnu/packages/libevent.scm (libevent)[home-page]: Use HTTPS.
2019-06-03 22:28:48 +02:00
Robert Vollmert 5b315f3ea9
guix: import: simplify recursive import
This simplifies the logic of recursive-import, intending no
major functional changes. The package import function is no
longer called twice per package. Failed imports now make it
to the package stream as '() instead of #f.

* guix/import/utils.scm (recursive-import): Simplify.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-03 22:52:10 +03:00
Danny Milosavljevic aa901521e4
linux-boot: Fix e2fsck warning.
* gnu/build/linux-boot.scm (boot-system): Fix e2fsck warning.
2019-06-03 18:08:56 +02:00
Ludovic Courtès 3092f1b835
gnu: guix: Update to 4a54ed7.
* gnu/packages/package-management.scm (guix): Update to 4a54ed7.
2019-06-02 23:30:40 +02:00
Leo Famulari 78d1497dcc
gnu: WireGuard: Update to 0.0.20190601.
* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190601.
2019-06-02 16:33:39 -04:00
Mathieu Lirzin 4a54ed7749
gnu: emacs-google-translate: Update to 0.11.17.
* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.17.
[source]: Use 'git-fetch' method instead of 'url-fetch'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:19:19 +02:00
Robert Vollmert 959c9d159d
import: hackage: Parse braced properties.
This adds partial support for Cabal properties that use curly
braces instead of the layout rule.  See for example
https://hackage.haskell.org/package/cassava/

* guix/import/cabal.scm (read-braced-value): New procedure.
(is-property): Remove.
(is-layout-property, is-braced-property): New variables.
(lex-property): Rename to...
(lex-layout-property): ... this.
(lex-braced-property, lex-property): New procedures.
(lex-token): Add call to 'lex-property'.
* guix/tests/hackage.scm: Test braced description import.
* tests/hackage.scm (test-cabal-multiline-desc): Rename to...
(test-cabal-multiline-layout): ... this.
("hackage->guix-package test multiline desc"): Rename to...
("hackage->guix-package test multiline desc (layout)"): ... this.
(test-cabal-multiline-braced): New variable.
("hackage->guix-package test multiline desc (braced)"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:16:05 +02:00
Robert Vollmert 64d3181357
tests: hackage: Test multiline cabal description.
* tests/hackage.scm (test-cabal-multiline-desc): New variable.
("hackage->guix-package test multiline desc"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:12:19 +02:00
Robert Vollmert ea35f5c599
tests: Fix hackage tests.
This is a followup to 1cc12357a6.

* tests/hackage.scm: ghc-mtl is no longer added as an input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:07:53 +02:00
Ludovic Courtès b90ae065b5
substitute: Select the best compression methods.
When a server publishes several URLs with different compression methods,
'guix substitute' can now choose the best one among the compression
methods that it supports.

* guix/scripts/substitute.scm (<narinfo>)[uri]: Replace with...
[uris]: ... this.
[compression]: Replace with...
[compressions]: ... this.
[file-size]: Replace with...
[file-sizes]: ... this.
[file-hash]: Replace with...
[file-hashes]: ... this.
(narinfo-maker): Adjust accordingly.  Ensure 'file-sizes' and
'file-hashes' have the right length.
(assert-valid-signature, valid-narinfo?): Use the first element of
'narinfo-uris' in error messages.
(read-narinfo): Expect "URL", "Compression", "FileSize", and "FileHash"
to occur multiple times.
(display-narinfo-data): Call 'select-uri' to determine the file size.
(%compression-methods): New variable.
(supported-compression?, compresses-better?, select-uri): New
procedures.
(process-substitution): Call 'select-uri' to select the URI and
compression.
* guix/scripts/weather.scm (report-server-coverage): Account for all the
values returned by 'narinfo-file-sizes'.
* tests/substitute.scm ("substitute, narinfo with several URLs"): New
test.
2019-06-02 22:01:57 +02:00
Ludovic Courtès b8fa86adfc
publish: '--compression' can be repeated.
This allows 'guix publish' to compress and advertise multiple
compression methods from which users can choose.

* guix/scripts/publish.scm (actual-compression): Rename to...
(actual-compressions): ... this.  Expect REQUESTED to be a list, and
always return a list.
(%default-options): Remove 'compression.
(store-item->recutils): New procedure.
(narinfo-string): Change #:compression to #:compressions (plural).
Adjust accordingly.
(render-narinfo, render-narinfo/cached): Likewise.
(bake-narinfo+nar): Change #:compression to #:compressions.
[compressed-nar-size]: New procedure.
Call 'compress-nar' for each item returned by 'actual-compressions'.
Create a narinfo for each compression.
(effective-compression): New procedure.
(make-request-handler): Change #:compression to #:compressions.
Use 'effective-compression' to determine the applicable compression.
(guix-publish): Adjust handling of '--compression'.
Print a message for each compression that is enabled.
* tests/publish.scm ("/*.narinfo"): Adjust to new narinfo field
ordering.
("/*.narinfo with properly encoded '+' sign"): Likewise.
("/*.narinfo with lzip + gzip"): New test.
("with cache, lzip + gzip"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
2019-06-02 22:01:57 +02:00
Ludovic Courtès dec4b3aa18
gnu: Add guile-srfi-159.
* gnu/packages/guile-xyz.scm (guile-srfi-159): New variable.
2019-06-02 22:01:57 +02:00
Ludovic Courtès e006f7493f
build-system/guile: Display progress report as expected by (guix status).
* guix/build/guile-build-system.scm (report-build-progress): Use a
format string suitable for (guix status).
2019-06-02 22:01:34 +02:00
Ludovic Courtès 30eb738366
build-system/guile: Add #:not-compiled-file-regexp.
* guix/build/guile-build-system.scm (build): Add
 #:not-compiled-file-regexp and honor it.
* guix/build-system/guile.scm (guile-build): Likewise.
(guile-cross-build): Likewise.
2019-06-02 22:01:34 +02:00
Ludovic Courtès abeb54c00b
build-system/guile: Improve reporting of 'guild compile' failures.
* guix/build/guile-build-system.scm (invoke-each)[processes]: New
variable.
[wait-for-one-process]: Check PROCESSES and update it.
[fork-and-run-command]: Update PROCESSES.
2019-06-02 22:01:34 +02:00
Jan Nieuwenhuizen bdf2dd797e
gnu: Add guile-gi.
* gnu/packages/guile-xyz.scm (guile-gi): New variable.
2019-06-02 20:18:13 +02:00
Rutger Helling 08f48b7864
gnu: faudio: Update to 19.06.
* gnu/packages/audio.scm (faudio): Update to 19.06.
2019-06-02 11:37:26 +02:00
Vagrant Cascadian 54d1430246
gnu: debootstrap: Update to 114.
* gnu/packages/debian (debootstrap): Update to 114.
2019-06-01 18:35:36 -07:00
Vagrant Cascadian 76513c949b
gnu: debian-archive-keyring: Update to 2019.01.
* gnu/packages/debian (debian-archive-keyring): Update to 2019.01.
2019-06-01 17:38:48 -07:00
Nicolas Goaziou fd4d3939c4
gnu: giac: Update to 1.5.0-57.
* gnu/packages/algebra.scm (giac): Update to 1.5.0-57.
2019-06-02 02:21:15 +02:00
Nicolas Goaziou 1a2fa342f0
gnu: musescore: Update to 3.1.
* gnu/packages/music.scm (musescore): Update to 3.1.
2019-06-02 02:02:41 +02:00
Ludovic Courtès b2cddc6fb1
compile: Adjust for Guile 3.
* guix/build/compile.scm (%default-optimizations): Adjust to the new
names in Guile 2.9.2.
2019-06-02 01:38:36 +02:00
Ludovic Courtès bb64b2e7c0
herd: Use the Guile 2.2 'setvbuf' API.
* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
2019-06-02 01:38:36 +02:00
Ludovic Courtès 88bc3c89bf
progress: Provide the proper type for %PROGRESS-INTERVAL.
The (srfi srfi-19) module of Guile 2.9.2 catches the wrong type.

* guix/progress.scm (%progress-interval): Change type to TIME-DURATION.
2019-06-02 01:38:36 +02:00
Andy Tai 08be02bea1
gnu: Add terminator.
* gnu/packages/gnome.scm (terminator): Add at 1.91

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 01:38:36 +02:00
Robert Vollmert 3eb261e2e5
gnu: ghc-happy: Skip memory-hungry tests.
Tests fail reliably for me on a system with 2GB of available RAM, in
`issue93.a.hs` and `issue93.n.hs`.

* gnu/packages/haskell.scm (ghc-happy): Skip test "issue93".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 01:38:36 +02:00
Nicolas Goaziou 8b3560501f
gnu: keepassxc: Update to 2.4.2.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.4.2.
2019-06-02 01:31:52 +02:00
Nicolas Goaziou 36f5e67ab4
gnu: grammalecte: Update to 1.1.1.
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.1.
2019-06-02 01:23:40 +02:00
Ricardo Wurmus 7d6efd2b6c
gnu: r-openssl: Update to 1.4.
* gnu/packages/statistics.scm (r-openssl): Update to 1.4.
2019-06-01 23:04:26 +02:00
Ricardo Wurmus f53b4a6b77
gnu: r-biocviews: Update to 1.52.2.
* gnu/packages/bioinformatics.scm (r-biocviews): Update to 1.52.2.
[propagated-inputs]: Add r-biocmanager.
2019-06-01 23:04:26 +02:00
Timothy Sample 2ccc9d692a
gnu: Add gash.
* gnu/packages/shells.scm (gash): New variable.
2019-06-01 14:47:56 -04:00
Guillaume LE VAILLANT a0c3a2e3a1
gnu: Add txr.
* gnu/packages/lisp.scm (txr): New variable.
* gnu/packages/patches/txr-shell.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01 15:26:30 +02:00
Robert Vollmert 0be465924c
tests: Indent hackage tests
* tests/hackage.scm: Reindent using etc/indent-code.el.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01 15:26:30 +02:00
Robert Vollmert 4110cde005
tests: hackage: Don't mock hackage-fetch.
* tests/hackage.scm: Pass a string input port to tests instead of
mocking hackage download.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01 15:26:30 +02:00
Robert Vollmert 55c98f3261
tests: hackage: Factor out package pattern.
* tests/hackage.scm: Import result pattern matching via helper.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-01 15:26:30 +02:00
Ludovic Courtès 87399dfc20
lzlib: 'make-lzip-input-port' better handles end of decompression.
Suggested by Pierre Neidhardt <mail@ambrevar.xyz>.

* guix/lzlib.scm (lzread!): Call 'lz-decompress-finish' when
'feed-decoder!' returns EOF.  Call 'lz-decompress-finished?' to
determine end of compression.
2019-06-01 15:26:30 +02:00