2010-10-01 04:38:03 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "torsocks";
|
|
|
|
name = "${pname}-${version}";
|
2013-01-15 07:13:56 +01:00
|
|
|
version = "1.2";
|
2010-10-01 04:38:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://${pname}.googlecode.com/files/${name}.tar.gz";
|
2013-01-15 07:13:56 +01:00
|
|
|
sha256 = "1m0is5q24sf7jjlkl0icfkdc0m53nbkg0q72s57p48yp4hv7v9dy";
|
2010-10-01 04:38:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export configureFlags="$configureFlags --libdir=$out/lib"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "use socks-friendly applications with Tor";
|
|
|
|
homepage = http://code.google.com/p/torsocks/;
|
|
|
|
license = "GPLv2";
|
|
|
|
};
|
|
|
|
}
|