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