push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
{
lib,
aiomisc,
aiomisc-pytest,
caio,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiofile";
version = "3.8.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mosquito";
repo = "aiofile";
tag = version;
hash = "sha256-KBly/aeHHZh7mL8MJ9gmxbqS7PmR4sedtBY/2HCXt54=";
};
build-system = [ setuptools ];
dependencies = [ caio ];
nativeCheckInputs = [
aiomisc
aiomisc-pytest
pytestCheckHook
];
pythonImportsCheck = [ "aiofile" ];
disabledTests = [
# Tests (SystemError) fails randomly during nixpkgs-review
"test_async_open_fp"
"test_async_open_iter_chunked"
"test_async_open_iter_chunked"
"test_async_open_line_iter"
"test_async_open_line_iter"
"test_async_open_readline"
"test_async_open_unicode"
"test_async_open"
"test_binary_io_wrapper"
"test_line_reader_one_line"
"test_modes"
"test_open_non_existent_file_with_append"
"test_text_io_wrapper"
"test_truncate"
"test_unicode_reader"
"test_unicode_writer"
"test_write_read_nothing"
];
meta = with lib; {
description = "File operations with asyncio support";
homepage = "https://github.com/mosquito/aiofile";
changelog = "https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}