python3Packages.pylibsrtp: init at 1.0.0

This commit is contained in:
gesperon
2025-11-23 13:03:11 +01:00
parent 02004290c9
commit 287616bab7
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cffi,
srtp,
openssl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pylibsrtp";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aiortc";
repo = "pylibsrtp";
tag = version;
hash = "sha256-Q8EyGAJKkq14sqSEMWLB8arKvj/wuALK/XwOZ27F1nQ=";
};
build-system = [
setuptools
];
dependencies = [
cffi
srtp
openssl
];
nativeCheckInputs = [ pytestCheckHook ];
doCheck = true;
pythonImportsCheck = [
"pylibsrtp"
];
meta = {
description = "Python bindings for libsrtp";
homepage = "https://github.com/aiortc/pylibsrtp";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ gesperon ];
};
}
+2
View File
@@ -13594,6 +13594,8 @@ self: super: with self; {
pylibrespot-java = callPackage ../development/python-modules/pylibrespot-java { };
pylibsrtp = callPackage ../development/python-modules/pylibsrtp { };
pylink-square = callPackage ../development/python-modules/pylink-square { };
pylint = callPackage ../development/python-modules/pylint { };