vengi-tools: 0.0.28 -> 0.0.29

Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
This commit is contained in:
R. Ryantm 2024-03-16 02:44:29 +00:00 committed by Francesco Gazzetta
parent bb40e8c721
commit 2dbd317f56
3 changed files with 4 additions and 4 deletions

View file

@ -29,13 +29,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "vengi-tools"; pname = "vengi-tools";
version = "0.0.28"; version = "0.0.29";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mgerhardy"; owner = "mgerhardy";
repo = "vengi"; repo = "vengi";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-UjSm/J/y7MUg3Exmw0P56+bcjiLxXdGS2brocdzgJ+c="; hash = "sha256-VGgmJPNLEsD1y6e6CRw1Wipmy9MKAQkydyHNNjPyvhQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation {
mkdir $out mkdir $out
for format in vox qef qbt qb vxm vxr binvox gox cub vxl csv; do for format in vox qef qbt qb vxm vxr binvox gox cub vxl csv; do
echo Testing $format export echo Testing $format export
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/voxedit/chr_knight.qb --output $out/chr_knight.$format ${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/tests/chr_knight.qb --output $out/chr_knight.$format
done done
''; '';
} }

View file

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