nixpkgs-suyu/pkgs/applications/networking/p2p/ktorrent/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

2018-06-13 21:16:51 +02:00
{ stdenv, fetchurl, fetchpatch, cmake
, extra-cmake-modules, qtbase, qtscript
2017-09-05 12:26:52 +02:00
, karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig
, kdoctools, kross, kcmutils, kwindowsystem
, libktorrent, taglib, libgcrypt, kplotting
}:
stdenv.mkDerivation rec {
pname = "ktorrent";
version = "${libktorrent.mainVersion}";
src = fetchurl {
url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz";
sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534";
};
2017-09-05 12:26:52 +02:00
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
2017-09-05 12:26:52 +02:00
buildInputs = [
qtbase qtscript
karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem
libktorrent taglib libgcrypt kplotting
];
enableParallelBuilding = true;
2017-09-05 12:26:52 +02:00
meta = with stdenv.lib; {
description = "KDE integrated BtTorrent client";
2017-09-05 12:26:52 +02:00
homepage = https://www.kde.org/applications/internet/ktorrent/;
2017-09-07 04:41:51 +02:00
license = licenses.gpl2;
2017-09-05 12:26:52 +02:00
maintainers = with maintainers; [ eelco ];
platforms = platforms.linux;
};
}