Loading pkgs/by-name/in/interactive-html-bom/package.nix +15 −4 Original line number Diff line number Diff line { fetchFromGitHub, kicad-small, lib, kicad, python3Packages, xvfb-run, }: python3Packages.buildPythonApplication rec { Loading @@ -22,11 +23,21 @@ python3Packages.buildPythonApplication rec { dependencies = [ python3Packages.jsonschema python3Packages.wxpython kicad-small python3Packages.kicad ]; # has no tests doCheck = false; nativeCheckInputs = [ xvfb-run ]; checkPhase = '' runHook preCheck cp ${kicad.base}/share/kicad/demos/stickhub/StickHub.kicad_pcb . HOME=$(mktemp -d) xvfb-run $out/bin/generate_interactive_bom --no-browser StickHub.kicad_pcb runHook postCheck ''; meta = { description = "Interactive HTML BOM generation for KiCad, EasyEDA, Eagle, Fusion360 and Allegro PCB designer"; Loading Loading
pkgs/by-name/in/interactive-html-bom/package.nix +15 −4 Original line number Diff line number Diff line { fetchFromGitHub, kicad-small, lib, kicad, python3Packages, xvfb-run, }: python3Packages.buildPythonApplication rec { Loading @@ -22,11 +23,21 @@ python3Packages.buildPythonApplication rec { dependencies = [ python3Packages.jsonschema python3Packages.wxpython kicad-small python3Packages.kicad ]; # has no tests doCheck = false; nativeCheckInputs = [ xvfb-run ]; checkPhase = '' runHook preCheck cp ${kicad.base}/share/kicad/demos/stickhub/StickHub.kicad_pcb . HOME=$(mktemp -d) xvfb-run $out/bin/generate_interactive_bom --no-browser StickHub.kicad_pcb runHook postCheck ''; meta = { description = "Interactive HTML BOM generation for KiCad, EasyEDA, Eagle, Fusion360 and Allegro PCB designer"; Loading