summary refs log tree commit diff
path: root/pkgs/tools/networking/p2p/libtorrent/default.nix
blob: 8f4c18c06c3653ff4da28fd706ce7f25ca0eff80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
args: with args;
stdenv.mkDerivation ( rec {
  pname = "libtorrent";
  version = "0.12.6";

  name = "${pname}-${version}";
  
  src = fetchurl {
    url = "http://libtorrent.rakshasa.no/downloads/${name}.tar.gz";
    sha256 = "0abisz3jgfv4zmyzbsknzvz9hwakxxpdgfl33qk0aslnchqz60kv";
  };

  buildInputs = [ pkgconfig openssl libsigcxx ];
  
  meta = {
    description = "A BitTorrent library written in C++ for *nix, with a focus on high performance and good code";
  };
})