Merge pull request #60947 from delroth/netatmo-hass

Fix home-assistant netatmo support
This commit is contained in:
Robert Schütz 2019-05-20 13:30:06 +02:00 committed by GitHub
commit 042d76fc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyatmo";
version = "1.10";
src = fetchPypi {
inherit pname version;
sha256 = "13ca794416707b8cefcb7584bbfff65a4640fcc2510ad73e818fef94d424fca6";
};
# Upstream provides no unit tests.
doCheck = false;
meta = with lib; {
description = "Simple API to access Netatmo weather station data";
license = licenses.mit;
homepage = https://github.com/jabesq/netatmo-api-python;
maintainers = with maintainers; [ delroth ];
};
}

View File

@ -3802,6 +3802,8 @@ in {
pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { };
pyatmo = callPackage ../development/python-modules/pyatmo { };
pyaudio = callPackage ../development/python-modules/pyaudio { };
pysam = callPackage ../development/python-modules/pysam { };