tor: Add self as co-maintainer; add to Hydra; improve formatting.

svn path=/nixpkgs/trunk/; revision=21957
This commit is contained in:
Ludovic Courtès 2010-05-24 21:28:54 +00:00
parent bf9d470cc7
commit c293598da8

View File

@ -1,10 +1,10 @@
{stdenv, fetchurl, libevent, openssl, zlib}: { stdenv, fetchurl, libevent, openssl, zlib }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "tor-0.2.1.26"; name = "tor-0.2.1.26";
src = fetchurl { src = fetchurl {
url = "http://www.torproject.org/dist/tor-0.2.1.26.tar.gz"; url = "http://www.torproject.org/dist/${name}.tar.gz";
sha256 = "18kz1hs6lvckkddy4y36gi7ly03ar2il2xzkrf8bfgif1gnn1p3c"; sha256 = "18kz1hs6lvckkddy4y36gi7ly03ar2il2xzkrf8bfgif1gnn1p3c";
}; };
@ -13,13 +13,14 @@ stdenv.mkDerivation {
'' 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 ];
doCheck = true; doCheck = true;
meta = { meta = {
homepage = http://www.torproject.org/; homepage = http://www.torproject.org/;
description = "Tor is an onion router enabling Internet anonymity by thwarting network traffic analysis"; description = "Tor, an anonymous network router to improve privacy on the Internet";
longDescription='' longDescription=''
Tor protects you by bouncing your communications around a distributed Tor protects you by bouncing your communications around a distributed
network of relays run by volunteers all around the world: it prevents network of relays run by volunteers all around the world: it prevents
@ -29,7 +30,13 @@ stdenv.mkDerivation {
web browsers, instant messaging clients, remote login, and other web browsers, instant messaging clients, remote login, and other
applications based on the TCP protocol. applications based on the TCP protocol.
''; '';
license="bsd";
};
license="mBSD";
maintainers =
[ # Russell OConnor <roconnor@theorem.ca> ?
stdenv.lib.maintainers.ludo
];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
} }