1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "pyatmo";
9 version = "3.1.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "8fbcc3a88f8c51d190b697c80515e67530143de71f89cc6ecf99bbf2cbf3ef30";
14 };
15
16 propagatedBuildInputs = [ requests ];
17
18 # Upstream provides no unit tests.
19 doCheck = false;
20
21 meta = with lib; {
22 description = "Simple API to access Netatmo weather station data";
23 license = licenses.mit;
24 homepage = https://github.com/jabesq/netatmo-api-python;
25 maintainers = with maintainers; [ delroth ];
26 };
27}