Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aqualogic / default.nix
blobe7772f40c63c37831e7888e8b83a1824d7beacdf
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pyserial
6 , pytestCheckHook
7 , websockets
8 }:
10 buildPythonPackage rec {
11   pname = "aqualogic";
12   version = "3.4";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "swilson";
17     repo = pname;
18     rev = version;
19     hash = "sha256-hBg02Wypd+MyqM2SUD53djhm5OMP2QAmsp8Stf+UT2c=";
20   };
22   propagatedBuildInputs = [
23     aiohttp
24     pyserial
25     websockets
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   # With 3.4 the event loop is not terminated after the first test
33   # https://github.com/swilson/aqualogic/issues/9
34   doCheck = false;
36   pythonImportsCheck = [ "aqualogic" ];
38   meta = with lib; {
39     description = "Python library to interface with Hayward/Goldline AquaLogic/ProLogic pool controllers";
40     homepage = "https://github.com/swilson/aqualogic";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };