2024-07-06 07:20:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, boost
|
|
|
|
, libtorrent-rasterbar
|
|
|
|
, openssl
|
|
|
|
, qt5
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qbittorrent-enhanced";
|
2024-09-20 23:13:23 +00:00
|
|
|
version = "4.6.7.10";
|
2024-07-06 07:20:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c0re100";
|
|
|
|
repo = "qBittorrent-Enhanced-Edition";
|
|
|
|
rev = "release-${version}";
|
2024-09-20 23:13:23 +00:00
|
|
|
hash = "sha256-Mr376nH2pE6NMF9IdDhZULwqkRr7472OZnKO86hb6ZI=";
|
2024-07-06 07:20:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
cmake
|
|
|
|
qt5.wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
openssl.dev
|
|
|
|
boost
|
|
|
|
zlib
|
|
|
|
libtorrent-rasterbar
|
|
|
|
qt5.qtbase
|
|
|
|
qt5.qttools
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unofficial enhanced version of qBittorrent, a BitTorrent client";
|
|
|
|
homepage = "https://github.com/c0re100/qBittorrent-Enhanced-Edition";
|
|
|
|
changelog = "https://github.com/c0re100/qBittorrent-Enhanced-Edition/blob/${src.rev}/Changelog";
|
|
|
|
license = with lib.licenses; [ gpl2Only gpl3Only ];
|
|
|
|
maintainers = with lib.maintainers; [ ByteSudoer ];
|
|
|
|
mainProgram = "qBittorrent-enhanced";
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|