Unverified Commit 3ecafeb0 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #214696 from dotlambda/aiofile-asynctest

python310Packages.aiofile: don't depend on asynctest
parents a034e64e c85857de
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
{ lib
, aiomisc
, asynctest
, caio
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
}:
@@ -22,13 +22,20 @@ buildPythonPackage rec {
    hash = "sha256-PIImQZ1ymazsOg8qmlO91tNYHwXqK/d8AuKPsWYvh0w=";
  };

  patches = [
    (fetchpatch {
      name = "remove-asynctest.patch";
      url = "https://github.com/mosquito/aiofile/commit/9253ca42022f17f630ccfb6811f67876910f8b13.patch";
      hash = "sha256-yMRfqEbdxApFypEj27v1zTgF/4kuLf5aS/+clo3mfZo=";
    })
  ];

  propagatedBuildInputs = [
    caio
  ];

  nativeCheckInputs = [
    aiomisc
    asynctest
    pytestCheckHook
  ];