Merge pull request #139402 from fabaff/aiopvapi
This commit is contained in:
commit
199c13bff9
39
pkgs/development/python-modules/aiopvapi/default.nix
Normal file
39
pkgs/development/python-modules/aiopvapi/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiopvapi";
|
||||
version = "1.6.14";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02bl7q166j6rb8av9n1jz11xlwhrzmbkjq70mwr86qaj63pcxrak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiopvapi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for the PowerView API";
|
||||
homepage = "https://github.com/sander76/aio-powerview-api";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -380,7 +380,7 @@
|
||||
"hue" = ps: with ps; [ aiohue ];
|
||||
"huisbaasje" = ps: with ps; [ huisbaasje-client ];
|
||||
"humidifier" = ps: with ps; [ ];
|
||||
"hunterdouglas_powerview" = ps: with ps; [ ]; # missing inputs: aiopvapi
|
||||
"hunterdouglas_powerview" = ps: with ps; [ aiopvapi ];
|
||||
"hvv_departures" = ps: with ps; [ pygti ];
|
||||
"hydrawise" = ps: with ps; [ hydrawiser ];
|
||||
"hyperion" = ps: with ps; [ hyperion-py ];
|
||||
|
@ -430,6 +430,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"hue"
|
||||
"huisbaasje"
|
||||
"humidifier"
|
||||
"hunterdouglas_powerview"
|
||||
"hvv_departures"
|
||||
"hyperion"
|
||||
"ialarm"
|
||||
|
@ -351,6 +351,8 @@ in {
|
||||
|
||||
aiopulse = callPackage ../development/python-modules/aiopulse { };
|
||||
|
||||
aiopvapi = callPackage ../development/python-modules/aiopvapi { };
|
||||
|
||||
aiopvpc = callPackage ../development/python-modules/aiopvpc { };
|
||||
|
||||
aiopylgtv = callPackage ../development/python-modules/aiopylgtv { };
|
||||
|
Loading…
Reference in New Issue
Block a user