parent
ab7314cb32
commit
de4352babb
@ -0,0 +1,22 @@ |
||||
{ |
||||
mkDerivation, lib, |
||||
extra-cmake-modules, kdoctools, |
||||
karchive, kcmutils, kcrash, kdnssd, ki18n, knotifications, knotifyconfig, |
||||
kplotting, kross, libgcrypt, libktorrent, taglib |
||||
}: |
||||
|
||||
mkDerivation { |
||||
pname = "ktorrent"; |
||||
meta = with lib; { |
||||
description = "KDE integrated BtTorrent client"; |
||||
homepage = "https://apps.kde.org/ktorrent/"; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ eelco ]; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; |
||||
buildInputs = [ |
||||
karchive kcmutils kcrash kdnssd ki18n knotifications knotifyconfig kplotting |
||||
kross libgcrypt libktorrent taglib |
||||
]; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ |
||||
mkDerivation, lib, |
||||
extra-cmake-modules, |
||||
karchive, kcrash, ki18n, kio, libgcrypt, qca-qt5, solid, |
||||
boost, gmp |
||||
}: |
||||
|
||||
mkDerivation { |
||||
pname = "libktorrent"; |
||||
meta = with lib; { |
||||
description = "A BitTorrent library used by KTorrent"; |
||||
homepage = "https://apps.kde.org/ktorrent/"; |
||||
maintainers = with maintainers; [ eelco ]; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ]; |
||||
buildInputs = [ karchive kcrash ki18n kio libgcrypt qca-qt5 solid ]; |
||||
propagatedBuildInputs = [ boost gmp ]; |
||||
outputs = [ "out" "dev" ]; |
||||
|
||||
dontWrapQtApps = true; |
||||
} |
@ -1,32 +0,0 @@ |
||||
{ mkDerivation, lib, fetchurl, fetchpatch, cmake |
||||
, extra-cmake-modules, qtbase, qtscript |
||||
, karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig |
||||
, kdoctools, kross, kcmutils, kwindowsystem |
||||
, libktorrent, taglib, libgcrypt, kplotting |
||||
}: |
||||
|
||||
mkDerivation rec { |
||||
pname = "ktorrent"; |
||||
version = "${libktorrent.mainVersion}"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz"; |
||||
sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ]; |
||||
|
||||
buildInputs = [ |
||||
qtbase qtscript |
||||
karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem |
||||
libktorrent taglib libgcrypt kplotting |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "KDE integrated BtTorrent client"; |
||||
homepage = "https://www.kde.org/applications/internet/ktorrent/"; |
||||
license = licenses.gpl2; |
||||
maintainers = with maintainers; [ eelco ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,38 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules |
||||
, karchive, kcrash, ki18n, kio, solid |
||||
, boost, gmp, qca-qt5, libgcrypt |
||||
}: |
||||
|
||||
let |
||||
mainVersion = "5.1.2"; |
||||
|
||||
in stdenv.mkDerivation rec { |
||||
pname = "libktorrent"; |
||||
version = "2.1.1"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://kde/stable/ktorrent/${mainVersion}/${pname}-${version}.tar.xz"; |
||||
sha256 = "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w"; |
||||
}; |
||||
|
||||
outputs = [ "out" "dev" ]; |
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ]; |
||||
|
||||
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ]; |
||||
|
||||
propagatedBuildInputs = [ gmp boost ]; |
||||
|
||||
passthru = { |
||||
inherit mainVersion; |
||||
}; |
||||
|
||||
dontWrapQtApps = true; |
||||
|
||||
meta = with lib; { |
||||
description = "A BitTorrent library used by KTorrent"; |
||||
homepage = "https://www.kde.org/applications/internet/ktorrent/"; |
||||
maintainers = with maintainers; [ eelco ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
Loading…
Reference in new issue