2019-05-04 22:43:49 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-11-04 04:26:06 +00:00
|
|
|
, requests
|
2019-05-04 22:43:49 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyatmo";
|
2019-10-24 07:47:43 +01:00
|
|
|
version = "2.3.2";
|
2019-05-04 22:43:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:43 +01:00
|
|
|
sha256 = "2c76740e5adbf8b14d8f41d4f84ce23c0e8e738b18b926dc60858c35bf2fa8f2";
|
2019-05-04 22:43:49 +01:00
|
|
|
};
|
|
|
|
|
2019-11-04 04:26:06 +00:00
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2019-05-04 22:43:49 +01:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|