python3Packages.aiosyncthing: init at 0.5.1
This commit is contained in:
parent
124aa02185
commit
926d6ab20d
45
pkgs/development/python-modules/aiosyncthing/default.nix
Normal file
45
pkgs/development/python-modules/aiosyncthing/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue