From 12a6b43b0c127787a2e5e35df2e7b82f152aec61 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 5 Apr 2023 23:59:04 +0200 Subject: [PATCH] flexget: pin transmission-rpc version to fix compatibility issue --- pkgs/applications/networking/flexget/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 29badfb1ca4..21ec3533976 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -14,6 +14,18 @@ let hash = "sha256-lfwC9/wfMZmqpHqKdXQ3E0z2GOnZlMhO/9U/Uww4WG8="; }; }); + + # Flexget's transmission plugin is not currently compatible with the 4.x + # branch for transmission-rpc. + transmission-rpc = super.transmission-rpc.overridePythonAttrs (old: rec { + version = "3.4.2"; + src = fetchFromGitHub { + owner = "Trim21"; + repo = "transmission-rpc"; + rev = "refs/tags/v${version}"; + hash = "sha256-7XbL6plIPZHQ/0Z+7bvtj8hqkh4klFyIV73DnrUAkps="; + }; + }); }; }; in