From 44adc0918b5626da24acf7403b9f4d79c60e916f Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 19 Mar 2023 04:20:00 +0000 Subject: [PATCH 1/2] flexget: fix build Closes #222029 --- .../networking/flexget/default.nix | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 2612aef79d1d..722cd4871c02 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -1,9 +1,23 @@ { lib -, python3Packages +, python3 , fetchFromGitHub }: -python3Packages.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + sqlalchemy = super.sqlalchemy.overridePythonAttrs (old: rec { + version = "1.4.47"; + src = self.fetchPypi { + pname = "SQLAlchemy"; + inherit version; + hash = "sha256-lfwC9/wfMZmqpHqKdXQ3E0z2GOnZlMhO/9U/Uww4WG8="; + }; + }); + }; + }; +in +python.pkgs.buildPythonApplication rec { pname = "flexget"; version = "3.5.31"; format = "pyproject"; @@ -28,7 +42,7 @@ python3Packages.buildPythonApplication rec { # ~400 failures doCheck = false; - propagatedBuildInputs = with python3Packages; [ + propagatedBuildInputs = with python.pkgs; [ # See https://github.com/Flexget/Flexget/blob/master/requirements.txt apscheduler beautifulsoup4 From 9fbe7ae457b9a77749d1b609e23af68de1b84131 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 19 Mar 2023 04:20:00 +0000 Subject: [PATCH 2/2] flexget: 3.5.31 -> 3.5.33 --- pkgs/applications/networking/flexget/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 722cd4871c02..29badfb1ca42 100644 --- a/pkgs/applications/networking/flexget/default.nix +++ b/pkgs/applications/networking/flexget/default.nix @@ -19,15 +19,15 @@ let in python.pkgs.buildPythonApplication rec { pname = "flexget"; - version = "3.5.31"; + version = "3.5.33"; format = "pyproject"; # Fetch from GitHub in order to use `requirements.in` src = fetchFromGitHub { - owner = "flexget"; - repo = "flexget"; + owner = "Flexget"; + repo = "Flexget"; rev = "refs/tags/v${version}"; - hash = "sha256-v6N1isaTVPwV/LC/a2lzrboLI6V/4W586RE5esfR500="; + hash = "sha256-LzDXNl2IQ3+j9uP+nE6JS8E+pO0n9zwmA7wrMeKR6Ms="; }; postPatch = ''