nixpkgs/pkgs/development/python-modules/python-ecobee-api/default.nix
2023-06-04 00:42:14 +02:00

32 lines
621 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-ecobee-api";
version = "0.2.17";
src = fetchPypi {
inherit pname version;
hash = "sha256-lJCbNOQJ8xmMa4V+tSFZx4QasK8ZLfsFavMP9Zge4K4=";
};
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 ];
};
}