2017-08-09 08:57:29 +02:00
|
|
|
# NOTE: this is rakshava's version of libtorrent, used mainly by rtorrent
|
|
|
|
# This is NOT libtorrent-rasterbar, used by Deluge, qbitttorent, and others
|
2019-07-29 21:56:30 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
|
|
|
|
, cppunit, openssl, libsigcxx, zlib
|
|
|
|
}:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-07-20 03:26:40 +02:00
|
|
|
pname = "libtorrent";
|
|
|
|
version = "0.13.8";
|
2008-02-23 13:11:27 +01:00
|
|
|
|
2017-09-20 16:45:58 +02:00
|
|
|
src = fetchFromGitHub {
|
2015-12-06 18:36:28 +01:00
|
|
|
owner = "rakshasa";
|
2019-07-20 03:26:40 +02:00
|
|
|
repo = pname;
|
2018-08-04 15:31:05 +02:00
|
|
|
rev = "v${version}";
|
2019-07-20 03:26:40 +02:00
|
|
|
sha256 = "1h5y6ab3gs20yyprdfwcw8fh1c6czs4yrdj0kf54d2vp9qwz685r";
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
|
|
|
|
2019-07-29 21:56:30 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
buildInputs = [ cppunit openssl libsigcxx zlib ];
|
2011-07-18 16:34:33 +02:00
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-07-20 03:26:40 +02:00
|
|
|
homepage = "https://github.com/rakshasa/libtorrent";
|
2015-09-14 20:48:12 +02:00
|
|
|
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
|
2011-07-18 16:34:33 +02:00
|
|
|
|
2018-04-04 03:31:13 +02:00
|
|
|
platforms = platforms.unix;
|
2016-05-16 22:30:20 +02:00
|
|
|
maintainers = with maintainers; [ ebzzry codyopel ];
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|