3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.rtsp-to-webrtc: init at 0.5.0

This commit is contained in:
Fabian Affolter 2022-02-03 18:49:38 +01:00 committed by Jonathan Ringer
parent 6159254671
commit 2563b46830
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "rtsp-to-webrtc";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "allenporter";
repo = "rtsp-to-webrtc-client";
rev = version;
hash = "sha256-ry6xNymWgkkvYXliVLUFOUiPz8gbCsQDrSuGmCaH4ZE=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"rtsp_to_webrtc"
];
meta = with lib; {
description = "Module for RTSPtoWeb and RTSPtoWebRTC";
homepage = "https://github.com/allenporter/rtsp-to-webrtc-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8725,6 +8725,8 @@ in {
rtslib = callPackage ../development/python-modules/rtslib { };
rtsp-to-webrtc = callPackage ../development/python-modules/rtsp-to-webrtc { };
ruamel-base = callPackage ../development/python-modules/ruamel-base { };
ruamel-yaml = callPackage ../development/python-modules/ruamel-yaml { };