ktorrent: Add 5.0.1
This commit is contained in:
parent
f940d65b2d
commit
516e177d98
41
pkgs/applications/networking/p2p/ktorrent/5.nix
Normal file
41
pkgs/applications/networking/p2p/ktorrent/5.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv, fetchurl, cmake
|
||||||
|
, ecm, qtbase, qtscript
|
||||||
|
, ki18n, kio, knotifications, knotifyconfig, kdoctools, kross, kcmutils, kdelibs4support
|
||||||
|
, libktorrent, boost, taglib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = pname + "-" + version;
|
||||||
|
|
||||||
|
pname = "ktorrent";
|
||||||
|
version = "5.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://download.kde.org/stable/ktorrent/5.0/ktorrent-5.0.1.tar.xz;
|
||||||
|
sha256 = "1rbr932djmn1la6vs2sy1zdf39fmla8vwzfn76h7csncbp5fw3yh";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches =
|
||||||
|
[ (fetchurl {
|
||||||
|
url = https://cgit.kde.org/ktorrent.git/patch/?id=f48acc22f0105ce6bac63294d248873ae231c6cc;
|
||||||
|
sha256 = "0jm4y35w2ypbjzf165rnjr224nq4w651ydnpd9zdn3inxh8r4s0v";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ kdoctools ecm ];
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ cmake qtbase qtscript
|
||||||
|
ki18n kio knotifications knotifyconfig kross kcmutils kdelibs4support
|
||||||
|
libktorrent taglib
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "KDE integrated BtTorrent client";
|
||||||
|
homepage = https://www.kde.org/applications/internet/ktorrent/;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -67,6 +67,8 @@ let
|
|||||||
|
|
||||||
# External packages
|
# External packages
|
||||||
kipi-plugins = callPackage ../../../applications/graphics/kipi-plugins/5.x.nix {};
|
kipi-plugins = callPackage ../../../applications/graphics/kipi-plugins/5.x.nix {};
|
||||||
|
ktorrent = callPackage ../../../applications/networking/p2p/ktorrent/5.nix { };
|
||||||
|
libktorrent = callPackage ../../../development/libraries/libktorrent/5.nix { };
|
||||||
};
|
};
|
||||||
|
|
||||||
in packages
|
in packages
|
||||||
|
@ -64,6 +64,7 @@ let
|
|||||||
baloo = callPackage ./baloo.nix {};
|
baloo = callPackage ./baloo.nix {};
|
||||||
bluez-qt = callPackage ./bluez-qt.nix {};
|
bluez-qt = callPackage ./bluez-qt.nix {};
|
||||||
breeze-icons = callPackage ./breeze-icons.nix {};
|
breeze-icons = callPackage ./breeze-icons.nix {};
|
||||||
|
# FIXME: this collides with the "ecm" package.
|
||||||
ecm =
|
ecm =
|
||||||
let drv = { cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
|
let drv = { cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
|
||||||
makeSetupHook
|
makeSetupHook
|
||||||
|
29
pkgs/development/libraries/libktorrent/5.nix
Normal file
29
pkgs/development/libraries/libktorrent/5.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl, cmake, ecm
|
||||||
|
, karchive, kcrash, ki18n, kio, solid
|
||||||
|
, boost, gmp, qca-qt5, libgcrypt
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libktorrent-2.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
|
||||||
|
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ecm ];
|
||||||
|
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ gmp boost ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A BitTorrent library used by KTorrent";
|
||||||
|
homepage = https://www.kde.org/applications/internet/ktorrent/;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A BiTtorrent library used by KTorrent";
|
description = "A BitTorrent library used by KTorrent";
|
||||||
homepage = http://ktorrent.pwsp.net;
|
homepage = http://ktorrent.pwsp.net;
|
||||||
inherit (kdelibs.meta) platforms;
|
inherit (kdelibs.meta) platforms;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user