nixpkgs/pkgs/tools/networking/p2p/libtorrent/default.nix

20 lines
508 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx }:
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";
};
}