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