summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2017-10-03 14:49:37 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2017-10-06 01:00:49 +0200
commit6c97f17fa1b56afd6c4b281837d1102c84b4022c (patch)
treed8593cb499fc79410fa17362ecffb9ba60be749e
parentb519d4626947443561b8a4d4163574b74fde5247 (diff)
downloadguix-6c97f17fa1b56afd6c4b281837d1102c84b4022c.tar.gz
gnu: tor: Enable directory protocol compression.
* gnu/packages/tor.scm (tor)[native-inputs]: Add pkg-config.
[inputs]: Add xz and zstd.
-rw-r--r--gnu/packages/tor.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 39c4ebcb9e..352e7f10a8 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -35,6 +35,7 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages autotools)
@@ -57,12 +58,15 @@
      `(#:configure-flags (list "--enable-gcc-hardening"
                                "--enable-linker-hardening")))
     (native-inputs
-     `(("python" ,python-2)))  ; for tests
+     `(("pkg-config" ,pkg-config)
+       ("python" ,python-2)))  ; for tests
     (inputs
      `(("zlib" ,zlib)
        ("openssl" ,openssl)
        ("libevent" ,libevent)
-       ("libseccomp" ,libseccomp)))
+       ("libseccomp" ,libseccomp)
+       ("xz" ,xz)
+       ("zstd" ,zstd)))
     (home-page "https://www.torproject.org/")
     (synopsis "Anonymous network router to improve privacy on the Internet")
     (description