Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, aiohttp, aioresponses, buildPythonPackage, deprecated, fetchFromGitHub, expects, pytest-asyncio, pytest-cov-stub, pytest-mock, pytestCheckHook, setuptools, yarl,}:
buildPythonPackage rec { pname = "aiosyncthing"; version = "0.7.1"; pyproject = true;
src = fetchFromGitHub { owner = "zhulik"; repo = "aiosyncthing"; tag = "v${version}"; hash = "sha256-0jx61zs6yQqAIwSOO1zCUOkoZES+K/POtIGoWzr29bI="; };
build-system = [ setuptools ];
dependencies = [ aiohttp deprecated yarl ];
nativeCheckInputs = [ aioresponses expects pytestCheckHook pytest-cov-stub pytest-asyncio pytest-mock ];
pytestFlags = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [ "aiosyncthing" ];
meta = { description = "Python client for the Syncthing REST API"; homepage = "https://github.com/zhulik/aiosyncthing"; changelog = "https://github.com/zhulik/aiosyncthing/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}