diff --git a/pkgs/development/python-modules/aiopulse/default.nix b/pkgs/development/python-modules/aiopulse/default.nix new file mode 100644 index 00000000000..3df005d1790 --- /dev/null +++ b/pkgs/development/python-modules/aiopulse/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, async-timeout +}: + +buildPythonPackage rec { + pname = "aiopulse"; + version = "0.4.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0fnscm27l77c8cd7jhbn35axyalq61kksy3fcqzv21fz55lklsm0"; + }; + + 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"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a53b50146fe..e08be10dd1d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -243,6 +243,8 @@ in { aioprocessing = callPackage ../development/python-modules/aioprocessing { }; + aiopulse = callPackage ../development/python-modules/aiopulse { }; + aioredis = callPackage ../development/python-modules/aioredis { }; aioresponses = callPackage ../development/python-modules/aioresponses { };