nixpkgs/pkgs/tools/security/tor/torsocks.nix

26 lines
718 B
Nix
Raw Normal View History

2013-10-08 15:57:48 +02:00
{ stdenv, fetchgit, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "torsocks";
name = "${pname}-${version}";
2013-10-08 15:57:48 +02:00
version = "1.3";
2013-10-08 15:57:48 +02:00
src = fetchgit {
url = meta.repositories.git;
rev = "refs/tags/${version}";
sha256 = "1cqplb36fkdb81kzf48xlxclf64wnp8r56x1gjayax1h6x4aal1w";
};
2013-10-08 15:57:48 +02:00
buildInputs = [ autoreconfHook ];
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 15:57:48 +02:00
repositories.git = https://git.torproject.org/torsocks.git;
license = stdenv.lib.licenses.gpl2;
2014-11-05 10:34:20 +01:00
maintainers = [ stdenv.lib.maintainers.phreedom ];
};
}