···11{
22 lib,
33+ stdenv,
34 buildGoModule,
45 fetchFromGitHub,
56 nix-update-script,
67 writableTmpDirAsHomeHook,
88+ exiftool,
79}:
810let
911 version = "1.3.2";
···2729 "-w"
2830 ];
29313232+ nativeBuildInputs = [ exiftool ];
3333+3034 nativeCheckInputs = [ writableTmpDirAsHomeHook ];
31353232- # Upstream notes that this could be flakey, and it consistently fails for me.
3333- checkFlags = [ "-skip=^TestReturnDirElement/Sort_by_Date$" ];
3636+ # Upstream notes that this could be flaky, and it consistently fails for me.
3737+ checkFlags = [
3838+ "-skip=^TestReturnDirElement/Sort_by_Date$"
3939+ ]
4040+ ++ lib.optionals stdenv.isDarwin [
4141+ # Only failing on nix darwin. I suspect this is due to the way
4242+ # darwin handles file permissions.
4343+ "-skip=^TestCompressSelectedFiles"
4444+ ];
34453546 passthru.updateScript = nix-update-script { };
3647