From a9990087495f526c227255ba92c055fb59020767 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 28 Jun 2023 21:36:23 +0800 Subject: [PATCH] rosenthal: Rename qbittorrent-enhanced-edition to qbittorrent-enhanced. * rosenthal/packages/bittorrent.scm (qbittorrent-enhanced) (qbittorrent-enhanced-nox): New variables. (qbittorrent-enhanced-edition,qbittorrent-enhanced-edition-nox): Mark as deprecated aliases. --- rosenthal/packages/bittorrent.scm | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/rosenthal/packages/bittorrent.scm b/rosenthal/packages/bittorrent.scm index 702154e..bb0fa66 100644 --- a/rosenthal/packages/bittorrent.scm +++ b/rosenthal/packages/bittorrent.scm @@ -11,11 +11,11 @@ #:use-module (gnu packages bittorrent) #:use-module (gnu packages qt)) -(define-public qbittorrent-enhanced-edition +(define-public qbittorrent-enhanced (let ((base qbittorrent)) (package (inherit base) - (name "qbittorrent-enhanced-edition") + (name "qbittorrent-enhanced") (version "4.5.0.10") (source (origin (method git-fetch) @@ -39,11 +39,11 @@ the following features: @item Peer whitelist/blacklist @end itemize\n")))) -(define-public qbittorrent-enhanced-edition-nox - (let ((base qbittorrent-enhanced-edition)) +(define-public qbittorrent-enhanced-nox + (let ((base qbittorrent-enhanced)) (package (inherit base) - (name "qbittorrent-enhanced-edition-nox") + (name "qbittorrent-enhanced-nox") (arguments (substitute-keyword-arguments (package-arguments base) ((#:configure-flags configure-flags) @@ -55,3 +55,9 @@ the following features: (inputs (modify-inputs (package-inputs base) (delete "qtsvg-5")))))) + +(define-public qbittorrent-enhanced-edition + (deprecated-package "qbittorrent-enhanced-edition" qbittorrent-enhanced)) + +(define-public qbittorrent-enhanced-edition-nox + (deprecated-package "qbittorrent-enhanced-edition-nox" qbittorrent-enhanced-nox))