Files
nixpkgs/pkgs/development/python-modules/aiotools/default.nix
T
2026-02-24 22:28:52 +01:00

46 lines
893 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
async-lru,
pytestCheckHook,
pytest-asyncio,
}:
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
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "aiotools" ];
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 ];
};
})