at 24.05-pre 820 B view raw
1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, click 6, fetchFromGitHub 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "dingz"; 12 version = "0.5.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "home-assistant-ecosystem"; 19 repo = "python-dingz"; 20 rev = version; 21 hash = "sha256-bCytQwLWw8D1UkKb/3LQ301eDCkVR4alD6NHjTs6I+4="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 async-timeout 27 click 28 ]; 29 30 # Project has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ 34 "dingz" 35 ]; 36 37 meta = with lib; { 38 description = "Python API for interacting with Dingz devices"; 39 homepage = "https://github.com/home-assistant-ecosystem/python-dingz"; 40 license = with licenses; [ mit ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}