ipu6-camera-hal: 2023-01-09 -> 2023-02-08

betaboon 7b17c672 62c69e9f

+16 -12
+16 -12
pkgs/development/libraries/ipu6-camera-hal/default.nix
··· 14 14 }: 15 15 16 16 stdenv.mkDerivation { 17 - pname = "ipu6-camera-hal"; 18 - version = "unstable-2023-01-09"; 17 + pname = "${ipu6-camera-bin.ipuVersion}-camera-hal"; 18 + version = "unstable-2023-02-08"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "intel"; 22 22 repo = "ipu6-camera-hal"; 23 - rev = "37292891c73367d22ba1fc96ea9b6e4546903037"; 24 - hash = "sha256-dJvTZt85rt5/v2JXOsfbSY933qffyXW74L0nWdIlqug="; 23 + rev = "884b81aae0ea19a974eb8ccdaeef93038136bdd4"; 24 + hash = "sha256-AePL7IqoOhlxhfPRLpCman5DNh3wYS4MUcLgmgBUcCM="; 25 25 }; 26 26 27 27 nativeBuildInputs = [ ··· 52 52 gst_all_1.gst-plugins-base 53 53 ]; 54 54 55 - preFixup = '' 56 - ls -lah $out/lib/pkgconfig/ 57 - sed -Ei \ 58 - -e "s,^prefix=.*,prefix=$out," \ 59 - -e "s,^exec_prefix=.*,exec_prefix=''${prefix}," \ 60 - -e "s,^libdir=.*,libdir=''${prefix}/lib," \ 61 - -e "s,^includedir=.*,includedir=''${prefix}/include/libcamhal," \ 62 - $out/lib/pkgconfig/libcamhal.pc 55 + postPatch = '' 56 + substituteInPlace src/platformdata/PlatformData.h \ 57 + --replace '/usr/share/' "${placeholder "out"}/share/" 63 58 ''; 59 + 60 + postFixup = '' 61 + substituteInPlace $out/lib/pkgconfig/libcamhal.pc \ 62 + --replace 'prefix=/usr' "prefix=$out" 63 + ''; 64 + 65 + passthru = { 66 + inherit (ipu6-camera-bin) ipuVersion; 67 + }; 64 68 65 69 meta = with lib; { 66 70 description = "HAL for processing of images in userspace";