3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aioesphomeapi/default.nix

28 lines
676 B
Nix
Raw Normal View History

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