From e6841b0d0e02d302611c66da421a1e85bc014e03 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 11 Feb 2024 04:20:00 +0000 Subject: [PATCH] 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 --- .../networking/flexget/default.nix | 28 ++++--------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix index 1518ca4403d9..c2f13faa10c4 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