40 buildPythonPackage rec {
45 disabled = pythonOlder "3.10";
47 src = fetchFromGitHub {
50 rev = "refs/tags/v${version}";
51 hash = "sha256-+BHxcwQhx4lOqS0ATk1PjLbyTu7xQakM3HMrydXeGUc=";
54 build-system = [ poetry-core ];
83 ffmpeg # Required for command ffprobe
92 pytestFlagsArray = [ "--benchmark-disable" ];
95 # https://127.0.0.1 vs https://127.0.0.1:0
100 pythonImportsCheck = [ "uiprotect" ];
103 description = "Python API for UniFi Protect (Unofficial)";
104 homepage = "https://github.com/uilibs/uiprotect";
105 changelog = "https://github.com/uilibs/uiprotect/blob/${src.rev}/CHANGELOG.md";
106 license = licenses.mit;
107 maintainers = with maintainers; [ hexa ];