nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

redsocks: init at 0.5

+35
+33
pkgs/tools/networking/redsocks/default.nix
··· 1 + { stdenv, fetchFromGitHub, libevent }: 2 + 3 + let 4 + pkg = "redsocks"; 5 + version = "0.5"; 6 + in 7 + stdenv.mkDerivation rec { 8 + name = "${pkg}-${version}"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "darkk"; 12 + repo = pkg; 13 + rev = "release-${version}"; 14 + sha256 = "170cpvvivb6y2kwsqj9ppx5brgds9gkn8mixrnvj8z9c15xhvplm"; 15 + }; 16 + 17 + installPhase = 18 + '' 19 + mkdir -p $out/{bin,share} 20 + mv redsocks $out/bin 21 + mv doc $out/share 22 + ''; 23 + 24 + buildInputs = [ libevent ]; 25 + 26 + meta = { 27 + description = "Transparent redirector of any TCP connection to proxy"; 28 + homepage = http://darkk.net.ru/redsocks/; 29 + license = stdenv.lib.licenses.asl20; 30 + maintainers = [ ]; 31 + platforms = stdenv.lib.platforms.all; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 3560 3560 3561 3561 redmine = callPackage ../applications/version-management/redmine { }; 3562 3562 3563 + redsocks = callPackage ../tools/networking/redsocks { }; 3564 + 3563 3565 rt = callPackage ../servers/rt { }; 3564 3566 3565 3567 rtmpdump = callPackage ../tools/video/rtmpdump { };