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}";
|
2015-09-14 19:48:12 +01:00
|
|
|
version = "0.13.6";
|
2008-02-23 12:11:27 +00:00
|
|
|
|
2015-12-06 17:36:28 +00:00
|
|
|
src = fetchFromGitHub rec {
|
|
|
|
owner = "rakshasa";
|
|
|
|
repo = "libtorrent";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1rvrxgb131snv9r6ksgzmd74rd9z7q46bhky0zazz7dwqqywffcp";
|
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; {
|
2015-12-07 21:39:39 +00:00
|
|
|
homepage = http://www.libtorrent.org/;
|
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
|
|
|
|
2015-09-14 19:48:12 +01:00
|
|
|
platforms = platforms.unix;
|
2015-12-06 17:36:28 +00:00
|
|
|
maintainers = with maintainers; [ simons ebzzry codyopel ];
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
2010-07-28 12:55:54 +01:00
|
|
|
}
|