2025-02-28 17:02:20 +00:00

26 lines
793 B
Nix

{
lib,
fetchFromGitHub,
qbittorrent,
guiSupport ? true,
}:
(qbittorrent.override { inherit guiSupport; }).overrideAttrs (old: rec {
pname = "qbittorrent-enhanced" + lib.optionalString (!guiSupport) "-nox";
version = "5.0.4.10";
src = fetchFromGitHub {
owner = "c0re100";
repo = "qBittorrent-Enhanced-Edition";
rev = "release-${version}";
hash = "sha256-qYGDPEg4BZZgHschgFjp23EnmaBtmM+UNoC2Lympt/g=";
};
meta = old.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/release-${version}/Changelog";
maintainers = with lib.maintainers; [ ByteSudoer ];
};
})