My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/rtsp-to-webrtc/default.nix

43 lines
825 B

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "rtsp-to-webrtc";
version = "0.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "allenporter";
repo = "rtsp-to-webrtc-client";
rev = version;
hash = "sha256-miMBN/8IO4v03mMoclCa3GFl6HCS3Sh6z2HOQ39MRZY=";
};
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 ];
};
}