nixpkgs/pkgs/development/python-modules/python-ecobee-api/default.nix

32 lines
636 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-ecobee-api";
version = "0.2.15";
src = fetchPypi {
inherit pname version;
sha256 = "91929b0dda6acc2af6661d0fb539eb6375323d7529d3d64b67915efb1dc1a6ca";
};
propagatedBuildInputs = [
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pyecobee" ];
meta = with lib; {
description = "Python API for talking to Ecobee thermostats";
homepage = "https://github.com/nkgilley/python-ecobee-api";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}