Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 31 lines 675 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests-oauthlib, 6}: 7 8buildPythonPackage rec { 9 pname = "python-google-nest"; 10 version = "5.2.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-qL4Qk2NW41Sb9raF0vnEb04w3uyaWPauDnNY+DvnNgQ="; 16 }; 17 18 propagatedBuildInputs = [ requests-oauthlib ]; 19 20 # Project has no tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "nest" ]; 24 25 meta = { 26 description = "Python API and command line tool for talking to Nest thermostats"; 27 homepage = "https://github.com/axlan/python-nest/"; 28 license = lib.licenses.cc-by-nc-sa-30; 29 maintainers = with lib.maintainers; [ fab ]; 30 }; 31}