Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 663 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }: 2 3buildPythonPackage rec { 4 pname = "aioesphomeapi"; 5 version = "2.7.0"; 6 7 disabled = !isPy3k; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "sha256-PCoSJnt8EptVq5u0+NgEBwY6zLkD87XqVRBDdqBziM8="; 12 }; 13 14 propagatedBuildInputs = [ attrs protobuf zeroconf ]; 15 16 # no tests implemented 17 doCheck = false; 18 19 pythonImportsCheck = [ "aioesphomeapi" ]; 20 21 meta = with lib; { 22 description = "Python Client for ESPHome native API"; 23 homepage = "https://github.com/esphome/aioesphomeapi"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ fab hexa ]; 26 }; 27}