diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-01-20 22:28:38 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-01-20 22:54:36 +0100 |
commit | 483f11589efe7f9bfab561dc48f26b01096e7996 (patch) | |
tree | 26c6cf1d3410033063753bc1c73029e1f1995921 /gnu/packages/libevent.scm | |
parent | e509d1527d231b6460a20762e13b57cba2e43485 (diff) | |
download | guix-483f11589efe7f9bfab561dc48f26b01096e7996.tar guix-483f11589efe7f9bfab561dc48f26b01096e7996.tar.gz |
download: Add HTTPS support.
* guix/build/download.scm: Autoload (gnutls).
(tls-wrap): New procedure.
(open-connection-for-uri): Add support for `https'. Wrap the socket
with `tls-wrap' in that case.
(url-fetch): Add `https'.
* guix/download.scm (gnutls-derivation): New procedure.
(url-fetch)[need-gnutls?]: New variable.
Call `gnutls-derivation' when NEED-GNUTLS? is true, and add its output
to the `GUILE_LOAD_PATH' env. var. in that case.
Diffstat (limited to 'gnu/packages/libevent.scm')
0 files changed, 0 insertions, 0 deletions