mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
23 lines
570 B
Nix
23 lines
570 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "srelay";
|
|
version = "0.4.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-${version}/srelay-${version}.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;
|
|
};
|
|
}
|