hdr10plus_tool: enable package tests

This commit is contained in:
Mikael Voss
2025-03-15 10:11:01 +05:30
committed by Masum Reza
parent 35004ba95e
commit a6c939c52a
+6 -2
View File
@@ -4,6 +4,7 @@
rustPlatform,
pkg-config,
fontconfig,
writableTmpDirAsHomeHook,
nix-update-script,
}:
@@ -25,12 +26,15 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ fontconfig ];
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
preCheck = ''
export FONTCONFIG_FILE="${fontconfig.out}/etc/fonts/fonts.conf";
'';
passthru = {
updateScript = nix-update-script { };
};
doCheck = false;
meta = with lib; {
description = "CLI utility to work with HDR10+ in HEVC files.";
homepage = "https://github.com/quietvoid/hdr10plus_tool";