2e793262cb
https://github.com/zhulik/aiosyncthing/releases/tag/v0.7.1 This commit was automatically generated using update-python-libraries.
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|