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-12-19 19:31:18 +00:00
|
|
|
version = "3.1.0";
|
2019-05-04 22:43:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:18 +00:00
|
|
|
sha256 = "8fbcc3a88f8c51d190b697c80515e67530143de71f89cc6ecf99bbf2cbf3ef30";
|
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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jabesq/netatmo-api-python";
|
2019-05-04 22:43:49 +01:00
|
|
|
maintainers = with maintainers; [ delroth ];
|
|
|
|
};
|
|
|
|
}
|