nixpkgs/pkgs/tools/security/tor/default.nix
Evgeny Egorochkin c76f114d20 tor:version bump
svn path=/nixpkgs/trunk/; revision=24944
2010-12-01 04:07:44 +00:00

43 lines
1.3 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ stdenv, fetchurl, libevent, openssl, zlib }:
stdenv.mkDerivation rec {
name = "tor-0.2.1.27";
src = fetchurl {
url = "http://www.torproject.org/dist/${name}.tar.gz";
sha256 = "07367wynpbbqnwzis3z8zf8k9b6cgywcrjzn7gpdal8m4dkmqkgc";
};
patchPhase =
# DNS lookups fail in chroots.
'' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g
'';
buildInputs = [ libevent openssl zlib ];
doCheck = true;
meta = {
homepage = http://www.torproject.org/;
description = "Tor, an anonymous network router to improve privacy on the Internet";
longDescription=''
Tor protects you by bouncing your communications around a distributed
network of relays run by volunteers all around the world: it prevents
somebody watching your Internet connection from learning what sites you
visit, and it prevents the sites you visit from learning your physical
location. Tor works with many of your existing applications, including
web browsers, instant messaging clients, remote login, and other
applications based on the TCP protocol.
'';
license="mBSD";
maintainers =
[ # Russell OConnor <roconnor@theorem.ca> ?
stdenv.lib.maintainers.ludo
];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}