16 lines
416 B
Nix
16 lines
416 B
Nix
{stdenv}:
|
|
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/
|
|
'';
|
|
}
|