1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/p2p/libtorrent/default.nix

24 lines
644 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx }:
let
version = "0.13.3";
in
stdenv.mkDerivation {
name = "libtorrent-${version}";
src = fetchurl {
url = "http://libtorrent.rakshasa.no/downloads/libtorrent-${version}.tar.gz";
sha256 = "0xsnyd1hnfvfq67y5s0ddhj2lhxmfms4djblaa0d1y5phdkpsc9l";
};
buildInputs = [ pkgconfig openssl libsigcxx ];
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 ];
};
}