libktorrent: 2.0.1 -> 2.1
This commit is contained in:
parent
799435b7ca
commit
82e0b910e7
@ -3,27 +3,35 @@
|
|||||||
, boost, gmp, qca-qt5, libgcrypt
|
, boost, gmp, qca-qt5, libgcrypt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "libktorrent-2.0.1";
|
mainVersion = "5.1";
|
||||||
|
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "libktorrent-2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
|
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz";
|
||||||
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
|
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||||
|
|
||||||
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
|
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ gmp boost ];
|
propagatedBuildInputs = [ gmp boost ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
passthru = {
|
||||||
|
inherit mainVersion;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "A BitTorrent library used by KTorrent";
|
description = "A BitTorrent library used by KTorrent";
|
||||||
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user