nixpkgs/pkgs/tools/security/tor/torsocks.nix
Russell O'Connor 90aa3c3c3c New derivation for torsocks.
This will replace tsocks.


svn path=/nixpkgs/trunk/; revision=24011
2010-10-01 02:38:03 +00:00

22 lines
536 B
Nix

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