Skip to content

Commit

Permalink
libktorrent: 2.0.1 -> 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Sep 5, 2017
1 parent 799435b commit 82e0b91
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions pkgs/development/libraries/libktorrent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,35 @@
, boost, gmp, qca-qt5, libgcrypt
}:

stdenv.mkDerivation rec {
name = "libktorrent-2.0.1";
let
mainVersion = "5.1";

in stdenv.mkDerivation rec {
name = "libktorrent-2.1";

src = fetchurl {
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz";
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ cmake extra-cmake-modules ];

buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];

propagatedBuildInputs = [ gmp boost ];

enableParallelBuilding = true;

meta = {
passthru = {
inherit mainVersion;
};

meta = with stdenv.lib; {
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;
homepage = https://www.kde.org/applications/internet/ktorrent/;
maintainers = with maintainers; [ eelco ];
platforms = platforms.linux;
};
}

0 comments on commit 82e0b91

Please sign in to comment.