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