pythonPackages.python-nest: init at 4.1.0

This commit is contained in:
Jamie Magee 2020-09-24 14:01:06 +02:00
parent 4e1b0f54e4
commit e0107315e4
No known key found for this signature in database
GPG Key ID: 4429B642B1718654
2 changed files with 27 additions and 0 deletions

@ -0,0 +1,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 ];
};
}

@ -5756,6 +5756,8 @@ in {
python-multipart = callPackage ../development/python-modules/python-multipart { };
python-nest = callPackage ../development/python-modules/python-nest { };
pythonnet = callPackage
../development/python-modules/pythonnet { # `mono >= 4.6` required to prevent crashes encountered with earlier versions.
mono = pkgs.mono4;