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:
commit
988ca691c4
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
|
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
|
||||||
, libseccomp, systemd, libcap
|
, libseccomp, systemd, libcap, lzma, zstd, scrypt
|
||||||
|
|
||||||
# for update.nix
|
# for update.nix
|
||||||
, writeScript
|
, writeScript
|
||||||
@ -14,17 +14,17 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "tor-0.3.4.9";
|
name = "tor-0.3.5.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dist.torproject.org/${name}.tar.gz";
|
url = "https://dist.torproject.org/${name}.tar.gz";
|
||||||
sha256 = "0jhnvnp08hsfrzgsvg5xnfxyaw3nzgg9h24cwbwnz6iby20i05qs";
|
sha256 = "17l31p58rsd30w4b6r4d8pbr84z3y7awahvjxbpmnlxc47y8f20v";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "geoip" ];
|
outputs = [ "out" "geoip" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libevent openssl zlib ] ++
|
buildInputs = [ libevent openssl zlib lzma zstd scrypt ] ++
|
||||||
stdenv.lib.optionals stdenv.isLinux [ libseccomp systemd libcap ];
|
stdenv.lib.optionals stdenv.isLinux [ libseccomp systemd libcap ];
|
||||||
|
|
||||||
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.cc.isGNU "-lgcc_s";
|
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.cc.isGNU "-lgcc_s";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user