nixpkgs-suyu/pkgs/tools/networking/srelay/default.nix

22 lines
540 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, fetchurl }:
2016-07-11 03:41:02 +02:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
name = "srelay-0.4.8";
2016-07-11 03:41:02 +02:00
src = fetchurl {
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-0.4.8/srelay-0.4.8.tar.gz";
sha256 = "1sn6005aqyfvrlkm5445cyyaj6h6wfyskfncfmds55x34hfyxpvl";
2016-07-11 03:41:02 +02:00
};
patches = [ ./arm.patch ];
installPhase = "install -D srelay $out/bin/srelay";
meta = {
description = "A SOCKS proxy and relay";
homepage = "http://socks-relay.sourceforge.net/";
2021-01-15 10:19:50 +01:00
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
2016-07-11 03:41:02 +02:00
};
}