at master 999 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 mock, 6 pytest-asyncio, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10 zeroconf, 11}: 12 13buildPythonPackage rec { 14 pname = "pydeako"; 15 version = "0.6.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.11"; 19 20 src = fetchFromGitHub { 21 owner = "DeakoLights"; 22 repo = "pydeako"; 23 tag = version; 24 hash = "sha256-GEYuVKE3DOXJzCqTW2Ngoi6l0e4JvE9lUnZtjrNXTVk="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ zeroconf ]; 30 31 # Module has no tests 32 #doCheck = false; 33 34 nativeCheckInputs = [ 35 mock 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "pydeako" ]; 41 42 meta = { 43 description = "Module used to discover and communicate with Deako devices over the network locally"; 44 homepage = "https://github.com/DeakoLights/pydeako"; 45 changelog = "https://github.com/DeakoLights/pydeako/releases/tag/${version}"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ fab ]; 48 }; 49}