mirror of https://codeberg.org/hako/Rosenthal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.0 KiB
57 lines
2.0 KiB
;; SPDX-FileCopyrightText: 2022 Hilton Chain <hako@ultrarare.space> |
|
;; |
|
;; SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
(define-module (rosenthal packages bittorrent) |
|
#:use-module (guix build-system cmake) |
|
#:use-module (guix gexp) |
|
#:use-module (guix git-download) |
|
#:use-module (guix packages) |
|
#:use-module (guix utils) |
|
#:use-module (gnu packages bittorrent) |
|
#:use-module (gnu packages qt)) |
|
|
|
(define-public qbittorrent-enhanced-edition |
|
(let ((base qbittorrent)) |
|
(package |
|
(inherit base) |
|
(name "qbittorrent-enhanced-edition") |
|
(version "4.5.0.10") |
|
(source (origin |
|
(method git-fetch) |
|
(uri (git-reference |
|
(url "https://github.com/c0re100/qBittorrent-Enhanced-Edition") |
|
(commit (string-append "release-" version)))) |
|
(file-name (git-file-name name version)) |
|
(sha256 |
|
(base32 |
|
"1dzlf85jmzdxa4rqjzddicl02053d7bzqy5ls1cqm95jaj94qbdh")))) |
|
(home-page "https://github.com/c0re100/qBittorrent-Enhanced-Edition") |
|
(description |
|
"qBittorrent Enhanced is a bittorrent client based on qBittorrent with |
|
the following features: |
|
|
|
@itemize |
|
@item Auto Ban Xunlei, QQ, Baidu, Xfplay, DLBT and Offline downloader |
|
@item Auto Ban Unknown Peer from China Option (Default: OFF) |
|
@item Auto Update Public Trackers List (Default: OFF) |
|
@item Auto Ban BitTorrent Media Player Peer Option (Default: OFF) |
|
@item Peer whitelist/blacklist |
|
@end itemize\n")))) |
|
|
|
(define-public qbittorrent-enhanced-edition-nox |
|
(let ((base qbittorrent-enhanced-edition)) |
|
(package |
|
(inherit base) |
|
(name "qbittorrent-enhanced-edition-nox") |
|
(arguments |
|
(substitute-keyword-arguments (package-arguments base) |
|
((#:configure-flags configure-flags) |
|
#~(append #$configure-flags |
|
(list "--disable-gui"))) |
|
((#:phases phases) |
|
#~(modify-phases #$phases |
|
(delete 'wrap-qt))))) |
|
(inputs |
|
(modify-inputs (package-inputs base) |
|
(delete "qtsvg-5"))))))
|
|
|