python3Packages.python-google-nest: init at 5.1.1

This commit is contained in:
Fabian Affolter 2021-11-20 22:59:48 +01:00
parent 595dde5dbe
commit 2be1adac57
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "python-google-nest";
version = "5.1.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "y3BOhorVkJ3rFPifNOopLMqk6y1fHX5vxHGiqWvWHhE=";
};
propagatedBuildInputs = [
requests_oauthlib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"nest"
];
meta = with lib; {
description = "Python API and command line tool for talking to Nest thermostats";
homepage = "https://github.com/axlan/python-nest/";
license = licenses.cc-by-nc-sa-30;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5813,6 +5813,8 @@ in {
python-glanceclient = callPackage ../development/python-modules/python-glanceclient { };
python-google-nest = callPackage ../development/python-modules/python-google-nest { };
python-heatclient = callPackage ../development/python-modules/python-heatclient { };
python-ipmi = callPackage ../development/python-modules/python-ipmi { };