2022-09-30 00:44:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, libxcrypt }:
|
2016-07-11 01:41:02 +00:00
|
|
|
|
2021-08-01 18:11:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "srelay";
|
|
|
|
version = "0.4.8";
|
2016-07-11 01:41:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-01 18:11:18 +00:00
|
|
|
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-${version}/srelay-${version}.tar.gz";
|
2018-02-28 00:48:19 +00:00
|
|
|
sha256 = "1sn6005aqyfvrlkm5445cyyaj6h6wfyskfncfmds55x34hfyxpvl";
|
2016-07-11 01:41:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./arm.patch ];
|
|
|
|
|
2022-09-30 00:44:41 +00:00
|
|
|
buildInputs = [ libxcrypt ];
|
|
|
|
|
2016-07-11 01:41:02 +00:00
|
|
|
installPhase = "install -D srelay $out/bin/srelay";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A SOCKS proxy and relay";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://socks-relay.sourceforge.net/";
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.bsd3;
|
2022-12-06 20:47:40 +00:00
|
|
|
# never built on aarch64-linux since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isLinux && stdenv.isAarch64;
|
2016-07-11 01:41:02 +00:00
|
|
|
};
|
|
|
|
}
|