Files
nixpkgs/pkgs/development/python-modules/aiotools/default.nix
Fabian Affolter 2b9a5f4ff4 python3Packages.aiotools: add typing-extensions
Disable failing test
2026-09-23 10:32:15 +02:00

53 lines
1.0 KiB
Nix

{
lib,
async-lru,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools-scm,
typing-extensions,
}:
buildPythonPackage (finalAttrs: {
pname = "aiotools";
version = "2.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "achimnol";
repo = "aiotools";
tag = finalAttrs.version;
hash = "sha256-uIG3JPqep4NGtZa7Qo8SOK9Ca1GNKyuBasFtwR9oG8U=";
};
build-system = [
setuptools-scm
];
dependencies = [
async-lru
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "aiotools" ];
disabledTestPaths = [
# Fatal Python error: Segmentation fault
"tests/test_fork.py"
];
meta = {
description = "Idiomatic asyncio utilities";
homepage = "https://github.com/achimnol/aiotools";
changelog = "https://github.com/achimnol/aiotools/blob/${finalAttrs.src.tag}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ robertjakub ];
};
})