Unverified Commit 21e9d63b authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.ha-ffmpeg: only depend on async-timeout for Python < 3.11 (#453687)

parents 4fb2921e 77046b30
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -12,8 +12,6 @@ buildPythonPackage rec {
  version = "3.2.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "home-assistant-libs";
    repo = "ha-ffmpeg";
@@ -23,7 +21,13 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  dependencies = [ async-timeout ];
  pythonRemoveDeps = [
    "async_timeout"
  ];

  dependencies = lib.optionals (pythonOlder "3.11") [
    async-timeout
  ];

  # only manual tests
  doCheck = false;