1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/development/libraries/libktorrent/default.nix

38 lines
904 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, extra-cmake-modules
, karchive, kcrash, ki18n, kio, solid
, boost, gmp, qca-qt5, libgcrypt
}:
2017-09-01 14:53:42 +01:00
let
mainVersion = "5.1";
in stdenv.mkDerivation rec {
name = "libktorrent-2.1";
src = fetchurl {
2017-09-01 14:53:42 +01:00
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz";
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake extra-cmake-modules ];
2017-09-01 14:53:42 +01:00
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
propagatedBuildInputs = [ gmp boost ];
enableParallelBuilding = true;
2017-09-01 14:53:42 +01:00
passthru = {
inherit mainVersion;
};
meta = with stdenv.lib; {
2016-11-21 20:54:15 +00:00
description = "A BitTorrent library used by KTorrent";
2017-09-01 14:53:42 +01:00
homepage = https://www.kde.org/applications/internet/ktorrent/;
maintainers = with maintainers; [ eelco ];
platforms = platforms.linux;
};
}