My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/aioesphomeapi/default.nix

28 lines
658 B

{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "2.6.6";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LdBUtU5rNoixh7DPIFkHxLMvBeI6MZH57sO0IjuOQAw=";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "aioesphomeapi" ];
meta = with lib; {
description = "Python Client for ESPHome native API";
homepage = "https://github.com/esphome/aioesphomeapi";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}