2021-12-19 01:06:50 +00:00
|
|
|
{ lib
|
2022-08-21 13:32:41 +00:00
|
|
|
, bleak
|
|
|
|
, bleak-retry-connector
|
2021-12-19 01:06:50 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cometblue-lite";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "0.5.3";
|
2021-12-19 01:06:50 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neffs";
|
|
|
|
repo = "python-cometblue_lite";
|
|
|
|
rev = version;
|
2022-11-04 12:27:35 +00:00
|
|
|
hash = "sha256-KRWS2nqMFlF+IcBSmnQH3ptp6yxRQjAFY6aY0D7eZBs=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-08-21 13:32:41 +00:00
|
|
|
bleak
|
|
|
|
bleak-retry-connector
|
2021-12-19 01:06:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"cometblue_lite"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-08-21 13:32:41 +00:00
|
|
|
description = "Module for Eurotronic Comet Blue thermostats";
|
2021-12-19 01:06:50 +00:00
|
|
|
homepage = "https://github.com/neffs/python-cometblue_lite";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|