fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ mkDerivation, lib, fetchFromGitHub, qtbase, qtserialport, qmake }:
2
3mkDerivation rec {
4 pname = "candle";
5 version = "1.1";
6
7 src = fetchFromGitHub {
8 owner = "Denvi";
9 repo = "Candle";
10 rev = "v${version}";
11 sha256 = "1gpx08gdz8awbsj6lsczwgffp19z3q0r2fvm72a73qd9az29pmm0";
12 };
13
14 nativeBuildInputs = [ qmake ];
15
16 sourceRoot = "source/src";
17
18 installPhase = ''
19 runHook preInstall
20 install -Dm755 Candle $out/bin/candle
21 runHook postInstall
22 '';
23
24 buildInputs = [ qtbase qtserialport ];
25
26 meta = with lib; {
27 description = "GRBL controller application with G-Code visualizer written in Qt";
28 homepage = "https://github.com/Denvi/Candle";
29 license = licenses.gpl3;
30 maintainers = with maintainers; [ matti-kariluoma ];
31 };
32}