2021-01-25 08:26:54 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, qtserialport, qmake }:
|
2019-02-24 23:50:11 +00:00
|
|
|
|
2020-04-07 20:34:14 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "candle";
|
2019-02-24 23:50:11 +00:00
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Denvi";
|
|
|
|
repo = "Candle";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1gpx08gdz8awbsj6lsczwgffp19z3q0r2fvm72a73qd9az29pmm0";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ];
|
2021-01-01 13:46:40 +00:00
|
|
|
|
2019-02-24 23:50:11 +00:00
|
|
|
sourceRoot = "source/src";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
install -Dm755 Candle $out/bin/candle
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtserialport ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-02-24 23:50:11 +00:00
|
|
|
description = "GRBL controller application with G-Code visualizer written in Qt";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Denvi/Candle";
|
2019-02-24 23:50:11 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ matti-kariluoma ];
|
|
|
|
};
|
|
|
|
}
|