2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
# nativeCheckInputs
|
2024-06-05 15:53:02 +00:00
|
|
|
hypothesis,
|
|
|
|
unittestCheckHook,
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtp";
|
|
|
|
version = "0.0.3";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-I5k3uF5lSLDdCWjBEQC4kl2dWyAKcHEJIYwqnEvJDBI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
hypothesis
|
|
|
|
unittestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
unittestFlagsArray = [
|
|
|
|
"-s"
|
|
|
|
"tests"
|
|
|
|
"-v"
|
2023-04-12 12:48:02 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "rtp" ];
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for decoding/encoding rtp packets";
|
2023-04-12 12:48:02 +00:00
|
|
|
homepage = "https://github.com/bbc/rd-apmm-python-lib-rtp";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fleaz ];
|
|
|
|
};
|
|
|
|
}
|