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

32 lines
621 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-ecobee-api";
version = "0.2.16";
src = fetchPypi {
inherit pname version;
hash = "sha256-wzL1WylQAFLxWu3lDFqQtLxJbQjse4OX/fbzaaEuvGQ=";
};
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 ];
};
}