anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / aiortm / default.nix
blobd53f571a00113470f8a190cb4d18d980cff147b6
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   ciso8601,
7   click,
8   fetchFromGitHub,
9   mashumaro,
10   poetry-core,
11   pytest-asyncio,
12   pytest-cov-stub,
13   pytestCheckHook,
14   pythonOlder,
15   rich,
16   typer,
17   yarl,
20 buildPythonPackage rec {
21   pname = "aiortm";
22   version = "0.9.38";
23   pyproject = true;
25   disabled = pythonOlder "3.12";
27   src = fetchFromGitHub {
28     owner = "MartinHjelmare";
29     repo = "aiortm";
30     rev = "refs/tags/v${version}";
31     hash = "sha256-Qc972Pl+XdgWukgEpTBhsidPvbcPPPWOkqQk24x2ugo=";
32   };
34   pythonRelaxDeps = [ "typer" ];
36   build-system = [ poetry-core ];
38   dependencies = [
39     aiohttp
40     ciso8601
41     click
42     mashumaro
43     rich
44     typer
45     yarl
46   ];
48   nativeCheckInputs = [
49     aioresponses
50     pytest-asyncio
51     pytest-cov-stub
52     pytestCheckHook
53   ];
55   pythonImportsCheck = [ "aiortm" ];
57   meta = with lib; {
58     description = "Library for the Remember the Milk API";
59     homepage = "https://github.com/MartinHjelmare/aiortm";
60     changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md";
61     license = with licenses; [ asl20 ];
62     maintainers = with maintainers; [ fab ];
63     mainProgram = "aiortm";
64   };