{lib,}ktorrent: move to pkgs/application/kde

authored by Samuel Gräfenstein and committed by Peter Hoeg de4352ba ab7314cb

+47 -75
+2
pkgs/applications/kde/default.nix
··· 186 186 kteatime = callPackage ./kteatime.nix {}; 187 187 ktimer = callPackage ./ktimer.nix {}; 188 188 ktnef = callPackage ./ktnef.nix {}; 189 + ktorrent = callPackage ./ktorrent.nix {}; 189 190 ktouch = callPackage ./ktouch.nix {}; 190 191 kturtle = callPackage ./kturtle.nix {}; 191 192 kwalletmanager = callPackage ./kwalletmanager.nix {}; ··· 203 204 libkomparediff2 = callPackage ./libkomparediff2.nix {}; 204 205 libksane = callPackage ./libksane.nix {}; 205 206 libksieve = callPackage ./libksieve.nix {}; 207 + libktorrent = callPackage ./libktorrent.nix {}; 206 208 mailcommon = callPackage ./mailcommon.nix {}; 207 209 mailimporter = callPackage ./mailimporter.nix {}; 208 210 marble = callPackage ./marble.nix {};
+22
pkgs/applications/kde/ktorrent.nix
··· 1 + { 2 + mkDerivation, lib, 3 + extra-cmake-modules, kdoctools, 4 + karchive, kcmutils, kcrash, kdnssd, ki18n, knotifications, knotifyconfig, 5 + kplotting, kross, libgcrypt, libktorrent, taglib 6 + }: 7 + 8 + mkDerivation { 9 + pname = "ktorrent"; 10 + meta = with lib; { 11 + description = "KDE integrated BtTorrent client"; 12 + homepage = "https://apps.kde.org/ktorrent/"; 13 + license = licenses.gpl2Plus; 14 + maintainers = with maintainers; [ eelco ]; 15 + }; 16 + 17 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 18 + buildInputs = [ 19 + karchive kcmutils kcrash kdnssd ki18n knotifications knotifyconfig kplotting 20 + kross libgcrypt libktorrent taglib 21 + ]; 22 + }
+22
pkgs/applications/kde/libktorrent.nix
··· 1 + { 2 + mkDerivation, lib, 3 + extra-cmake-modules, 4 + karchive, kcrash, ki18n, kio, libgcrypt, qca-qt5, solid, 5 + boost, gmp 6 + }: 7 + 8 + mkDerivation { 9 + pname = "libktorrent"; 10 + meta = with lib; { 11 + description = "A BitTorrent library used by KTorrent"; 12 + homepage = "https://apps.kde.org/ktorrent/"; 13 + maintainers = with maintainers; [ eelco ]; 14 + }; 15 + 16 + nativeBuildInputs = [ extra-cmake-modules ]; 17 + buildInputs = [ karchive kcrash ki18n kio libgcrypt qca-qt5 solid ]; 18 + propagatedBuildInputs = [ boost gmp ]; 19 + outputs = [ "out" "dev" ]; 20 + 21 + dontWrapQtApps = true; 22 + }
-32
pkgs/applications/networking/p2p/ktorrent/default.nix
··· 1 - { mkDerivation, lib, fetchurl, fetchpatch, cmake 2 - , extra-cmake-modules, qtbase, qtscript 3 - , karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig 4 - , kdoctools, kross, kcmutils, kwindowsystem 5 - , libktorrent, taglib, libgcrypt, kplotting 6 - }: 7 - 8 - mkDerivation rec { 9 - pname = "ktorrent"; 10 - version = "${libktorrent.mainVersion}"; 11 - 12 - src = fetchurl { 13 - url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz"; 14 - sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534"; 15 - }; 16 - 17 - nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ]; 18 - 19 - buildInputs = [ 20 - qtbase qtscript 21 - karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem 22 - libktorrent taglib libgcrypt kplotting 23 - ]; 24 - 25 - meta = with lib; { 26 - description = "KDE integrated BtTorrent client"; 27 - homepage = "https://www.kde.org/applications/internet/ktorrent/"; 28 - license = licenses.gpl2; 29 - maintainers = with maintainers; [ eelco ]; 30 - platforms = platforms.linux; 31 - }; 32 - }
-38
pkgs/development/libraries/libktorrent/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, extra-cmake-modules 2 - , karchive, kcrash, ki18n, kio, solid 3 - , boost, gmp, qca-qt5, libgcrypt 4 - }: 5 - 6 - let 7 - mainVersion = "5.1.2"; 8 - 9 - in stdenv.mkDerivation rec { 10 - pname = "libktorrent"; 11 - version = "2.1.1"; 12 - 13 - src = fetchurl { 14 - url = "mirror://kde/stable/ktorrent/${mainVersion}/${pname}-${version}.tar.xz"; 15 - sha256 = "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w"; 16 - }; 17 - 18 - outputs = [ "out" "dev" ]; 19 - 20 - nativeBuildInputs = [ cmake extra-cmake-modules ]; 21 - 22 - buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ]; 23 - 24 - propagatedBuildInputs = [ gmp boost ]; 25 - 26 - passthru = { 27 - inherit mainVersion; 28 - }; 29 - 30 - dontWrapQtApps = true; 31 - 32 - meta = with lib; { 33 - description = "A BitTorrent library used by KTorrent"; 34 - homepage = "https://www.kde.org/applications/internet/ktorrent/"; 35 - maintainers = with maintainers; [ eelco ]; 36 - platforms = platforms.linux; 37 - }; 38 - }
+1 -1
pkgs/top-level/aliases.nix
··· 1426 1426 kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot 1427 1427 knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact 1428 1428 korganizer kpkpass krdc kreversi krfb kscreen kscreenlocker kshisen ksquares 1429 - ksshaskpass ksystemlog kteatime ktimer ktouch kturtle kwallet-pam 1429 + ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch kturtle kwallet-pam 1430 1430 kwalletmanager kwave kwayland-integration kwin kwrited marble milou minuet 1431 1431 okular oxygen oxygen-icons5 picmi plasma-browser-integration plasma-desktop 1432 1432 plasma-integration plasma-nano plasma-nm plasma-pa plasma-phone-components
-2
pkgs/top-level/all-packages.nix
··· 26870 26870 26871 26871 ktimetracker = libsForQt5.callPackage ../applications/office/ktimetracker { }; 26872 26872 26873 - ktorrent = libsForQt5.callPackage ../applications/networking/p2p/ktorrent { }; 26874 - 26875 26873 kubedb-cli = callPackage ../applications/networking/cluster/kubedb-cli { }; 26876 26874 26877 26875 kubecfg = callPackage ../applications/networking/cluster/kubecfg { };
-2
pkgs/top-level/qt5-packages.nix
··· 116 116 117 117 libdbusmenu = callPackage ../development/libraries/libdbusmenu-qt/qt-5.5.nix { }; 118 118 119 - libktorrent = callPackage ../development/libraries/libktorrent { }; 120 - 121 119 liblastfm = callPackage ../development/libraries/liblastfm { }; 122 120 123 121 libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix { };