504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{ lib
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiopulse";
|
|
version = "0.4.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-yrltqnePNnNwsVGkfXgtrtL/FuazRvmoVL4L0H4j4Bg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
async-timeout
|
|
];
|
|
|
|
# Tests are not present
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aiopulse"
|
|
];
|
|
|
|
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";
|
|
changelog = "https://github.com/atmurray/aiopulse/releases/tag/v${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|