Files
nixpkgs/pkgs/development/python-modules/aiortm/default.nix
Martin Weinelt 6e11fc7ca8 python3Packages.aiortm: 0.10.0 -> 0.11.0
https://github.com/MartinHjelmare/aiortm/blob/v0.11.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2025-08-09 18:57:54 +02:00

66 lines
1.2 KiB
Nix

{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
ciso8601,
fetchFromGitHub,
mashumaro,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
typer,
yarl,
}:
buildPythonPackage rec {
pname = "aiortm";
version = "0.11.0";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = "aiortm";
tag = "v${version}";
hash = "sha256-KghKxaa1MhNH13NdUpDiT5h8ZEj5aWLUVhvQKvLC+oM=";
};
pythonRelaxDeps = [ "typer" ];
build-system = [ setuptools ];
dependencies = [
aiohttp
ciso8601
mashumaro
yarl
];
optional-dependencies = {
cli = [ typer ];
};
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
]
++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "aiortm" ];
meta = with lib; {
description = "Library for the Remember the Milk API";
homepage = "https://github.com/MartinHjelmare/aiortm";
changelog = "https://github.com/MartinHjelmare/aiortm/blob/${src.tag}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "aiortm";
};
}