depot/third_party/nixpkgs/pkgs/development/python-modules/python-nest/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

25 lines
710 B
Nix

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