mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
29 lines
883 B
Nix
29 lines
883 B
Nix
# 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, autoreconfHook
|
|
, cppunit, openssl, libsigcxx, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libtorrent";
|
|
version = "0.13.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rakshasa";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1h5y6ab3gs20yyprdfwcw8fh1c6czs4yrdj0kf54d2vp9qwz685r";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
buildInputs = [ cppunit openssl libsigcxx zlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/rakshasa/libtorrent";
|
|
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
|
|
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ ebzzry codyopel ];
|
|
};
|
|
}
|