git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #108244 from fabaff/aiopulse

python3Packages.aiopulse: init at 0.4.2

commit5c936d4ce74a91d5eb31eb5a9ba1e37cd91397db authorMartin Weinelt <mweinelt@users.noreply.github.com> dateSat 2 Jan 2021, 19:00 (6 years ago) parent097cd3452b0d1d
3 files changed+40−1
pkgs/development/python-modules/aiopulse/default.nix+37 pkgs/servers/home-assistant/component-packages.nix+1−1 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/aiopulse/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, async-timeout
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "aiopulse";
9+ version = "0.4.2";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "0fnscm27l77c8cd7jhbn35axyalq61kksy3fcqzv21fz55lklsm0";
14+ };
15+
16+ propagatedBuildInputs = [
17+ async-timeout
18+ ];
19+
20+ # tests are not present
21+ doCheck = false;
22+
23+ pythonImportsCheck = [ "aiopulse" ];
24+
25+ meta = with lib; {
26+ description = "Python Rollease Acmeda Automate Pulse hub protocol implementation";
27+ longDescription = ''
28+ The Rollease Acmeda Pulse Hub is a WiFi hub that communicates with
29+ Rollease Acmeda Automate roller blinds via a proprietary RF protocol.
30+ This module communicates over a local area network using a propriatery
31+ binary protocol to issues commands to the Pulse Hub.
32+ '';
33+ homepage = "https://github.com/atmurray/aiopulse";
34+ license = with licenses; [ asl20 ];
35+ maintainers = with maintainers; [ fab ];
36+ };
37+}
pkgs/servers/home-assistant/component-packages.nix+1−1
@@ -7,7 +7,7 @@
77 "abode" = ps: with ps; [ abodepy ];
88 "accuweather" = ps: with ps; [ accuweather ];
99 "acer_projector" = ps: with ps; [ pyserial ];
10− "acmeda" = ps: with ps; [ ]; # missing inputs: aiopulse
10+ "acmeda" = ps: with ps; [ aiopulse ];
1111 "actiontec" = ps: with ps; [ ];
1212 "adguard" = ps: with ps; [ adguardhome ];
1313 "ads" = ps: with ps; [ pyads ];
pkgs/top-level/python-packages.nix+2
@@ -243,6 +243,8 @@ in {
243243
244244 aioprocessing = callPackage ../development/python-modules/aioprocessing { };
245245
246+ aiopulse = callPackage ../development/python-modules/aiopulse { };
247+
246248 aioredis = callPackage ../development/python-modules/aioredis { };
247249
248250 aioresponses = callPackage ../development/python-modules/aioresponses { };