biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / homepluscontrol / default.nix
blob7af19f73f6fec1b979c1042014d769d2f7222512
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   pyjwt,
8   pytestCheckHook,
9   pythonOlder,
10   yarl,
13 buildPythonPackage rec {
14   pname = "homepluscontrol";
15   version = "0.1";
16   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "chemaaa";
21     repo = pname;
22     rev = version;
23     hash = "sha256-COOGqfYiR4tueQHXuCvVxShrYS0XNltcW4mclbFWcfA=";
24   };
26   propagatedBuildInputs = [
27     aiohttp
28     pyjwt
29     yarl
30   ];
32   nativeCheckInputs = [
33     aioresponses
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "homepluscontrol" ];
39   meta = with lib; {
40     description = "Python API to interact with the Legrand Eliot Home and Control";
41     homepage = "https://github.com/chemaaa/homepluscontrol";
42     license = with licenses; [ gpl3Only ];
43     maintainers = with maintainers; [ fab ];
44   };