2021-01-02 17:32:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, async-timeout
|
2021-11-27 08:28:48 +00:00
|
|
|
, pythonOlder
|
2021-01-02 17:32:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiopulse";
|
2023-03-12 17:00:30 +00:00
|
|
|
version = "0.4.4";
|
2021-11-27 08:28:48 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2021-01-02 17:32:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-12 22:28:12 +00:00
|
|
|
hash = "sha256-JbdJbkzd55KeM3Sf1ExvMuHRKNu5VAvGG4y+wkMS0Wo=";
|
2021-01-02 17:32:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
async-timeout
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests are not present
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-11-27 08:28:48 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiopulse"
|
|
|
|
];
|
2021-01-02 17:32:45 +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";
|
2023-03-12 17:07:57 +00:00
|
|
|
changelog = "https://github.com/atmurray/aiopulse/releases/tag/v${version}";
|
2021-01-02 17:32:45 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|