Files
nixpkgs/pkgs/development/python-modules/openvino/default.nix
T
Michael Daniels 5ed07317e9 treewide: change 'format = "other";' to 'pyproject = false;'
Entirely find-and-replace based.

A few usages that would cause rebuilds if changed remain.

This PR should have 0 rebuilds.
2026-01-12 17:50:37 -05:00

39 lines
680 B
Nix

{
lib,
buildPythonPackage,
openvino-native,
numpy,
python,
}:
buildPythonPackage {
pname = "openvino";
inherit (openvino-native) version;
pyproject = false;
src = openvino-native.python;
propagatedBuildInputs = [ numpy ];
installPhase = ''
runHook preInstall
mkdir -p $out/${python.sitePackages}
cp -Rv * $out/${python.sitePackages}/
runHook postInstall
'';
pythonImportsCheck = [
"openvino"
"openvino.runtime"
];
meta = {
description = "OpenVINO(TM) Runtime";
homepage = "https://github.com/openvinotoolkit/openvino";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}