@@ -0,0 +1,21 @@
1+{ stdenv, fetchurl, openssl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "srelay-0.4.8b6";
5+
6+ src = fetchurl {
7+ url = "https://sourceforge.net/projects/socks-relay/files/socks-relay/srelay-0.4.8/srelay-0.4.8b6.tar.gz";
8+ sha256 = "1az9ds10hpmpw6bqk7fcd1w70001kz0mm48v3vgg2z6vrbmgn0qj";
9+ };
10+
11+ patches = [ ./arm.patch ];
12+
13+ installPhase = "install -D srelay $out/bin/srelay";
14+
15+ meta = {
16+ description = "A SOCKS proxy and relay";
17+ homepage = http://socks-relay.sourceforge.net/;
18+ platforms = stdenv.lib.platforms.unix;
19+ license = stdenv.lib.licenses.bsd3;
20+ };
21+}