at 22.05-pre 47 lines 884 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, paho-mqtt 5, pandas 6, pycryptodome 7, pythonOlder 8, requests 9, xmltodict 10}: 11 12buildPythonPackage rec { 13 pname = "pyezviz"; 14 version = "0.2.0.5"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "baqs"; 21 repo = "pyEzviz"; 22 rev = version; 23 sha256 = "sha256-a+u8zS69qLHABPSvWEzhM/gdzlLh2RJLTDJjaX4DtpI="; 24 }; 25 26 propagatedBuildInputs = [ 27 paho-mqtt 28 pandas 29 pycryptodome 30 requests 31 xmltodict 32 ]; 33 34 # Project has no tests. test_cam_rtsp.py is more a sample for using the module 35 doCheck = false; 36 37 pythonImportsCheck = [ 38 "pyezviz" 39 ]; 40 41 meta = with lib; { 42 description = "Python interface for for Ezviz cameras"; 43 homepage = "https://github.com/baqs/pyEzviz/"; 44 license = with licenses; [ asl20 ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}