python3Packages.aiosyncthing: init at 0.5.1

This commit is contained in:
Fabian Affolter 2021-04-10 20:44:14 +02:00
parent 124aa02185
commit 926d6ab20d
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, expects
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, yarl
}:
buildPythonPackage rec {
pname = "aiosyncthing";
version = "0.5.1";
src = fetchFromGitHub {
owner = "zhulik";
repo = pname;
rev = "v${version}";
sha256 = "0704qbg3jy80vaw3bcvhy988s1qs3fahpfwkja71fy70bh0vc860";
};
propagatedBuildInputs = [
aiohttp
yarl
];
checkInputs = [
aioresponses
expects
pytestCheckHook
pytest-asyncio
pytest-mock
];
pythonImportsCheck = [ "aiosyncthing" ];
meta = with lib; {
description = "Python client for the Syncthing REST API";
homepage = "https://github.com/zhulik/aiosyncthing";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -334,6 +334,8 @@ in {
aioswitcher = callPackage ../development/python-modules/aioswitcher { };
aiosyncthing = callPackage ../development/python-modules/aiosyncthing { };
aiounifi = callPackage ../development/python-modules/aiounifi { };
aiounittest = callPackage ../development/python-modules/aiounittest { };