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

31 lines
935 B
Nix
Raw Normal View History

# NOTE: this is rakshava's version of libtorrent, used mainly by rtorrent
# This is NOT libtorrent-rasterbar, used by Deluge, qbitttorent, and others
{ stdenv, fetchFromGitHub, pkgconfig
, libtool, autoconf, automake, cppunit
, openssl, libsigcxx, zlib }:
2015-09-14 18:48:12 +00:00
stdenv.mkDerivation rec {
name = "libtorrent-${version}";
2018-08-04 13:31:05 +00:00
version = "0.13.7";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "libtorrent";
2018-08-04 13:31:05 +00:00
rev = "v${version}";
sha256 = "027qanwcisxhx0bq8dn8cpg8563q0k2pm8ls278f04n7jqvvwkp0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libtool autoconf automake cppunit openssl libsigcxx zlib ];
preConfigure = "./autogen.sh";
2015-09-14 18:48:12 +00:00
meta = with stdenv.lib; {
2018-08-04 13:31:05 +00:00
inherit (src.meta) homepage;
2015-09-14 18:48:12 +00:00
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
2018-04-04 01:31:13 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ ebzzry codyopel ];
};
}