1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 poetry-core, 8 9 # dependencies 10 aiomqtt, 11 aiohttp, 12 certifi, 13}: 14 15buildPythonPackage rec { 16 pname = "miraie-ac"; 17 version = "1.1.1"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit version; 22 pname = "miraie_ac"; 23 hash = "sha256-IiRDPz5IcD3Df+vw4YvR3zc0oThGjb7pBJfD4d98h/g="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 aiomqtt 30 aiohttp 31 certifi 32 ]; 33 34 pythonRemoveDeps = [ "asyncio" ]; 35 36 pythonImportsCheck = [ "miraie_ac" ]; 37 38 meta = { 39 homepage = "https://github.com/rkzofficial/miraie-ac"; 40 changelog = "https://github.com/rkzofficial/miraie-ac/releases"; 41 description = "Python library for controlling Panasonic Miraie ACs"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ ananthb ]; 44 }; 45}