2015-01-14 22:07:53 +01:00
|
|
|
{ stdenv, fetchurl, libevent }:
|
2009-02-26 00:21:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "nylon-1.21";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://monkey.org/~marius/nylon/nylon-1.21.tar.gz;
|
|
|
|
sha256 = "34c132b005c025c1a5079aae9210855c80f50dc51dde719298e1113ad73408a4";
|
|
|
|
};
|
|
|
|
|
2015-01-14 22:07:53 +01:00
|
|
|
patches = [ ./configure-use-solib.patch ];
|
|
|
|
|
2009-02-26 00:21:44 +01:00
|
|
|
configureFlags = [ "--with-libevent=${libevent}" ];
|
|
|
|
|
|
|
|
buildInputs = [ libevent ];
|
|
|
|
|
2015-01-14 22:07:53 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-26 00:21:44 +01:00
|
|
|
homepage = http://monkey.org/~marius/nylon;
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Proxy server, supporting SOCKS 4 and 5, as well as a mirror mode";
|
2015-01-14 22:07:53 +01:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ edwtjo viric ];
|
|
|
|
platform = platforms.linux;
|
2009-02-26 00:21:44 +01:00
|
|
|
};
|
|
|
|
}
|