1{ 2 lib, 3 bleak, 4 buildPythonPackage, 5 fetchPypi, 6 pythonOlder, 7 setuptools, 8 wheel, 9}: 10 11buildPythonPackage rec { 12 pname = "pyacaia-async"; 13 version = "0.1.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchPypi { 19 pname = "pyacaia_async"; 20 inherit version; 21 hash = "sha256-RwiASn6mD6BhZByoHVqaCH7koVhN5wQorG2l51wFAcI="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 wheel 27 ]; 28 29 propagatedBuildInputs = [ bleak ]; 30 31 # Module has no tests in PyPI releases 32 doCheck = false; 33 34 pythonImportsCheck = [ "pyacaia_async" ]; 35 36 meta = with lib; { 37 description = "Module to interact with Acaia scales"; 38 homepage = "https://github.com/zweckj/pyacaia_async"; 39 license = with licenses; [ 40 gpl3Only 41 mit 42 ]; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}