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