Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-yate / default.nix
bloba6cc7ac6575f5755d3e4e94c361c157f58ecd86c
1 { lib
2 , aiohttp
3 , async-timeout
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "python-yate";
11   version = "0.4.1";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "eventphone";
16     repo = "python-yate";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-AdnlNsEOFuzuGTBmfV9zKyv2iFHEJ4eLMrC6SHHf7m0=";
19   };
21   propagatedBuildInputs = [
22     aiohttp
23     async-timeout
24   ];
26   nativeCheckInputs = [
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [
31     "yate"
32   ];
34   meta = with lib; {
35     description = "Python library for the yate telephony engine";
36     mainProgram = "yate_callgen";
37     homepage = "https://github.com/eventphone/python-yate";
38     changelog = "https://github.com/eventphone/python-yate/releases/tag/v${version}";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ clerie ];
41   };