aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-02-12 13:08:57 +0800
committerJosselin Poiret <dev@jpoiret.xyz>2023-05-17 23:22:28 +0200
commitd845202d357057b586ec2075a8b8ec492210c005 (patch)
treeb7e98e40e21799e222825d138795dd55ea849b2f
parentd19c7c2791dc01d678ec017ad83868d5629b53f6 (diff)
downloadguix-d845202d357057b586ec2075a8b8ec492210c005.tar
guix-d845202d357057b586ec2075a8b8ec492210c005.tar.gz
gnu: Add qbittorrent-nox.
* gnu/packages/bittorrent.scm (qbittorrent-nox): New variable. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
-rw-r--r--gnu/packages/bittorrent.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0e4b74db8a..97f5e7708e 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -500,6 +500,23 @@ qBittorrent is fast, stable and provides unicode support as well as many
features.")
(license l:gpl2+)))
+(define-public qbittorrent-nox
+ (let ((base qbittorrent))
+ (package
+ (inherit base)
+ (name "qbittorrent-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"))))))
+
(define-public deluge
(package
(name "deluge")