diff options
Diffstat (limited to 'pkgs/applications/networking/p2p/tribler/default.nix')
-rw-r--r-- | pkgs/applications/networking/p2p/tribler/default.nix | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/pkgs/applications/networking/p2p/tribler/default.nix b/pkgs/applications/networking/p2p/tribler/default.nix index 774aea642d43b..38fc90d8e5893 100644 --- a/pkgs/applications/networking/p2p/tribler/default.nix +++ b/pkgs/applications/networking/p2p/tribler/default.nix @@ -1,13 +1,15 @@ -{ stdenv, lib, fetchurl, python3, makeWrapper -, libtorrent-rasterbar-1_2_x, qt5 +{ lib +, stdenv +, fetchurl +, python3 +, makeWrapper +, libtorrent-rasterbar-1_2_x +, qt5 }: let libtorrent = (python3.pkgs.toPythonModule ( libtorrent-rasterbar-1_2_x.override { python = python3; })).python; - - aiohttp-apispec = python3.pkgs.callPackage - ../../../../development/python-modules/aiohttp-apispec/unstable.nix { }; in stdenv.mkDerivation rec { pname = "tribler"; @@ -15,7 +17,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://github.com/Tribler/tribler/releases/download/v${version}/Tribler-v${version}.tar.xz"; - sha256 = "1x45z23d1cqf0lai7wg5ki7gi2vba5hqk0swhggzplcjwma4wmh9"; + hash = "sha256-CVZOVOWS0fvfg1yDiWFRa4v4Tpzl8RMVBQ6z0Ib4hfQ="; }; nativeBuildInputs = [ @@ -30,40 +32,36 @@ stdenv.mkDerivation rec { pythonPath = [ libtorrent ] ++ (with python3.pkgs; [ - twisted - netifaces - pycrypto - pyasn1 - requests - m2crypto - pyqt5 + aiohttp + aiohttp-apispec + asynctest chardet cherrypy - cryptography - libnacl configobj + cryptography decorator + faker feedparser - service-identity - psutil - pillow + libnacl + lz4 + m2crypto + netifaces networkx + pillow pony - lz4 + psutil + pyasn1 + pycrypto + pyqt5 pyqtgraph - pyyaml - aiohttp - aiohttp-apispec - faker - sentry-sdk pytest-asyncio pytest-timeout - asynctest + pyyaml + requests + sentry-sdk + service-identity + twisted yappi - - # there is a BTC feature, but it requires some unclear version of - # bitcoinlib, so this doesn't work right now. - # bitcoinlib ]); installPhase = '' @@ -85,10 +83,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - maintainers = with maintainers; [ xvapx viric ]; + description = "Decentralised P2P filesharing client based on the Bittorrent protocol"; homepage = "https://www.tribler.org/"; - description = "A completely decentralised P2P filesharing client based on the Bittorrent protocol"; - license = licenses.lgpl21; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ xvapx viric ]; platforms = platforms.linux; }; } |