2017-02-26 12:49:15 +00:00
|
|
|
{ stdenv, fetchurl, cmake, extra-cmake-modules
|
2017-02-18 20:15:30 +00:00
|
|
|
, karchive, kcrash, ki18n, kio, solid
|
|
|
|
, boost, gmp, qca-qt5, libgcrypt
|
|
|
|
}:
|
2010-08-16 08:34:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-18 20:15:30 +00:00
|
|
|
name = "libktorrent-2.0.1";
|
2010-08-16 08:34:26 +00: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 08:34:26 +00:00
|
|
|
};
|
|
|
|
|
2017-02-18 20:15:30 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
2017-02-18 20:15:30 +00:00
|
|
|
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gmp boost ];
|
2011-08-06 14:28:15 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-08-16 08:34:26 +00: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 08:34:26 +00:00
|
|
|
};
|
|
|
|
}
|