1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Merge pull request #53683 from dtzWill/update/tor-3.5.7

tor: 0.3.4.9 -> 0.3.5.7, add few deps
This commit is contained in:
Joachim F 2019-01-10 17:12:57 +00:00 committed by GitHub
commit 988ca691c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
, libseccomp, systemd, libcap
, libseccomp, systemd, libcap, lzma, zstd, scrypt
# for update.nix
, writeScript
@ -14,17 +14,17 @@
}:
stdenv.mkDerivation rec {
name = "tor-0.3.4.9";
name = "tor-0.3.5.7";
src = fetchurl {
url = "https://dist.torproject.org/${name}.tar.gz";
sha256 = "0jhnvnp08hsfrzgsvg5xnfxyaw3nzgg9h24cwbwnz6iby20i05qs";
sha256 = "17l31p58rsd30w4b6r4d8pbr84z3y7awahvjxbpmnlxc47y8f20v";
};
outputs = [ "out" "geoip" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libevent openssl zlib ] ++
buildInputs = [ libevent openssl zlib lzma zstd scrypt ] ++
stdenv.lib.optionals stdenv.isLinux [ libseccomp systemd libcap ];
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.cc.isGNU "-lgcc_s";