1 { runCommand, vega-lite }:
4 inherit (vega-lite) packageName version;
7 runCommand "${packageName}-tests" { meta.timeout = 60; }
9 # get version of installed program and compare with package version
10 claimed_version="$(${vega-lite}/bin/vl2vg --version)"
11 if [[ "$claimed_version" != "${version}" ]]; then
12 echo "Error: program version does not match package version ($claimed_version != ${version})"
17 ${vega-lite}/bin/vl2vg --help > /dev/null
18 ${vega-lite}/bin/vl2svg --help > /dev/null
19 ${vega-lite}/bin/vl2png --help > /dev/null
20 ${vega-lite}/bin/vl2pdf --help > /dev/null
22 # needed for Nix to register the command as successful