2022-02-14 12:03:52 +01:00
|
|
|
{ stdenv
|
|
|
|
, vengi-tools
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "vengi-tools-test-voxconvert-roundtrip";
|
|
|
|
meta.timeout = 10;
|
|
|
|
buildCommand = ''
|
2023-03-13 09:50:19 +01:00
|
|
|
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/voxedit/chr_knight.qb --output chr_knight.vox
|
2022-02-14 12:03:52 +01:00
|
|
|
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.vox --output chr_knight.qb
|
|
|
|
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.qb --output chr_knight1.vox
|
|
|
|
diff chr_knight.vox chr_knight1.vox
|
|
|
|
touch $out
|
|
|
|
'';
|
|
|
|
}
|