about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-nest/default.nix
blob: c894654e41e68bf353ea81c7ad64c4eb4f655924 (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
{ buildPythonPackage, fetchPypi, lib, python, python-dateutil, requests
, six, sseclient-py }:

buildPythonPackage rec {
  pname = "python-nest";
  version = "4.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "12iyypbl92ybh8w1bf4z0c2g0sb9id2c07c89vzvnlxgjylw3wbi";
  };

  propagatedBuildInputs = [ python-dateutil requests six sseclient-py ];
  # has no tests
  doCheck = false;
  pythonImportsCheck = [ "nest" ];

  meta = with lib; {
    description =
      "Python API and command line tool for talking to the Nest™ Thermostat";
    homepage = "https://github.com/jkoelker/python-nest";
    license = licenses.cc-by-nc-sa-40;
    maintainers = with maintainers; [ jamiemagee ];
  };
}