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