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