remove bittorrent package since it's obsolete

This commit is contained in:
Domen Kožar
2014-09-05 22:49:18 +02:00
parent 718106e958
commit b420eeba44
5 changed files with 1 additions and 64 deletions

View File

@@ -1,27 +0,0 @@
source $stdenv/setup
# Workaround for:
# File "...-python-2.4.4/lib/python2.4/posixpath.py", line 62, in join
# elif path == '' or path.endswith('/'):
# AttributeError: 'NoneType' object has no attribute 'endswith'
export HOME=$TMP
buildPhase() {
python setup.py build
}
installPhase() {
python setup.py install --prefix=$out
# Create wrappers that set the environment correctly.
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH"
done
}
genericBuild

View File

@@ -1,24 +0,0 @@
{ gui ? false
, stdenv, fetchurl, makeWrapper
, python, wxPython ? null, pycrypto, twisted
}:
assert gui -> wxPython != null;
stdenv.mkDerivation {
name = "bittorrent-5.2.2";
builder = ./builder.sh;
src = fetchurl {
url = http://download.bittorrent.com/dl/archive/BitTorrent-5.2.2.tar.gz;
sha256 = "05k803hbwsyn51j4aibzdsnqxz24kw4rvr60v2c0wji8gcvy3kx9";
};
buildInputs = [ python pycrypto twisted makeWrapper ]
++ stdenv.lib.optional gui wxPython;
meta = {
description = "The original client for the BitTorrent peer-to-peer file sharing protocol";
};
}