lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #196990 from fabaff/pyprusalink

python310Packages.pyprusalink: init at 1.1.0

authored by

Fabian Affolter and committed by
GitHub
301aada7 d4b75560

+49 -1
+44
pkgs/development/python-modules/pyprusalink/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + , setuptools 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "pyprusalink"; 11 + version = "1.1.0"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.8"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "home-assistant-libs"; 18 + repo = pname; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-XRtbb7kceiqi8pioTWStRo0drCtQfy1t62jCMihlIec="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + setuptools 25 + ]; 26 + 27 + propagatedBuildInputs = [ 28 + aiohttp 29 + ]; 30 + 31 + # Module doesn't have tests 32 + doCheck = false; 33 + 34 + pythonImportsCheck = [ 35 + "pyprusalink" 36 + ]; 37 + 38 + meta = with lib; { 39 + description = "Library to communicate with PrusaLink "; 40 + homepage = "https://github.com/home-assistant-libs/pyprusalink"; 41 + license = with licenses; [ asl20 ]; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2357 2357 pillow 2358 2358 ]; 2359 2359 "prusalink" = ps: with ps; [ 2360 - ]; # missing inputs: pyprusalink 2360 + pyprusalink 2361 + ]; 2361 2362 "ps4" = ps: with ps; [ 2362 2363 ]; # missing inputs: pyps4-2ndscreen 2363 2364 "pulseaudio_loopback" = ps: with ps; [ ··· 4054 4055 "prometheus" 4055 4056 "prosegur" 4056 4057 "proximity" 4058 + "prusalink" 4057 4059 "pure_energie" 4058 4060 "push" 4059 4061 "pushbullet"
+2
pkgs/top-level/python-packages.nix
··· 8412 8412 8413 8413 pyprosegur = callPackage ../development/python-modules/pyprosegur { }; 8414 8414 8415 + pyprusalink = callPackage ../development/python-modules/pyprusalink { }; 8416 + 8415 8417 pyptlib = callPackage ../development/python-modules/pyptlib { }; 8416 8418 8417 8419 pypubsub = callPackage ../development/python-modules/pypubsub { };