nixpkgs/pkgs/development/python-modules/aioesphomeapi/default.nix
2019-04-05 15:39:48 +00:00

24 lines
587 B
Nix

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