Commit 06334618 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.pyopenuv: add patch to remove asynctest

parent bc005b22
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
{ lib
, aiohttp
, aresponses
, asynctest
, backoff
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
@@ -26,6 +26,15 @@ buildPythonPackage rec {
    hash = "sha256-EiTTck6hmOGSQ7LyZsbhnH1zgkH8GccejLdJaH2m0F8=";
  };

  patches = [
    # Remove asynctest, https://github.com/bachya/pyopenuv/pull/108
    (fetchpatch {
      name = "remove-asynctest.patch";
      url = "https://github.com/bachya/pyopenuv/commit/af15736b0d82ef811c3f380f5da32007752644fe.patch";
      hash = "sha256-5uQS3DoM91mhfyxLTNii3JBxwXIDK4/GwtadkVagjuw=";
    })
  ];

  nativeBuildInputs = [
    poetry-core
  ];
@@ -37,7 +46,6 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    aresponses
    asynctest
    pytest-asyncio
    pytest-aiohttp
    pytestCheckHook