3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/tor/torsocks.nix
2013-01-15 08:13:56 +02:00

22 lines
528 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "torsocks";
name = "${pname}-${version}";
version = "1.2";
src = fetchurl {
url = "http://${pname}.googlecode.com/files/${name}.tar.gz";
sha256 = "1m0is5q24sf7jjlkl0icfkdc0m53nbkg0q72s57p48yp4hv7v9dy";
};
preConfigure = ''
export configureFlags="$configureFlags --libdir=$out/lib"
'';
meta = {
description = "use socks-friendly applications with Tor";
homepage = http://code.google.com/p/torsocks/;
license = "GPLv2";
};
}