Torsocks is not compatible with certain apps like Kopete. Will integrate both in
NixOS.
Revert "removing tsocks as it has been replaced by torsocks."
This reverts commit f947527f18.
This commit is contained in:
22
pkgs/development/libraries/tsocks/default.nix
Normal file
22
pkgs/development/libraries/tsocks/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tsocks-${version}";
|
||||
version = "1.8beta5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tsocks/${name}.tar.gz";
|
||||
sha256 = "0ixkymiph771dcdzvssi9dr2pk1bzaw9zv85riv3xl40mzspx7c4";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Transparent SOCKS v4 proxying library";
|
||||
homepage = http://tsocks.sourceforge.net/;
|
||||
license = "GPLv2";
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -5033,6 +5033,8 @@ let
|
||||
|
||||
unicap = callPackage ../development/libraries/unicap {};
|
||||
|
||||
tsocks = callPackage ../development/libraries/tsocks { };
|
||||
|
||||
unixODBC = callPackage ../development/libraries/unixODBC { };
|
||||
|
||||
unixODBCDrivers = recurseIntoAttrs (import ../development/libraries/unixODBCDrivers {
|
||||
|
||||
Reference in New Issue
Block a user