2019-05-04 23:43:49 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-11-04 05:26:06 +01:00
|
|
|
, requests
|
2019-05-04 23:43:49 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyatmo";
|
2019-11-11 12:13:39 +01:00
|
|
|
version = "2.3.3";
|
2019-05-04 23:43:49 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-11 12:13:39 +01:00
|
|
|
sha256 = "b884402c62d589a38444e8f4b3892b18312e8f9442cd8d12e7ec01c698328f54";
|
2019-05-04 23:43:49 +02:00
|
|
|
};
|
|
|
|
|
2019-11-04 05:26:06 +01:00
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2019-05-04 23:43:49 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|