redsocks: init at 0.5
This commit is contained in:
parent
f66d7823ec
commit
68a609b059
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchFromGitHub, libevent }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pkg = "redsocks";
|
||||||
|
version = "0.5";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pkg}-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "darkk";
|
||||||
|
repo = pkg;
|
||||||
|
rev = "release-${version}";
|
||||||
|
sha256 = "170cpvvivb6y2kwsqj9ppx5brgds9gkn8mixrnvj8z9c15xhvplm";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase =
|
||||||
|
''
|
||||||
|
mkdir -p $out/{bin,share}
|
||||||
|
mv redsocks $out/bin
|
||||||
|
mv doc $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ libevent ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Transparent redirector of any TCP connection to proxy";
|
||||||
|
homepage = http://darkk.net.ru/redsocks/;
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
maintainers = [ ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3560,6 +3560,8 @@ with pkgs;
|
||||||
|
|
||||||
redmine = callPackage ../applications/version-management/redmine { };
|
redmine = callPackage ../applications/version-management/redmine { };
|
||||||
|
|
||||||
|
redsocks = callPackage ../tools/networking/redsocks { };
|
||||||
|
|
||||||
rt = callPackage ../servers/rt { };
|
rt = callPackage ../servers/rt { };
|
||||||
|
|
||||||
rtmpdump = callPackage ../tools/video/rtmpdump { };
|
rtmpdump = callPackage ../tools/video/rtmpdump { };
|
||||||
|
|
Loading…
Reference in New Issue