Merge pull request #113000 from fabaff/aqualogic

This commit is contained in:
Sandro
2021-02-16 04:28:45 +01:00
committed by GitHub
3 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aqualogic";
version = "2.3";
src = fetchFromGitHub {
owner = "swilson";
repo = pname;
rev = version;
sha256 = "0101lni458y88yrw1wri3pz2cn5jlxln03pa3q2pxaybcyklb9qk";
};
propagatedBuildInputs = [ pyserial ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aqualogic" ];
meta = with lib; {
description = "Python library to interface with Hayward/Goldline AquaLogic/ProLogic pool controllers";
homepage = "https://github.com/swilson/aqualogic";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}