3
0
Fork 0
forked from mirrors/nixpkgs

TOR: version bump

svn path=/nixpkgs/trunk/; revision=32692
This commit is contained in:
Evgeny Egorochkin 2012-02-29 13:30:01 +00:00
parent cff68ececb
commit b01a720d65

View file

@ -1,17 +1,17 @@
{ stdenv, fetchurl, libevent, openssl, zlib }: { stdenv, fetchurl, libevent, openssl, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tor-0.2.1.30"; name = "tor-0.2.2.35";
src = fetchurl { src = fetchurl {
url = "http://www.torproject.org/dist/${name}.tar.gz"; url = "http://www.torproject.org/dist/${name}.tar.gz";
sha256 = "02g15k8w5r57r9r6lz0sxzzvqx200y397y142cjswsd4zyla2lpk"; sha256 = "f141a41fffd31494a0f96ebbb6b999eab33ce62d5c31f81222a0acd034adbf3a";
}; };
patchPhase = # patchPhase =
# DNS lookups fail in chroots. # DNS lookups fail in chroots.
'' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g # '' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g
''; # '';
buildInputs = [ libevent openssl zlib ]; buildInputs = [ libevent openssl zlib ];