13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
24 hash = "sha256-KBly/aeHHZh7mL8MJ9gmxbqS7PmR4sedtBY/2HCXt54=";
27 build-system = [ setuptools ];
29 dependencies = [ caio ];
37 pythonImportsCheck = [ "aiofile" ];
40 # Tests (SystemError) fails randomly during nixpkgs-review
42 "test_async_open_iter_chunked"
43 "test_async_open_iter_chunked"
44 "test_async_open_line_iter"
45 "test_async_open_line_iter"
46 "test_async_open_readline"
47 "test_async_open_unicode"
49 "test_binary_io_wrapper"
50 "test_line_reader_one_line"
52 "test_open_non_existent_file_with_append"
53 "test_text_io_wrapper"
57 "test_write_read_nothing"
61 description = "File operations with asyncio support";
62 homepage = "https://github.com/mosquito/aiofile";
63 changelog = "https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md";
64 license = licenses.asl20;
65 maintainers = with maintainers; [ fab ];