2013-10-08 14:57:48 +01:00
|
|
|
{ stdenv, fetchgit, autoreconfHook }:
|
2010-10-01 03:38:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "torsocks";
|
|
|
|
name = "${pname}-${version}";
|
2013-10-08 14:57:48 +01:00
|
|
|
version = "1.3";
|
2010-10-01 03:38:03 +01:00
|
|
|
|
2013-10-08 14:57:48 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = meta.repositories.git;
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "1cqplb36fkdb81kzf48xlxclf64wnp8r56x1gjayax1h6x4aal1w";
|
2010-10-01 03:38:03 +01:00
|
|
|
};
|
|
|
|
|
2013-10-08 14:57:48 +01:00
|
|
|
buildInputs = [ autoreconfHook ];
|
2010-10-01 03:38:03 +01:00
|
|
|
preConfigure = ''
|
|
|
|
export configureFlags="$configureFlags --libdir=$out/lib"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "use socks-friendly applications with Tor";
|
|
|
|
homepage = http://code.google.com/p/torsocks/;
|
2013-10-08 14:57:48 +01:00
|
|
|
repositories.git = https://git.torproject.org/torsocks.git;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-10-01 03:38:03 +01:00
|
|
|
};
|
|
|
|
}
|