1{ 2 aiodns, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 pytest-asyncio, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pyjvcprojector"; 13 version = "1.1.2"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "SteveEasley"; 18 repo = "pyjvcprojector"; 19 tag = "v${version}"; 20 hash = "sha256-ow9pCigbQpxLibIq1hsRifXuzJfbWnqpWmnkM5lC3I4="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 aiodns 27 ]; 28 29 pythonImportsCheck = [ "jvcprojector" ]; 30 31 nativeCheckInputs = [ 32 pytest-asyncio 33 pytestCheckHook 34 ]; 35 36 meta = { 37 changelog = "https://github.com/SteveEasley/pyjvcprojector/releases/tag/${src.tag}"; 38 description = "Python library for controlling a JVC Projector over a network connection"; 39 homepage = "https://github.com/SteveEasley/pyjvcprojector"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ dotlambda ]; 42 }; 43}