about summary refs log tree commit diff
path: root/pkgs/applications/misc/clight/clight-gui.nix
blob: da7dd77deeaa235c52c132cefa9e3cee5abf8687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qtcharts
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
  pname = "clight-gui";
  version = "unstable-2023-02-21";

  src = fetchFromGitHub {
    owner = "nullobsi";
    repo = "clight-gui";
    rev = "29e7216bfcc68135350a695ce446134bcb0463a6";
    hash = "sha256-U4vaMwnVDZnYLc+K3/yD81Q1vyBL8uSrrhOHbjbox5U=";
  };

  buildInputs = [ qtbase qtcharts ];
  nativeBuildInputs = [ cmake wrapQtAppsHook ];

  sourceRoot = "${src.name}/src";

  meta = with lib; {
    description = "Qt GUI for clight";
    homepage = "https://github.com/nullobsi/clight-gui";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ nickhu ];
    mainProgram = "clight-gui";
    platforms = platforms.linux;
  };
}