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