libtorrent-jesec: init at 0.13.8-r1

This commit is contained in:
Winter 2021-05-06 18:55:40 -04:00
parent bf6df7187e
commit ce6d077290
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, cmake, gtest, openssl, zlib }:
stdenv.mkDerivation rec {
pname = "libtorrent-jesec";
version = "0.13.8-r1";
src = fetchFromGitHub {
owner = "jesec";
repo = "libtorrent";
rev = "v${version}";
sha256 = "sha256-Eh5pMkSe9uO0dPRWDg2BbbRxxuvX9FM2/OReq/61ojc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl zlib ];
# https://github.com/jesec/libtorrent/issues/1
doCheck = false;
checkInputs = [ gtest ];
meta = with lib; {
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
homepage = "https://github.com/jesec/libtorrent";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ winterqt ];
platforms = platforms.linux;
};
}

View file

@ -5955,6 +5955,8 @@ in
libtorrent = callPackage ../tools/networking/p2p/libtorrent { };
libtorrent-jesec = callPackage ../tools/networking/p2p/libtorrent-jesec { };
libmpack = callPackage ../development/libraries/libmpack { };
libiberty = callPackage ../development/libraries/libiberty { };