1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/tools/networking/srelay/default.nix
2021-01-15 17:12:36 +07:00

22 lines
540 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
name = "srelay-0.4.8";
src = fetchurl {
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-0.4.8/srelay-0.4.8.tar.gz";
sha256 = "1sn6005aqyfvrlkm5445cyyaj6h6wfyskfncfmds55x34hfyxpvl";
};
patches = [ ./arm.patch ];
installPhase = "install -D srelay $out/bin/srelay";
meta = {
description = "A SOCKS proxy and relay";
homepage = "http://socks-relay.sourceforge.net/";
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
};
}