at 24.11-pre 37 lines 758 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "aiohwenergy"; 12 version = "0.8.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "DCSBL"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-WfkwIxyDzLNzhWNWST/V3iN9Bhu2oXDwGiA5UXCq5ho="; 22 }; 23 24 propagatedBuildInputs = [ aiohttp ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "aiohwenergy" ]; 30 31 meta = with lib; { 32 description = "Python library to interact with the HomeWizard Energy devices API"; 33 homepage = "https://github.com/DCSBL/aiohwenergy"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}