2015-12-06 18:36:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig
|
|
|
|
, libtool, autoconf, automake, cppunit
|
|
|
|
, openssl, libsigcxx, zlib }:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2011-07-18 16:34:33 +02:00
|
|
|
name = "libtorrent-${version}";
|
2015-09-14 20:48:12 +02:00
|
|
|
version = "0.13.6";
|
2008-02-23 13:11:27 +01:00
|
|
|
|
2015-12-06 18:36:28 +01:00
|
|
|
src = fetchFromGitHub rec {
|
|
|
|
owner = "rakshasa";
|
|
|
|
repo = "libtorrent";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1rvrxgb131snv9r6ksgzmd74rd9z7q46bhky0zazz7dwqqywffcp";
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
|
|
|
|
2015-12-06 18:36:28 +01:00
|
|
|
buildInputs = [ pkgconfig libtool autoconf automake cppunit openssl libsigcxx zlib ];
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
2011-07-18 16:34:33 +02:00
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-12-07 22:39:39 +01:00
|
|
|
homepage = http://www.libtorrent.org/;
|
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
|
|
|
|
2016-09-01 19:39:33 +02:00
|
|
|
platforms = platforms.linux;
|
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
|
|
|
}
|