blob: 3fe80625c9d92b298af8c86b3859d916c29df42b (
about) (
plain)
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
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
opuslib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "voip-utils";
version = "0.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "voip-utils";
tag = "v${version}";
hash = "sha256-LGmvf6HejxH17VaKL2extonoAmk0zqU7UpHmuPc8/u0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "~=" ">="
'';
build-system = [ setuptools ];
pythonRelaxDeps = [ "opuslib" ];
dependencies = [ opuslib ];
pythonImportsCheck = [ "voip_utils" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/home-assistant-libs/voip-utils/blob/${src.tag}/CHANGELOG.md";
description = "Voice over IP Utilities";
homepage = "https://github.com/home-assistant-libs/voip-utils";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|