mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
22 lines
586 B
Nix
22 lines
586 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|