Unverified Commit 344169b2 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pyps4-2ndscreen: replace async-timeout with asyncio.timeout (#461399)

parents 59fd3f2d e1892218
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  pythonOlder,
  setuptools,
  aiohttp,
@@ -18,8 +19,6 @@ buildPythonPackage rec {
  version = "1.3.1";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "ktnrg45";
    repo = "pyps4-2ndscreen";
@@ -27,6 +26,15 @@ buildPythonPackage rec {
    hash = "sha256-AXU9WJ7kT/0ev1Cn+CYhEieR7IM5VXebxQYWUS8bdds=";
  };

  patches = [
    # https://github.com/ktnrg45/pyps4-2ndscreen/pull/61
    (fetchpatch {
      name = "replace-async-timeout-with-asyncio.timeout.patch";
      url = "https://github.com/ktnrg45/pyps4-2ndscreen/commit/c3c89f9cce09d91e2b325474d28d7f1b3ccdf0f4.patch";
      hash = "sha256-igLa+DUvQWUZtrHiq9UXTSG2h7cktElaXbTsxYPEeLM=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [