Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-nest / default.nix
blob1cbdd2837a72387cafba7a2a858bc9f197e1634d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python-dateutil
5 , requests
6 , six
7 , sseclient-py
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "python-nest";
13   version = "4.2.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-01hoZbDssbJ10NA72gOtlzjZMGjsUBUoVDVM35uAOLU=";
21   };
23   propagatedBuildInputs = [
24     python-dateutil
25     requests
26     six
27     sseclient-py
28   ];
30   # Module has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "nest"
35   ];
37   meta = with lib; {
38     description = "Python API and command line tool for talking to the Nestâ„¢ Thermostat";
39     homepage = "https://github.com/jkoelker/python-nest";
40     license = licenses.cc-by-nc-sa-40;
41     maintainers = with maintainers; [ jamiemagee ];
42   };