nixpkgs/pkgs/applications/graphics/vengi-tools/test-voxconvert-roundtrip.nix
R. Ryantm 2dbd317f56 vengi-tools: 0.0.28 -> 0.0.29
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-03-18 09:36:04 +01:00

16 lines
492 B
Nix

{ stdenv
, vengi-tools
}:
stdenv.mkDerivation {
name = "vengi-tools-test-voxconvert-roundtrip";
meta.timeout = 10;
buildCommand = ''
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/tests/chr_knight.qb --output chr_knight.vox
${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
'';
}