about summary refs log tree commit diff
path: root/pkgs/tools/security/tor/torsocks.nix
blob: ac60ccb16a1fe3633ae5249279757991c42a4260 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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";
  };
}