at master 681 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 openvino-native, 5 numpy, 6 python, 7}: 8 9buildPythonPackage { 10 pname = "openvino"; 11 inherit (openvino-native) version; 12 format = "other"; 13 14 src = openvino-native.python; 15 16 propagatedBuildInputs = [ numpy ]; 17 18 installPhase = '' 19 runHook preInstall 20 21 mkdir -p $out/${python.sitePackages} 22 cp -Rv * $out/${python.sitePackages}/ 23 24 runHook postInstall 25 ''; 26 27 pythonImportsCheck = [ 28 "openvino" 29 "openvino.runtime" 30 ]; 31 32 meta = with lib; { 33 description = "OpenVINO(TM) Runtime"; 34 homepage = "https://github.com/openvinotoolkit/openvino"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ hexa ]; 37 }; 38}