2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-23 12:11:27 +00:00
|
|
|
pname = "libtorrent";
|
2010-07-07 21:11:07 +00:00
|
|
|
version = "0.12.6";
|
2008-02-23 12:11:27 +00:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://libtorrent.rakshasa.no/downloads/${name}.tar.gz";
|
2010-07-07 21:11:07 +00:00
|
|
|
sha256 = "0abisz3jgfv4zmyzbsknzvz9hwakxxpdgfl33qk0aslnchqz60kv";
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig openssl libsigcxx ];
|
|
|
|
|
|
|
|
meta = {
|
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";
|
2008-02-23 12:11:27 +00:00
|
|
|
};
|
2010-07-28 11:55:54 +00:00
|
|
|
}
|