1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "python-yate"; 12 version = "0.4.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "eventphone"; 17 repo = "python-yate"; 18 tag = "v${version}"; 19 hash = "sha256-AdnlNsEOFuzuGTBmfV9zKyv2iFHEJ4eLMrC6SHHf7m0="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 async-timeout 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "yate" ]; 30 31 meta = with lib; { 32 description = "Python library for the yate telephony engine"; 33 mainProgram = "yate_callgen"; 34 homepage = "https://github.com/eventphone/python-yate"; 35 changelog = "https://github.com/eventphone/python-yate/releases/tag/v${version}"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ clerie ]; 38 }; 39}