summary refs log tree commit diff
path: root/pkgs/applications/graphics/vengi-tools/test-voxconvert-roundtrip.nix
blob: 27b0305615a857087949f6109b56ef208e0a4331 (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-roundtrip";
  meta.timeout = 10;
  buildCommand = ''
    ${vengi-tools}/bin/vengi-voxconvert ${vengi-tools}/share/vengi-voxedit/chr_knight.qb chr_knight.vox
    ${vengi-tools}/bin/vengi-voxconvert chr_knight.vox chr_knight.qb
    ${vengi-tools}/bin/vengi-voxconvert chr_knight.qb chr_knight1.vox
    diff chr_knight.vox chr_knight1.vox
    touch $out
  '';
}