Merge pull request #121960 from fabaff/bump-plugwise
This commit is contained in:
commit
008880bd64
|
@ -1,31 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, crcmod
|
||||
, defusedxml
|
||||
, pyserial
|
||||
, pytz
|
||||
, python-dateutil
|
||||
, semver
|
||||
, fetchFromGitHub
|
||||
, jsonpickle
|
||||
, munch
|
||||
, mypy
|
||||
, pyserial
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, semver
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plugwise";
|
||||
version = "0.9.3";
|
||||
version = "0.9.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "python-plugwise";
|
||||
rev = version;
|
||||
sha256 = "sha256-MZ4R55vGUyWmR0Md83eNerzsgtYMch1vfQ3sqbm12bM=";
|
||||
sha256 = "sha256-5r+Xe3EKLjuR7mPGEPOKzhE7G6OzNEClf847Px9VdWU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -33,9 +33,10 @@ buildPythonPackage rec {
|
|||
async-timeout
|
||||
crcmod
|
||||
defusedxml
|
||||
munch
|
||||
pyserial
|
||||
pytz
|
||||
python-dateutil
|
||||
pytz
|
||||
semver
|
||||
];
|
||||
|
||||
|
@ -44,8 +45,6 @@ buildPythonPackage rec {
|
|||
mypy
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
|
@ -182,17 +182,17 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
doCheck = stdenv.isLinux;
|
||||
|
||||
checkInputs = [
|
||||
# test infrastructure
|
||||
asynctest
|
||||
# test infrastructure (selectively from requirement_test.txt)
|
||||
pytest-aiohttp
|
||||
pytest-mock
|
||||
pytest-rerunfailures
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
# component dependencies
|
||||
pyotp
|
||||
jsonpickle
|
||||
respx
|
||||
# required by tests/auth/mfa_modules
|
||||
pyotp
|
||||
] ++ lib.concatMap (component: getPackages component py.pkgs) componentTests;
|
||||
|
||||
# We can reasonably test components that don't communicate with any network
|
||||
|
@ -334,6 +334,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"persistent_notification"
|
||||
"person"
|
||||
"plaato"
|
||||
"plugwise"
|
||||
"prometheus"
|
||||
"proximity"
|
||||
"push"
|
||||
|
|
Loading…
Reference in a new issue