linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / by-name / qb / qbittorrent-enhanced / package.nix
blob7b73e1f660c91e33e9bcf1ca1efa94e89452723d
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , pkg-config
6 , boost
7 , libtorrent-rasterbar
8 , openssl
9 , qt5
10 , zlib
13 stdenv.mkDerivation rec {
14   pname = "qbittorrent-enhanced";
15   version = "4.6.7.10";
17   src = fetchFromGitHub {
18     owner = "c0re100";
19     repo = "qBittorrent-Enhanced-Edition";
20     rev = "release-${version}";
21     hash = "sha256-Mr376nH2pE6NMF9IdDhZULwqkRr7472OZnKO86hb6ZI=";
22   };
24   nativeBuildInputs = [
25     pkg-config
26     cmake
27     qt5.wrapQtAppsHook
28   ];
30   buildInputs = [
31     openssl.dev
32     boost
33     zlib
34     libtorrent-rasterbar
35     qt5.qtbase
36     qt5.qttools
37   ];
39   meta = {
40     description = "Unofficial enhanced version of qBittorrent, a BitTorrent client";
41     homepage = "https://github.com/c0re100/qBittorrent-Enhanced-Edition";
42     changelog = "https://github.com/c0re100/qBittorrent-Enhanced-Edition/blob/${src.rev}/Changelog";
43     license = with lib.licenses; [ gpl2Only gpl3Only ];
44     maintainers = with lib.maintainers; [ ByteSudoer ];
45     mainProgram = "qBittorrent-enhanced";
46     platforms = lib.platforms.linux;
47   };