2014-06-16 01:05:11 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, 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
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-14 20:48:12 +02:00
|
|
|
url = "http://rtorrent.net/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "012s1nwcvz5m5r4d2z9klgy2n34kpgn9kgwgzxm97zgdjs6a0f18";
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
|
|
|
|
2014-06-16 01:05:11 +02:00
|
|
|
buildInputs = [ pkgconfig openssl libsigcxx zlib ];
|
2011-07-18 16:34:33 +02:00
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/rakshasa/libtorrent/;
|
|
|
|
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
|
|
|
|
2015-09-14 20:48:12 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ simons ebzzry ];
|
2008-02-23 13:11:27 +01:00
|
|
|
};
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|