how to bundle example visualization files

Hi, i am packaging paraview on nixpkgs, I want to bundle example visualization examples to Paraview.
There has been a duplicated discussion here :

However the discussion is for paraview-5.9 and the bundled examples have been changed in paraview-6.0.0.
Is there any stable scripts or examples file that i can make use of across different version?

There is kind of a script, but it’s a CMake install command that just copies the files into the examples directory: https://gitlab.kitware.com/paraview/paraview-superbuild/-/blob/master/projects/paraviewtutorialdata.cmake?ref_type=heads

The data is downloaded from https://www.paraview.org/files/data/ParaViewTutorialData-20220629.tar.gz (see https://gitlab.kitware.com/paraview/paraview-superbuild/-/blob/master/versions.cmake?ref_type=heads#L21).

While that may not help you in terms of providing a script to do this, hopefully it clarifies how the example data is obtained.

Thanks, that works for me.