perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / tesla-wall-connector / default.nix
blobcc5907be5b37ab2dcfe9a1529daf2d7fcc35e031
2   lib,
3   aiohttp,
4   aresponses,
5   backoff,
6   buildPythonPackage,
7   fetchFromGitHub,
8   poetry-core,
9   pytest-asyncio,
10   pytestCheckHook,
11   pythonOlder,
14 buildPythonPackage rec {
15   pname = "tesla-wall-connector";
16   version = "1.0.2";
17   format = "pyproject";
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "einarhauks";
23     repo = pname;
24     rev = version;
25     hash = "sha256-GblKXWV9h37E3bxNsx17hEe0uDm8ahzJUx8wiE+Vc38=";
26   };
28   nativeBuildInputs = [ poetry-core ];
30   propagatedBuildInputs = [
31     aiohttp
32     backoff
33   ];
35   nativeCheckInputs = [
36     aresponses
37     pytest-asyncio
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [ "tesla_wall_connector" ];
43   meta = with lib; {
44     description = "Library for communicating with a Tesla Wall Connector";
45     homepage = "https://github.com/einarhauks/tesla-wall-connector";
46     license = with licenses; [ mit ];
47     maintainers = with maintainers; [ fab ];
48   };