2010-07-28 04:55:54 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx }:
|
|
|
|
|
2011-07-18 07:34:33 -07:00
|
|
|
let
|
2012-06-16 07:15:42 -07:00
|
|
|
version = "0.13.2";
|
2011-07-18 07:34:33 -07:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libtorrent-${version}";
|
2008-02-23 04:11:27 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-18 07:34:33 -07:00
|
|
|
url = "http://libtorrent.rakshasa.no/downloads/libtorrent-${version}.tar.gz";
|
2012-06-16 07:15:42 -07:00
|
|
|
sha256 = "ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f";
|
2008-02-23 04:11:27 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig openssl libsigcxx ];
|
2011-07-18 07:34:33 -07:00
|
|
|
|
2008-02-23 04:11:27 -08:00
|
|
|
meta = {
|
2011-07-18 07:34:33 -07:00
|
|
|
homepage = "http://libtorrent.rakshasa.no/";
|
2009-03-03 05:27:40 -08:00
|
|
|
description = "A BitTorrent library written in C++ for *nix, with a focus on high performance and good code";
|
2011-07-18 07:34:33 -07:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2008-02-23 04:11:27 -08:00
|
|
|
};
|
2010-07-28 04:55:54 -07:00
|
|
|
}
|