Merge pull request #214696 from dotlambda/aiofile-asynctest

python310Packages.aiofile: don't depend on asynctest
This commit is contained in:
Fabian Affolter 2023-02-05 09:31:17 +01:00 committed by GitHub
commit 3ecafeb0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
{ lib { lib
, aiomisc , aiomisc
, asynctest
, caio , caio
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
}: }:
@ -22,13 +22,20 @@ buildPythonPackage rec {
hash = "sha256-PIImQZ1ymazsOg8qmlO91tNYHwXqK/d8AuKPsWYvh0w="; 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 = [ propagatedBuildInputs = [
caio caio
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
aiomisc aiomisc
asynctest
pytestCheckHook pytestCheckHook
]; ];