ktorrent: 5.0.1 -> 5.1.0

This commit is contained in:
Peter Hoeg 2017-09-05 18:26:52 +08:00
parent 82e0b910e7
commit 17f4cb4eb8

View File

@ -1,41 +1,33 @@
{ stdenv, fetchurl, cmake { stdenv, fetchurl, cmake
, extra-cmake-modules, qtbase, qtscript , extra-cmake-modules, qtbase, qtscript
, ki18n, kio, knotifications, knotifyconfig, kdoctools, kross, kcmutils, kdelibs4support , karchive, kcrash, kdnssd, ki18n, kio, knotifications, knotifyconfig
, kdoctools, kross, kcmutils, kwindowsystem
, libktorrent, boost, taglib, libgcrypt, kplotting , libktorrent, boost, taglib, libgcrypt, kplotting
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = pname + "-" + version; name = "ktorrent-${version}";
version = "${libktorrent.mainVersion}.0";
pname = "ktorrent";
version = "5.0.1";
src = fetchurl { src = fetchurl {
url = http://download.kde.org/stable/ktorrent/5.0/ktorrent-5.0.1.tar.xz; url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${name}.tar.xz";
sha256 = "1rbr932djmn1la6vs2sy1zdf39fmla8vwzfn76h7csncbp5fw3yh"; sha256 = "18w6qh09k84qpzaxxb76a4g59k4mx5wk897vqp1wwv80g0pqhmrw";
}; };
patches = nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
[ (fetchurl {
url = https://cgit.kde.org/ktorrent.git/patch/?id=f48acc22f0105ce6bac63294d248873ae231c6cc;
sha256 = "0jm4y35w2ypbjzf165rnjr224nq4w651ydnpd9zdn3inxh8r4s0v";
})
];
nativeBuildInputs = [ kdoctools extra-cmake-modules ]; buildInputs = [
qtbase qtscript
buildInputs = karchive kcrash kdnssd ki18n kio knotifications knotifyconfig kross kcmutils kwindowsystem
[ cmake qtbase qtscript libktorrent taglib libgcrypt kplotting
ki18n kio knotifications knotifyconfig kross kcmutils kdelibs4support ];
libktorrent taglib libgcrypt kplotting
];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = with stdenv.lib; {
description = "KDE integrated BtTorrent client"; description = "KDE integrated BtTorrent client";
homepage = https://www.kde.org/applications/internet/ktorrent/; homepage = https://www.kde.org/applications/internet/ktorrent/;
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = with maintainers; [ eelco ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }