Skip to content

Commit

Permalink
Merge pull request NixOS#324594 from ByteSudoer/init-qbittorent-enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jul 16, 2024
2 parents 6e9677e + bf0b7d6 commit ac5e8ab
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/by-name/qb/qbittorrent-enhanced/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, boost
, libtorrent-rasterbar
, openssl
, qt5
, zlib
}:

stdenv.mkDerivation rec {
pname = "qbittorrent-enhanced";
version = "4.6.5.10";

src = fetchFromGitHub {
owner = "c0re100";
repo = "qBittorrent-Enhanced-Edition";
rev = "release-${version}";
hash = "sha256-Yy0DUTz1lWkseh9x1xnHJCI89BKqi/D7zUn/S+qC+kM=";
};

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;
};
}

0 comments on commit ac5e8ab

Please sign in to comment.