1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchPypi, 6 poetry-core, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "pysensibo"; 12 version = "1.2.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.11"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-Otk5W3VTbOAeZOVnXvW8VSxU1nHa8zUvmvduRTdlwVs="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ aiohttp ]; 25 26 # No tests implemented 27 doCheck = false; 28 29 pythonImportsCheck = [ "pysensibo" ]; 30 31 meta = with lib; { 32 description = "Module for interacting with Sensibo"; 33 homepage = "https://github.com/andrey-git/pysensibo"; 34 changelog = "https://github.com/andrey-git/pysensibo/releases/tag/${version}"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}