tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vengi-tools: 0.0.23 -> 0.0.24
Francesco Gazzetta
2 years ago
87d7fb45
ba18b89a
+4
-4
3 changed files
expand all
collapse all
unified
split
pkgs
applications
graphics
vengi-tools
default.nix
test-voxconvert-all-formats.nix
test-voxconvert-roundtrip.nix
+2
-2
pkgs/applications/graphics/vengi-tools/default.nix
···
29
29
30
30
stdenv.mkDerivation rec {
31
31
pname = "vengi-tools";
32
32
-
version = "0.0.23";
32
32
+
version = "0.0.24";
33
33
34
34
src = fetchFromGitHub {
35
35
owner = "mgerhardy";
36
36
repo = "vengi";
37
37
rev = "v${version}";
38
38
-
sha256 = "sha256-wRqQ7x6eQTrzFU++Qgq/7NXXo5F1onlZBdQ9ttNvvEw=";
38
38
+
sha256 = "sha256-ZkO2CLSuuJcFJFBO4XS8Qec0CxxAJdzOGfFa2zy+4uI=";
39
39
};
40
40
41
41
nativeBuildInputs = [
+1
-1
pkgs/applications/graphics/vengi-tools/test-voxconvert-all-formats.nix
···
9
9
mkdir $out
10
10
for format in vox qef qbt qb vxm vxr binvox gox cub vxl csv; do
11
11
echo Testing $format export
12
12
-
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools}/share/vengi-voxedit/chr_knight.qb --output $out/chr_knight.$format
12
12
+
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/voxedit/chr_knight.qb --output $out/chr_knight.$format
13
13
done
14
14
'';
15
15
}
+1
-1
pkgs/applications/graphics/vengi-tools/test-voxconvert-roundtrip.nix
···
6
6
name = "vengi-tools-test-voxconvert-roundtrip";
7
7
meta.timeout = 10;
8
8
buildCommand = ''
9
9
-
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools}/share/vengi-voxedit/chr_knight.qb --output chr_knight.vox
9
9
+
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools.src}/data/voxedit/chr_knight.qb --output chr_knight.vox
10
10
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.vox --output chr_knight.qb
11
11
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.qb --output chr_knight1.vox
12
12
diff chr_knight.vox chr_knight1.vox