mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
28 lines
663 B
Nix
28 lines
663 B
Nix
{ 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 ];
|
|
|
|
# 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 hexa ];
|
|
};
|
|
}
|