1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 appdirs, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pypjlink2"; 12 version = "1.2.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "benoitlouy"; 17 repo = "pypjlink"; 18 tag = "v${version}"; 19 hash = "sha256-0RVI9DX5JaVWntSu5du5SU45NC70TZJyVrvMuVR7grA="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ 27 appdirs 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ 35 "pypjlink" 36 ]; 37 38 meta = { 39 description = "Python implementation of the PJLink protocol for controlling digital projectors"; 40 homepage = "https://github.com/benoitlouy/pypjlink"; 41 changelog = "https://github.com/benoitlouy/pypjlink/releases/tag/v${version}"; 42 license = lib.licenses.asl20; 43 maintainers = [ lib.maintainers.jamiemagee ]; 44 }; 45}