1 { lib, stdenv, fetchurl, p7zip
3 , qtbase, qtmultimedia, qtserialport
4 , autoPatchelfHook, wrapQtAppsHook
7 stdenv.mkDerivation rec {
18 url = "https://github.com/LightBurnSoftware/deployment/releases/download/${version}/LightBurn-Linux64-v${version}.7z";
19 sha256 = "sha256-V4hswyj6Ly6inaIlHlxpvER8ar09wZ55Ad+xH4GbHfs=";
24 qtbase qtmultimedia qtserialport
27 # We nuke the vendored Qt5 libraries that LightBurn ships and instead use our
31 rm -rf LightBurn/lib LightBurn/plugins
35 mkdir -p $out/share $out/bin
36 cp -ar LightBurn $out/share/LightBurn
37 ln -s $out/share/LightBurn/LightBurn $out/bin
39 wrapQtApp $out/bin/LightBurn
43 description = "Layout, editing, and control software for your laser cutter";
44 homepage = "https://lightburnsoftware.com/";
45 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
46 license = lib.licenses.unfree;
47 maintainers = with lib.maintainers; [ q3k ];
48 platforms = [ "x86_64-linux" ];