diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-19 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-19 04:20:00 +0000 |
commit | 44adc0918b5626da24acf7403b9f4d79c60e916f (patch) | |
tree | a1684901b316740685ce6aefb29229c9c12d0aee /pkgs/applications/networking/flexget/default.nix | |
parent | bd3de7859d87e1f53375941fe2ee937e0f5b97ef (diff) |
flexget: fix build
Closes #222029
Diffstat (limited to 'pkgs/applications/networking/flexget/default.nix')
-rw-r--r-- | pkgs/applications/networking/flexget/default.nix | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 2612aef79d1d0..722cd4871c02f 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 |