about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/vengi-tools/test-voxconvert-all-formats.nix
blob: fc99ceb07144ee3f777484179714c255bfe32c3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv
, vengi-tools
}:

stdenv.mkDerivation {
  name = "vengi-tools-test-voxconvert-all-formats";
  meta.timeout = 10;
  buildCommand = ''
    mkdir $out
    for format in vox qef qbt qb vxm vxr binvox gox cub vxl csv; do
      echo Testing $format export
      ${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/voxedit/chr_knight.qb --output $out/chr_knight.$format
    done
  '';
}