From 30daee458491c34ca65f2cb5925fbd4812811e4c Mon Sep 17 00:00:00 2001 From: LoCrealloc Date: Mon, 5 May 2025 20:27:38 +0200 Subject: [PATCH] =?UTF-8?q?qbittorrent:=205.0.4=20=E2=86=92=205.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/by-name/qb/qbittorrent/package.nix | 11 ++--------- pkgs/by-name/qb/qbittorrent/qt-6.9.patch | 14 -------------- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 pkgs/by-name/qb/qbittorrent/qt-6.9.patch diff --git a/pkgs/by-name/qb/qbittorrent/package.nix b/pkgs/by-name/qb/qbittorrent/package.nix index ecb3243eb1bf..f32b270787e1 100644 --- a/pkgs/by-name/qb/qbittorrent/package.nix +++ b/pkgs/by-name/qb/qbittorrent/package.nix @@ -20,22 +20,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "qbittorrent" + lib.optionalString (!guiSupport) "-nox"; - version = "5.0.4"; + version = "5.1.0"; src = fetchFromGitHub { owner = "qbittorrent"; repo = "qBittorrent"; rev = "release-${finalAttrs.version}"; - hash = "sha256-8gSSUgYx0CSSb3ackFknZ9r0cWFLxkC7a3Tj8QJaylc="; + hash = "sha256-ZLmKEdvtOxCzEOnJ4JPQQhR427YA288vTRxpk6O0tUc="; }; - # Partial backport of https://github.com/qbittorrent/qBittorrent/commit/a6809efbbbdf18a1b66df9c89d0d0aeefd78f461 - # to fix build with Qt 6.9. - # FIXME: remove in next update - patches = [ - ./qt-6.9.patch - ]; - nativeBuildInputs = [ cmake pkg-config diff --git a/pkgs/by-name/qb/qbittorrent/qt-6.9.patch b/pkgs/by-name/qb/qbittorrent/qt-6.9.patch deleted file mode 100644 index 3efe7fac60bc..000000000000 --- a/pkgs/by-name/qb/qbittorrent/qt-6.9.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/base/http/types.h b/src/base/http/types.h -index 156ddf6c0381..4b0b99a5914e 100644 ---- a/src/base/http/types.h -+++ b/src/base/http/types.h -@@ -29,7 +29,10 @@ - - #pragma once - -+#include -+#include - #include -+#include - #include - #include \ No newline at end of file