Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 65 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ 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"; };}