evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / zwave-me-ws / default.nix
blobdb7803c4ed16897d9b743bc5a51fc931ed908498
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pythonOlder,
7   requests,
8   websocket-client,
9 }:
11 buildPythonPackage rec {
12   pname = "zwave-me-ws";
13   version = "0.4.3";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "Z-Wave-Me";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-bTchtgr+UbHCpcXMaQA3bTrhasJ79TguvAqLNlpD/2c=";
23   };
25   nativeBuildInputs = [ poetry-core ];
27   propagatedBuildInputs = [
28     requests
29     websocket-client
30   ];
32   # Module has no tests
33   doCheck = false;
35   pythonImportsCheck = [ "zwave_me_ws" ];
37   meta = with lib; {
38     description = "Library to connect to a ZWave-Me instance";
39     homepage = "https://github.com/Z-Wave-Me/zwave-me-ws";
40     changelog = "https://github.com/Z-Wave-Me/zwave-me-ws/releases/tag/v${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };