2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiohttp,
|
|
|
|
aioresponses,
|
|
|
|
buildPythonPackage,
|
|
|
|
ciso8601,
|
|
|
|
click,
|
|
|
|
fetchFromGitHub,
|
|
|
|
mashumaro,
|
|
|
|
poetry-core,
|
|
|
|
pytest-asyncio,
|
2024-09-26 11:04:55 +00:00
|
|
|
pytest-cov-stub,
|
2024-04-21 15:54:59 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2024-09-26 11:04:55 +00:00
|
|
|
rich,
|
|
|
|
typer,
|
2024-04-21 15:54:59 +00:00
|
|
|
yarl,
|
2022-08-12 12:06:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiortm";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "0.9.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
disabled = pythonOlder "3.12";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MartinHjelmare";
|
2024-01-02 11:29:13 +00:00
|
|
|
repo = "aiortm";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-fGUD0Ne7S2MyR4ilKy6GGzuWE+nO/DWMnBex4YZbXc8=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
pythonRelaxDeps = [ "typer" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ poetry-core ];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2022-08-12 12:06:08 +00:00
|
|
|
aiohttp
|
2024-01-02 11:29:13 +00:00
|
|
|
ciso8601
|
2022-08-12 12:06:08 +00:00
|
|
|
click
|
2024-01-02 11:29:13 +00:00
|
|
|
mashumaro
|
2024-09-26 11:04:55 +00:00
|
|
|
rich
|
|
|
|
typer
|
2022-08-12 12:06:08 +00:00
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
aioresponses
|
2024-01-02 11:29:13 +00:00
|
|
|
pytest-asyncio
|
2024-09-26 11:04:55 +00:00
|
|
|
pytest-cov-stub
|
2022-08-12 12:06:08 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "aiortm" ];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for the Remember the Milk API";
|
|
|
|
homepage = "https://github.com/MartinHjelmare/aiortm";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md";
|
2022-08-12 12:06:08 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "aiortm";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
}
|