Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchFromCodeberg, aiobtclientrpc, async-timeout, httpx, torf, pytest-asyncio, pytest-mock, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "aiobtclientapi"; version = "1.1.4"; pyproject = true;
src = fetchFromCodeberg { owner = "plotski"; repo = "aiobtclientapi"; tag = "v${finalAttrs.version}"; hash = "sha256-ga3EyKhfdEKkjFktUlgLSX54QbTc/a48vmWjmRqa+4w="; };
pythonRelaxDeps = [ "async-timeout" ];
build-system = [ setuptools ];
dependencies = [ aiobtclientrpc async-timeout httpx torf ];
nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "aiobtclientapi" ];
disabledTests = [ # Timing-sensitive, e.g. "AssertionError: assert 9 <= 7" "test_Monitor_block_until_timeout" ];
disabledTestPaths = [ # AttributeError "tests/clients_test/rtorrent_test/rtorrent_api_test.py" ];
meta = { description = "Asynchronous high-level communication with BitTorrent clients"; homepage = "https://aiobtclientapi.readthedocs.io"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ambroisie ]; };})