nixpkgs/pkgs/development/python-modules/aioesphomeapi/default.nix

28 lines
663 B
Nix
Raw Normal View History

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