about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-yate/default.nix
blob: a35773f298def69a0ea7817f941d15bb24cc3046 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "python-yate";
  version = "0.4.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "eventphone";
    repo = "python-yate";
    rev = "refs/tags/v${version}";
    hash = "sha256-AdnlNsEOFuzuGTBmfV9zKyv2iFHEJ4eLMrC6SHHf7m0=";
  };

  propagatedBuildInputs = [
    aiohttp
    async-timeout
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "yate"
  ];

  meta = with lib; {
    description = "Python library for the yate telephony engine";
    homepage = "https://github.com/eventphone/python-yate";
    changelog = "https://github.com/eventphone/python-yate/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ clerie ];
  };
}