tribler: 5.5.x-25411 -> 6.4.3
This commit is contained in:
parent
f420f927f6
commit
962f68f390
|
@ -1,30 +1,41 @@
|
||||||
{ stdenv, fetchsvn, pythonPackages, makeWrapper, nettools
|
{ stdenv, fetchurl, pythonPackages, makeWrapper, nettools, libtorrentRasterbar
|
||||||
, enablePlayer ? false, vlc ? null }:
|
, enablePlayer ? false, vlc ? null }:
|
||||||
|
|
||||||
let rev = "25411"; in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "tribler-5.5.21-pre${rev}";
|
name = "tribler-${version}";
|
||||||
|
version = "v6.4.3";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchurl {
|
||||||
url = http://svn.tribler.org/abc/branches/release-5.5.x;
|
url = "https://github.com/Tribler/tribler/releases/download/${version}/Tribler-${version}.tar.xz";
|
||||||
inherit rev;
|
sha256 = "1n5qi3jlby41w60zg6dvl933ypyiflq3rb0qkwhxi4b26s3vwvgr";
|
||||||
sha256 = "17c9svy4zjchzihk6mf0kh4lnvaxjfmgfmimyby5w0d3cwbw49zx";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pythonPackages.python pythonPackages.wrapPython makeWrapper ];
|
buildInputs = [
|
||||||
|
pythonPackages.python
|
||||||
|
pythonPackages.wrapPython
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
pythonPath =
|
pythonPath = [
|
||||||
[ pythonPackages.wxPython pythonPackages.curses pythonPackages.apsw
|
libtorrentRasterbar
|
||||||
pythonPackages.setuptools pythonPackages.m2crypto pythonPackages.sqlite3
|
pythonPackages.wxPython
|
||||||
|
pythonPackages.curses
|
||||||
|
pythonPackages.apsw
|
||||||
|
pythonPackages.twisted
|
||||||
|
pythonPackages.gmpy
|
||||||
|
pythonPackages.netifaces
|
||||||
|
pythonPackages.pil
|
||||||
|
pythonPackages.pycrypto
|
||||||
|
pythonPackages.pyasn1
|
||||||
|
pythonPackages.requests
|
||||||
|
pythonPackages.setuptools
|
||||||
|
pythonPackages.m2crypto
|
||||||
|
pythonPackages.sqlite3
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
substituteInPlace Tribler/Core/NATFirewall/guessip.py \
|
|
||||||
--replace /bin/netstat ${nettools}/bin/netstat \
|
|
||||||
--replace /sbin/ifconfig ${nettools}/sbin/ifconfig
|
|
||||||
|
|
||||||
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
|
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue