Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{ lib, async-timeout, buildPythonPackage, fetchFromCodeberg, httpx-socks, httpx, proxy-py, pytest-asyncio, pytest-cov-stub, pytest-mock, pytestCheckHook, python-socks, rencode, setuptools, sniffio, tiny-proxy,}:
buildPythonPackage (finalAttrs: { pname = "aiobtclientrpc"; version = "6.0.1"; pyproject = true;
src = fetchFromCodeberg { owner = "plotski"; repo = "aiobtclientrpc"; tag = "v${finalAttrs.version}"; hash = "sha256-4FWfzt+A9BY4nnaQU3xwdDFhuOMtfBFHYNoHaEOy7+0="; };
pythonRelaxDeps = [ "async-timeout" "python-socks" ];
build-system = [ setuptools ];
dependencies = [ async-timeout httpx httpx-socks python-socks rencode ];
nativeCheckInputs = [ proxy-py pytest-asyncio pytest-cov-stub pytest-mock pytestCheckHook sniffio tiny-proxy ];
disabledTests = [ # Missing lambda parameter "test_add_event_handler_with_autoremove" # Try to use `htpasswd` and `nginx` with hard-coded paths "test_authentication_error[rtorrent_http]" "test_api_as_context_manager[rtorrent_http]" "test_add_and_remove_torrents[rtorrent_http-paused]" "test_add_and_remove_torrents[rtorrent_http-started]" "test_proxy[rtorrent_http-http_proxy]" "test_timeout[rtorrent_http]" "test_event_subscriptions_survive_reconnecting[rtorrent_http]" "test_waiting_for_event[rtorrent_http]" "test_proxy[rtorrent_http-socks4_proxy]" "test_proxy[rtorrent_http-socks5_proxy]" # Tests are outdated "test_DelugeRPCRequest_equality" ];
pythonImportsCheck = [ "aiobtclientrpc" ];
meta = { description = "Asynchronous low-level communication with BitTorrent clients"; homepage = "https://aiobtclientrpc.readthedocs.io"; changelog = "https://codeberg.org/plotski/aiobtclientrpc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ambroisie ]; };})