1{ stdenv, fetchurl, libevent }:
2
3stdenv.mkDerivation {
4 name = "nylon-1.21";
5 src = fetchurl {
6 url = http://monkey.org/~marius/nylon/nylon-1.21.tar.gz;
7 sha256 = "34c132b005c025c1a5079aae9210855c80f50dc51dde719298e1113ad73408a4";
8 };
9
10 patches = [ ./configure-use-solib.patch ];
11
12 configureFlags = [ "--with-libevent=${libevent}" ];
13
14 buildInputs = [ libevent ];
15
16 meta = with stdenv.lib; {
17 homepage = http://monkey.org/~marius/nylon;
18 description = "Proxy server, supporting SOCKS 4 and 5, as well as a mirror mode";
19 license = licenses.bsdOriginal;
20 maintainers = with maintainers; [ edwtjo viric ];
21 platform = platforms.linux;
22 };
23}