Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / aiosyncthing / default.nix
blob553876a48cfdaeae5593ec8af3072b0e9c7adf13
1 { lib
2 , aiohttp
3 , aioresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , expects
7 , pytest-asyncio
8 , pytest-mock
9 , pytestCheckHook
10 , yarl
13 buildPythonPackage rec {
14   pname = "aiosyncthing";
15   version = "0.5.1";
17   src = fetchFromGitHub {
18     owner = "zhulik";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "0704qbg3jy80vaw3bcvhy988s1qs3fahpfwkja71fy70bh0vc860";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     yarl
27   ];
29   checkInputs = [
30     aioresponses
31     expects
32     pytestCheckHook
33     pytest-asyncio
34     pytest-mock
35   ];
37   pythonImportsCheck = [ "aiosyncthing" ];
39   meta = with lib; {
40     description = "Python client for the Syncthing REST API";
41     homepage = "https://github.com/zhulik/aiosyncthing";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };