mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
f7ebac2152
Diff: https://github.com/MartinHjelmare/aiortm/compare/refs/tags/v0.9.42...v0.9.43 Changelog: https://github.com/MartinHjelmare/aiortm/blob/v0.9.43/CHANGELOG.md
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
ciso8601,
|
|
click,
|
|
fetchFromGitHub,
|
|
mashumaro,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
rich,
|
|
typer,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiortm";
|
|
version = "0.9.43";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MartinHjelmare";
|
|
repo = "aiortm";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-MyeD0SNVHhIPn3KcBfLO5msmwrFRMyIhW8LxUVsHU0o=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "typer" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
ciso8601
|
|
click
|
|
mashumaro
|
|
rich
|
|
typer
|
|
yarl
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
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/v${version}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "aiortm";
|
|
};
|
|
}
|