Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 43 lines 831 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-aiohttp 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "rtsp-to-webrtc"; 12 version = "0.5.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "allenporter"; 19 repo = "rtsp-to-webrtc-client"; 20 rev = version; 21 hash = "sha256-miMBN/8IO4v03mMoclCa3GFl6HCS3Sh6z2HOQ39MRZY="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 ]; 27 28 nativeCheckInputs = [ 29 pytest-aiohttp 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "rtsp_to_webrtc" 35 ]; 36 37 meta = with lib; { 38 description = "Module for RTSPtoWeb and RTSPtoWebRTC"; 39 homepage = "https://github.com/allenporter/rtsp-to-webrtc-client"; 40 license = with licenses; [ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}