torsocks: update to 1.3
This commit is contained in:
parent
661e5a8f1a
commit
d07d2eb137
@ -1,14 +1,16 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchgit, autoreconfHook }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "torsocks";
|
pname = "torsocks";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "1.2";
|
version = "1.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchgit {
|
||||||
url = "http://${pname}.googlecode.com/files/${name}.tar.gz";
|
url = meta.repositories.git;
|
||||||
sha256 = "1m0is5q24sf7jjlkl0icfkdc0m53nbkg0q72s57p48yp4hv7v9dy";
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "1cqplb36fkdb81kzf48xlxclf64wnp8r56x1gjayax1h6x4aal1w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ autoreconfHook ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
export configureFlags="$configureFlags --libdir=$out/lib"
|
||||||
'';
|
'';
|
||||||
@ -16,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "use socks-friendly applications with Tor";
|
description = "use socks-friendly applications with Tor";
|
||||||
homepage = http://code.google.com/p/torsocks/;
|
homepage = http://code.google.com/p/torsocks/;
|
||||||
|
repositories.git = https://git.torproject.org/torsocks.git;
|
||||||
license = "GPLv2";
|
license = "GPLv2";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user