Files
nixpkgs/pkgs/development/python-modules/aiofiles/default.nix
T
Martin Weinelt 84aebaa353 python3Packages.aiofiles: 24.1.0 -> 25.1.0
https://github.com/Tinche/aiofiles/releases/tag/v25.1.0

This commit was automatically generated using update-python-libraries.
2026-02-01 16:40:50 +01:00

54 lines
1.0 KiB
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiofiles";
version = "25.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Tinche";
repo = "aiofiles";
tag = "v${version}";
hash = "sha256-NBmzoUb2una3+eWqR1HraVPibaRb9I51aYwskrjxskQ=";
};
build-system = [
hatchling
hatch-vcs
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
"test_sendfile_file"
# require loopback networking:
"test_sendfile_socket"
"test_serve_small_bin_file_sync"
"test_serve_small_bin_file"
"test_slow_file"
];
pythonImportsCheck = [ "aiofiles" ];
meta = {
description = "File support for asyncio";
homepage = "https://github.com/Tinche/aiofiles";
changelog = "https://github.com/Tinche/aiofiles/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}