nixpkgs/pkgs/by-name/li/libtorrent/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1.2 KiB
Nix
Raw Normal View History

# Note: this is rakshasa's version of libtorrent, used mainly by rtorrent.
# *Do not* mistake it by libtorrent-rasterbar, used by Deluge, qbitttorent etc.
2024-11-16 17:58:55 +00:00
{
lib,
stdenv,
fetchFromGitHub,
autoconf-archive,
autoreconfHook,
cppunit,
libsigcxx,
openssl,
pkg-config,
zlib,
gitUpdater,
2019-07-29 19:56:30 +00:00
}:
stdenv.mkDerivation rec {
pname = "rakshasa-libtorrent";
version = "0.14.0";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "libtorrent";
rev = "v${version}";
hash = "sha256-MDLAp7KFmVvHL+haWVYwWG8gnLkTh6g19ydRkbu9cIs=";
};
nativeBuildInputs = [
autoconf-archive
autoreconfHook
pkg-config
];
buildInputs = [
cppunit
libsigcxx
openssl
zlib
];
configureFlags = [ "--enable-aligned=yes" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
2024-06-25 14:33:40 +00:00
enableParallelBuilding = true;
meta = {
2019-07-20 01:26:40 +00:00
homepage = "https://github.com/rakshasa/libtorrent";
2015-09-14 18:48:12 +00:00
description = "BitTorrent library written in C++ for *nix, with focus on high performance and good code";
license = lib.licenses.gpl2Plus;
2024-11-16 17:58:55 +00:00
maintainers = with lib.maintainers; [
ebzzry
codyopel
thiagokokada
];
platforms = lib.platforms.unix;
};
}