2017-08-09 07:57:29 +01:00
|
|
|
# NOTE: this is rakshava's version of libtorrent, used mainly by rtorrent
|
|
|
|
# This is NOT libtorrent-rasterbar, used by Deluge, qbitttorent, and others
|
2015-12-06 17:36:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
|
|
|
, libtool, autoconf, automake, cppunit
|
|
|
|
, openssl, libsigcxx, zlib }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2015-09-14 19:48:12 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-07-18 15:34:33 +01:00
|
|
|
name = "libtorrent-${version}";
|
2017-09-20 15:45:58 +01:00
|
|
|
version = "20161212";
|
2008-02-23 12:11:27 +00:00
|
|
|
|
2017-09-20 15:45:58 +01:00
|
|
|
src = fetchFromGitHub {
|
2015-12-06 17:36:28 +00:00
|
|
|
owner = "rakshasa";
|
|
|
|
repo = "libtorrent";
|
2017-09-20 15:45:58 +01:00
|
|
|
rev = "c167c5a9e0bcf0df23ae5efd91396aae0e37eb87";
|
|
|
|
sha256 = "0y9759sxx5dyamyw8w58dsxq7bmnn57q7s2f4cw2zln2pp5gripw";
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
|
|
|
|
2015-12-06 17:36:28 +00:00
|
|
|
buildInputs = [ pkgconfig libtool autoconf automake cppunit openssl libsigcxx zlib ];
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
2011-07-18 15:34:33 +01:00
|
|
|
|
2015-09-14 19:48:12 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-09-20 15:45:58 +01:00
|
|
|
homepage = "http://rtorrent.net/downloads/";
|
2015-09-14 19:48:12 +01:00
|
|
|
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
|
2011-07-18 15:34:33 +01:00
|
|
|
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = platforms.linux;
|
2016-05-16 21:30:20 +01:00
|
|
|
maintainers = with maintainers; [ ebzzry codyopel ];
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
2010-07-28 12:55:54 +01:00
|
|
|
}
|