about summary refs log tree commit diff
path: root/pkgs/by-name/qs/qspeakers/package.nix
blob: ffee7775154fd37bc7467db7929b189dc54d9fb6 (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
35
{ lib
, stdenv
, fetchFromGitHub
, libsForQt5
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "qspeakers";
  version = "1.6.9";

  src = fetchFromGitHub {
    owner = "be1";
    repo = "qspeakers";
    rev = "refs/tags/${finalAttrs.version}";
    hash = "sha256-V4rcDUJU27ijzsc6zhsEiQ/7SdvHmGR2402iIazrMfE=";
  };

  nativeBuildInputs = [
    libsForQt5.qmake
    libsForQt5.wrapQtAppsHook
  ];

  buildInputs = [
    libsForQt5.qtcharts
    libsForQt5.qttools
  ];

  meta = {
    description = "A loudspeaker enclosure designer";
    homepage = "https://github.com/be1/qspeakers";
    license = lib.licenses.gpl3Plus;
    mainProgram = "qspeakers";
    maintainers = with lib.maintainers; [ tomasajt ];
  };
})