at master 896 B view raw
1{ 2 lib, 3 aiohttp, 4 apischema, 5 buildPythonPackage, 6 fetchFromGitHub, 7 gql, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "aioaseko"; 14 version = "1.0.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "milanmeu"; 21 repo = "aioaseko"; 22 tag = "v${version}"; 23 hash = "sha256-jUvpu/lOFKRUwEuYD1zRp0oODjf4AgH84fnGngtv9jw="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aiohttp 30 apischema 31 gql 32 ]; 33 34 # Module has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "aioaseko" ]; 38 39 meta = with lib; { 40 description = "Module to interact with the Aseko Pool Live API"; 41 homepage = "https://github.com/milanmeu/aioaseko"; 42 changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}"; 43 license = licenses.lgpl3Plus; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}