oakctl: 0.2.12 -> 0.11.0 (#419499)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-27 06:19:15 +02:00
committed by GitHub
+9 -6
View File
@@ -9,26 +9,26 @@
}:
let
version = "0.2.12";
version = "0.11.0";
# Note: Extracted from install script
# https://oakctl-releases.luxonis.com/oakctl-installer.sh
sources = {
x86_64-linux = fetchurl {
url = "https://oakctl-releases.luxonis.com/data/${version}/linux_x86_64/oakctl";
hash = "sha256-HCnFD0LD6sQp9k3SP2g4svjA5/kLvfrnN+IwiuMWGCY=";
hash = "sha256-AJo1xFKWtjMZNsY9M2cENe+3y9Simv+mT/fLKOWeIys=";
};
aarch64-linux = fetchurl {
url = "https://oakctl-releases.luxonis.com/data/${version}/linux_aarch64/oakctl";
hash = "sha256-1oJQs57/tW3rsMM+LAuKiBUf1aKOKFoPQAMcVUfXqlE=";
hash = "sha256-sRHfmv1cUWCWkQHARpzTgSns464RlAkgw/JOKPQk//8=";
};
aarch64-darwin = fetchurl {
url = "https://oakctl-releases.luxonis.com/data/${version}/darwin_arm64/oakctl";
hash = "sha256-arS2qfd/Z/ZCNWAKD9bc2PMwkhVtO5WViTibMST7zd8=";
hash = "sha256-AgvV8rgVaD+TrjTDvWPGXVSBk9YUVmh7OK3j5mNU+0s=";
};
x86_64-darwin = fetchurl {
url = "https://oakctl-releases.luxonis.com/data/${version}/darwin_x86_64/oakctl";
hash = "sha256-yyvDQbFEtlB8xmdbxquy22wAIUcCSVchP/AuSpi4TAU=";
hash = "sha256-AgvV8rgVaD+TrjTDvWPGXVSBk9YUVmh7OK3j5mNU+0s=";
};
};
@@ -51,7 +51,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libgcc ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
libgcc
stdenv.cc.cc.lib
];
installPhase = ''
runHook preInstall