at master 933 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aiooncue"; 12 version = "0.3.9"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.11"; 16 17 src = fetchFromGitHub { 18 owner = "bdraco"; 19 repo = "aiooncue"; 20 tag = version; 21 hash = "sha256-0Cdt/rUsl4OMLUTSC8WJXEiwzrhyn7JJIcVE/55LlgU="; 22 }; 23 24 postPatch = '' 25 substituteInPlace pyproject.toml \ 26 --replace '"setuptools>=75.8.0"' "" 27 ''; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ aiohttp ]; 32 33 # Tests are out-dated 34 doCheck = false; 35 36 pythonImportsCheck = [ "aiooncue" ]; 37 38 meta = with lib; { 39 description = "Module to interact with the Kohler Oncue API"; 40 homepage = "https://github.com/bdraco/aiooncue"; 41 changelog = "https://github.com/bdraco/aiooncue/releases/tag/${version}"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}