Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / homepluscontrol / default.nix
blob680c4a5a7266a8bf96a4ffc53f64afc30e0bbe16
1 { lib
2 , aiohttp
3 , aioresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pyjwt
7 , pytestCheckHook
8 , pythonOlder
9 , yarl
12 buildPythonPackage rec {
13   pname = "homepluscontrol";
14   version = "0.0.5";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "chemaaa";
19     repo = pname;
20     rev = version;
21     sha256 = "1nd3a7nhh1xb70cdh2h2bimwbffvpc3457smyzr9fqkjwfbcrr93";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     pyjwt
27     yarl
28   ];
30   checkInputs = [
31     aioresponses
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "homepluscontrol" ];
37   meta = with lib; {
38     description = "Python API to interact with the Legrand Eliot Home and Control";
39     homepage = "https://github.com/chemaaa/homepluscontrol";
40     license = with licenses; [ gpl3Only ];
41     maintainers = with maintainers; [ fab ];
42   };