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

24 lines
655 B
Nix
Raw Normal View History

2014-06-15 23:05:11 +00:00
{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx, zlib }:
let
2014-06-15 23:05:11 +00:00
version = "0.13.4";
in
stdenv.mkDerivation {
name = "libtorrent-${version}";
src = fetchurl {
url = "http://libtorrent.rakshasa.no/downloads/libtorrent-${version}.tar.gz";
2014-06-15 23:05:11 +00:00
sha256 = "0ma910br5vxrfpm4f4w4942lpmhwvqjnnf9h8vpf52fw35qhjkkh";
};
2014-06-15 23:05:11 +00:00
buildInputs = [ pkgconfig openssl libsigcxx zlib ];
meta = {
homepage = "http://libtorrent.rakshasa.no/";
description = "A BitTorrent library written in C++ for *nix, with a focus on high performance and good code";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}