mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.rtsp-to-webrtc: init at 0.5.0
This commit is contained in:
parent
6159254671
commit
2563b46830
43
pkgs/development/python-modules/rtsp-to-webrtc/default.nix
Normal file
43
pkgs/development/python-modules/rtsp-to-webrtc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user