about summary refs log tree commit diff
path: root/pkgs/applications/networking/flexget
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-02-11 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2024-02-11 04:20:00 +0000
commite6841b0d0e02d302611c66da421a1e85bc014e03 (patch)
treef64df93e6cacb54508f7aec1a8b0e32ea23685f7 /pkgs/applications/networking/flexget
parent23859f9f4a076c57aa2f40021afcf5d30f814b3f (diff)
flexget: 3.11.8 -> 3.11.17
Diff: https://github.com/Flexget/Flexget/compare/refs/tags/v3.11.8...v3.11.17

Changelog: https://github.com/Flexget/Flexget/releases/tag/v3.11.17
Diffstat (limited to 'pkgs/applications/networking/flexget')
-rw-r--r--pkgs/applications/networking/flexget/default.nix28
1 files changed, 5 insertions, 23 deletions
diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix
index 1518ca4403d95..c2f13faa10c42 100644
--- a/pkgs/applications/networking/flexget/default.nix
+++ b/pkgs/applications/networking/flexget/default.nix
@@ -4,27 +4,9 @@
 , fetchFromGitHub
 }:
 
-let
-  python = python3.override {
-    # FlexGet doesn't support transmission-rpc>=5 yet
-    # https://github.com/NixOS/nixpkgs/issues/258504
-    # https://github.com/Flexget/Flexget/issues/3847
-    packageOverrides = self: super: {
-      transmission-rpc = super.transmission-rpc.overridePythonAttrs (old: rec {
-        version = "4.3.1";
-        src = fetchPypi {
-          pname = "transmission_rpc";
-          inherit version;
-          hash = "sha256-Kh2eARIfM6MuXu7RjPPVhvPZ+bs0AXkA4qUCbfu5hHU=";
-        };
-        doCheck = false;
-      });
-    };
-  };
-in
-python.pkgs.buildPythonApplication rec {
+python3.pkgs.buildPythonApplication rec {
   pname = "flexget";
-  version = "3.11.8";
+  version = "3.11.17";
   pyproject = true;
 
   # Fetch from GitHub in order to use `requirements.in`
@@ -32,7 +14,7 @@ python.pkgs.buildPythonApplication rec {
     owner = "Flexget";
     repo = "Flexget";
     rev = "refs/tags/v${version}";
-    hash = "sha256-kJLcOk1ci4agSoBO7L1JacVq5G2jTjOj1mh7J8S2D+Y=";
+    hash = "sha256-C6BVSrF6xM3tnNnGS39T57N9jB5LnOq4W1hcF99CgPk=";
   };
 
   postPatch = ''
@@ -40,12 +22,12 @@ python.pkgs.buildPythonApplication rec {
     sed 's/[~<>=][^;]*//' -i requirements.txt
   '';
 
-  nativeBuildInputs = with python.pkgs; [
+  nativeBuildInputs = with python3.pkgs; [
     setuptools
     wheel
   ];
 
-  propagatedBuildInputs = with python.pkgs; [
+  propagatedBuildInputs = with python3.pkgs; [
     # See https://github.com/Flexget/Flexget/blob/master/requirements.txt
     apscheduler
     beautifulsoup4