2021-01-05 17:05:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, async-timeout
|
2021-12-06 16:07:01 +00:00
|
|
|
, pythonOlder
|
2021-01-05 17:05:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiopulse";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.4.3";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-Wp8NUjRlO+6ASqIt3C0YJRh0EKcEukXVMp4I+TCTElo=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
async-timeout
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests are not present
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiopulse"
|
|
|
|
];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python Rollease Acmeda Automate Pulse hub protocol implementation";
|
|
|
|
longDescription = ''
|
|
|
|
The Rollease Acmeda Pulse Hub is a WiFi hub that communicates with
|
|
|
|
Rollease Acmeda Automate roller blinds via a proprietary RF protocol.
|
|
|
|
This module communicates over a local area network using a propriatery
|
|
|
|
binary protocol to issues commands to the Pulse Hub.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/atmurray/aiopulse";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|