ipu6: update packages

This commit is contained in:
betaboon
2025-09-22 14:53:18 +02:00
parent 98ecda14ac
commit 788154c0e1
3 changed files with 18 additions and 14 deletions

View File

@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "ipu6-camera-bins"; pname = "ipu6-camera-bins";
version = "unstable-2024-09-27"; version = "unstable-2025-06-27";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "ipu6-camera-bins"; repo = "ipu6-camera-bins";
owner = "intel"; owner = "intel";
rev = "98ca6f2a54d20f171628055938619972514f7a07"; rev = "30e87664829782811a765b0ca9eea3a878a7ff29";
hash = "sha256-DAjAzHMqX41mrfQVpDUJLw4Zjb9pz6Uy3TJjTGIkd6o="; hash = "sha256-YPPzuK13o2jnRSB3ORoMUU5E9/IifKVSetAqZHRofhw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
''; '';
postFixup = '' postFixup = ''
for lib in $out/lib/lib*.so.*; do \
lib=''${lib##*/}; \
ln -s $lib $out/lib/''${lib%.*}; \
done
for pcfile in $out/lib/pkgconfig/*.pc; do for pcfile in $out/lib/pkgconfig/*.pc; do
substituteInPlace $pcfile \ substituteInPlace $pcfile \
--replace 'prefix=/usr' "prefix=$out" --replace 'prefix=/usr' "prefix=$out"

View File

@@ -31,13 +31,13 @@ let
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "${ipuVersion}-camera-hal"; pname = "${ipuVersion}-camera-hal";
version = "unstable-2024-09-29"; version = "unstable-2025-06-27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "ipu6-camera-hal"; repo = "ipu6-camera-hal";
rev = "f98f72b156563fe8373e4f8d017a9f609676bb33"; rev = "c933525a6efe8229a7129b7b0b66798f19d2bef7";
hash = "sha256-zVcgKW7/GHYd1oMvsaI77cPyj3G68dL+OXBJDz5+Td4="; hash = "sha256-ZWwszteRmUBn0wGgN5rmzw/onfzBoPGadcmpk+93kAM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -46,15 +46,14 @@ stdenv.mkDerivation {
]; ];
cmakeFlags = [ cmakeFlags = [
"-DIPU_VER=${ipuVersion}"
"-DTARGET_SUFFIX=-${ipuVersion}"
# missing libiacss
"-DUSE_PG_LITE_PIPE=ON"
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}" "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
"-DCMAKE_INSTALL_SUB_PATH=${ipuTarget}"
"-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5" "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DBUILD_CAMHAL_ADAPTOR=ON"
"-DBUILD_CAMHAL_PLUGIN=ON"
"-DIPU_VERSIONS=${ipuVersion}"
"-DUSE_PG_LITE_PIPE=ON"
]; ];
NIX_CFLAGS_COMPILE = [ NIX_CFLAGS_COMPILE = [

View File

@@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ipu6-drivers"; pname = "ipu6-drivers";
version = "unstable-2025-02-19"; version = "unstable-2025-09-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "ipu6-drivers"; repo = "ipu6-drivers";
rev = "7af071481f3d2d3cef1e70113c10f62ac6351723"; rev = "69b2fde9edcbc24128b91541fdf2791fbd4bf7a4";
hash = "sha256-pe7lqK+CHpgNWpC8GEZ3FKfYcuVuRUaWlW18D9AsrSk="; hash = "sha256-uiRbbSw7tQ3Fn297D1I7i7hyaNtpOWER4lvPMSTpwpk=";
}; };
patches = [ patches = [