nixpkgs/pkgs/by-name/qb/qbittorrent-enhanced/package.nix

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

49 lines
1 KiB
Nix
Raw Normal View History

2024-07-06 09:20:15 +02:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, boost
, libtorrent-rasterbar
, openssl
, qt5
, zlib
}:
stdenv.mkDerivation rec {
pname = "qbittorrent-enhanced";
version = "4.6.6.10";
2024-07-06 09:20:15 +02:00
src = fetchFromGitHub {
owner = "c0re100";
repo = "qBittorrent-Enhanced-Edition";
rev = "release-${version}";
hash = "sha256-mmM/1eU8FTWAciq2rh7fRa96fOkovMk4ScoehnqHdIQ=";
2024-07-06 09:20:15 +02: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;
};
}