2017-02-26 13:49:15 +01:00
|
|
|
{ stdenv, fetchurl, cmake, extra-cmake-modules
|
2017-02-18 21:15:30 +01:00
|
|
|
, karchive, kcrash, ki18n, kio, solid
|
|
|
|
, boost, gmp, qca-qt5, libgcrypt
|
|
|
|
}:
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-18 21:15:30 +01:00
|
|
|
name = "libktorrent-2.0.1";
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-18 21:15:30 +01:00
|
|
|
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
|
|
|
|
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
|
2010-08-16 10:34:26 +02:00
|
|
|
};
|
|
|
|
|
2017-02-18 21:15:30 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
2017-02-18 21:15:30 +01:00
|
|
|
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gmp boost ];
|
2011-08-06 16:28:15 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-08-16 10:34:26 +02:00
|
|
|
|
|
|
|
meta = {
|
2016-11-21 21:54:15 +01:00
|
|
|
description = "A BitTorrent library used by KTorrent";
|
2017-02-18 21:15:30 +01:00
|
|
|
homepage = https://www.kde.org/applications/internet/ktorrent/;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-08-16 10:34:26 +02:00
|
|
|
};
|
|
|
|
}
|