3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiosyncthing/default.nix
2021-04-10 20:44:14 +02:00

46 lines
816 B
Nix

{ 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 ];
};
}