at master 911 B view raw
1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 fetchFromGitHub, 6 hatchling, 7 lib, 8 lxml, 9 pytest-asyncio, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "pyblu"; 15 version = "2.0.5"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "LouisChrist"; 20 repo = "pyblu"; 21 tag = "v${version}"; 22 hash = "sha256-Cmc0GXucoSSBWii+Xkx2jhG81kO+UeQUX3fKHUgLNS4="; 23 }; 24 25 pythonRelaxDeps = [ "aiohttp" ]; 26 27 build-system = [ hatchling ]; 28 29 dependencies = [ 30 aiohttp 31 lxml 32 ]; 33 34 pythonImportsCheck = [ "pyblu" ]; 35 36 nativeCheckInputs = [ 37 aioresponses 38 pytest-asyncio 39 pytestCheckHook 40 ]; 41 42 meta = { 43 changelog = "https://github.com/LouisChrist/pyblu/releases/tag/${src.tag}"; 44 description = "BluOS API client"; 45 homepage = "https://github.com/LouisChrist/pyblu"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ dotlambda ]; 48 }; 49}