nixpkgs/pkgs/applications/graphics/lightburn/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.1 KiB
Nix
Raw Normal View History

2021-11-13 22:28:25 +00:00
{ lib, stdenv, fetchurl, p7zip
2020-07-30 13:14:38 +00:00
, nss, nspr, libusb1
2024-01-05 17:10:14 +00:00
, qtbase, qtmultimedia, qtserialport, cups
, autoPatchelfHook
2020-07-30 13:14:38 +00:00
}:
stdenv.mkDerivation rec {
pname = "lightburn";
2024-05-02 06:30:05 +00:00
version = "1.6.00";
2020-07-30 13:14:38 +00:00
nativeBuildInputs = [
p7zip
autoPatchelfHook
];
src = fetchurl {
url = "https://github.com/LightBurnSoftware/deployment/releases/download/${version}/LightBurn-Linux64-v${version}.7z";
2024-05-02 06:30:05 +00:00
sha256 = "sha256-R9DBlmqvV23QXzC45Z4GN0t+ysv4WM63POJGU5N7jbw=";
2020-07-30 13:14:38 +00:00
};
buildInputs = [
nss nspr libusb1
2024-01-05 17:10:14 +00:00
qtbase qtmultimedia qtserialport cups
2020-07-30 13:14:38 +00:00
];
unpackPhase = ''
7z x $src
'';
installPhase = ''
mkdir -p $out/share $out/bin
cp -ar LightBurn $out/share/LightBurn
2024-01-05 17:10:14 +00:00
ln -s $out/share/LightBurn/AppRun $out/bin/LightBurn
2020-07-30 13:14:38 +00:00
'';
2024-01-05 17:10:14 +00:00
dontWrapQtApps = true;
2020-07-30 13:14:38 +00:00
meta = {
description = "Layout, editing, and control software for your laser cutter";
2020-07-30 13:14:38 +00:00
homepage = "https://lightburnsoftware.com/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
2021-01-15 13:21:58 +00:00
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ q3k ];
2020-07-30 13:14:38 +00:00
platforms = [ "x86_64-linux" ];
2024-02-11 02:19:15 +00:00
mainProgram = "LightBurn";
2020-07-30 13:14:38 +00:00
};
}