29574b70c6
GitOrigin-RevId: 64b4617883844efe0cc20163e007ee636462eb18
31 lines
700 B
Nix
31 lines
700 B
Nix
{ 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 ];
|
|
};
|
|
}
|