Updating torchat to 0.9.9.553.

This commit is contained in:
Lluís Batlle i Rossell 2013-10-11 19:35:38 +02:00
parent 2c06488a9f
commit 3ba1970cfd

View File

@ -2,18 +2,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "torchat-${version}"; name = "torchat-${version}";
version = "0.9.9.550"; version = "0.9.9.553";
src = fetchurl { src = fetchurl {
url = "http://torchat.googlecode.com/files/torchat-source-${version}.zip"; url = "https://github.com/prof7bit/TorChat/archive/${version}.tar.gz";
sha256 = "01z0vrmflcmb146m04b66zihkd22aqnxz2vr4x23z1q5mlwylmq2"; sha256 = "0rb4lvv40pz6ab5kxq40ycvh7kh1yxn7swzgv2ff2nbhi62xnzp0";
}; };
buildInputs = [ python unzip wxPython wrapPython ]; buildInputs = [ python unzip wxPython wrapPython ];
pythonPath = [ wxPython ]; pythonPath = [ wxPython ];
preConfigure = "rm portable.txt"; preConfigure = "cd torchat/src; rm portable.txt";
preUnpack = "sourceRoot=`pwd`/src";
installPhase = '' installPhase = ''
substituteInPlace "Tor/tor.sh" --replace "tor -f" "${tor}/bin/tor -f" substituteInPlace "Tor/tor.sh" --replace "tor -f" "${tor}/bin/tor -f"
@ -29,8 +28,8 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://code.google.com/p/torchat/; homepage = https://github.com/prof7bit/TorChat;
description = "instant messaging application on top of the Tor network and it's location hidden services"; description = "Instant messaging application on top of the Tor network and it's location hidden services";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = [ maintainers.phreedom ]; maintainers = [ maintainers.phreedom ];
platforms = platforms.unix; platforms = platforms.unix;