1 { lib, stdenv, fetchurl, cmake, extra-cmake-modules
2 , karchive, kcrash, ki18n, kio, solid
3 , boost, gmp, qca-qt5, libgcrypt
9 in stdenv.mkDerivation rec {
10 pname = "libktorrent";
14 url = "mirror://kde/stable/ktorrent/${mainVersion}/${pname}-${version}.tar.xz";
15 sha256 = "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w";
18 outputs = [ "out" "dev" ];
20 nativeBuildInputs = [ cmake extra-cmake-modules ];
22 buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
24 propagatedBuildInputs = [ gmp boost ];
30 dontWrapQtApps = true;
33 description = "A BitTorrent library used by KTorrent";
34 homepage = "https://www.kde.org/applications/internet/ktorrent/";
35 maintainers = with maintainers; [ eelco ];
36 platforms = platforms.linux;