2022-03-01 22:19:03 +01:00
|
|
|
{stdenv}:
|
2021-12-18 16:23:14 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "onnx-runtime";
|
|
|
|
version = "1.7.0";
|
|
|
|
# phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
src = builtins.fetchTarball {
|
|
|
|
url = "https://github.com/microsoft/onnxruntime/releases/download/v1.7.0/onnxruntime-linux-x64-1.7.0.tgz";
|
|
|
|
sha256 = "1zzgxn6867g4l9814dgpkc3jsz1qq32j6pjfhn3zv0qyw9cdnvn4";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -r include lib $out/
|
|
|
|
'';
|
|
|
|
}
|