summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyatmo/default.nix
blob: 5036307982bd6cd311b1c850b5ca9281367889ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
  pname = "pyatmo";
  version = "3.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8fbcc3a88f8c51d190b697c80515e67530143de71f89cc6ecf99bbf2cbf3ef30";
  };

  propagatedBuildInputs = [ requests ];

  # 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 ];
  };
}