1{ 2 lib, 3 bleak, 4 bleak-retry-connector, 5 buildPythonPackage, 6 cryptography, 7 fetchPypi, 8 poetry-core, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "eufylife-ble-client"; 14 version = "0.1.10"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchPypi { 20 pname = "eufylife_ble_client"; 21 inherit version; 22 hash = "sha256-hfUsFifkwr5qhYM6Otlxo4AAGu967p/eWCR+yBrC4eM="; 23 }; 24 25 nativeBuildInputs = [ poetry-core ]; 26 27 propagatedBuildInputs = [ 28 bleak 29 bleak-retry-connector 30 cryptography 31 ]; 32 33 # Module has no tests 34 doCheck = false; 35 36 pythonImportsCheck = [ "eufylife_ble_client" ]; 37 38 meta = with lib; { 39 description = "Module for parsing data from Eufy smart scales"; 40 homepage = "https://github.com/bdr99/eufylife-ble-client"; 41 license = with licenses; [ mit ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}