Unverified Commit 8e8368f3 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #225638 from marsam/update-flexget

flexget: 3.5.36 -> 3.6.0
parents 63fe3241 6e61bca3
Loading
Loading
Loading
Loading
+3 −14
Original line number Diff line number Diff line
@@ -14,24 +14,12 @@ 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
python.pkgs.buildPythonApplication rec {
  pname = "flexget";
  version = "3.5.36";
  version = "3.6.0";
  format = "pyproject";

  # Fetch from GitHub in order to use `requirements.in`
@@ -39,7 +27,7 @@ python.pkgs.buildPythonApplication rec {
    owner = "Flexget";
    repo = "Flexget";
    rev = "refs/tags/v${version}";
    hash = "sha256-Aj3dOdZTpqBocBFySPZjvjeOZs7eAJeKqm7ykh0Y1CE=";
    hash = "sha256-VsXiWsvEjRhWckwqHcUPx2B9mwOUmRLLHIM5ALoW9GI=";
  };

  postPatch = ''
@@ -99,6 +87,7 @@ python.pkgs.buildPythonApplication rec {

  pythonImportsCheck = [
    "flexget"
    "flexget.plugins.clients.transmission"
  ];

  meta = with lib; {