about summary refs log tree commit diff
path: root/pkgs/development/libraries/kddockwidgets/default.nix
blob: a1020fe986797b61b7502efc7c3d4ac63e31e5dc (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
36
37
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qtdeclarative
, qtquickcontrols2
, qtx11extras
, spdlog
, fmt
, nlohmann_json
}:

stdenv.mkDerivation rec {
  pname = "KDDockWidgets";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "KDAB";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-V4BMD1kYyaMlqNBo8otpV5yBt/PICzhBTkEMX9N3lbk=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ spdlog fmt nlohmann_json ];
  propagatedBuildInputs = [ qtbase qtdeclarative qtquickcontrols2 qtx11extras ];

  dontWrapQtApps = true;

  meta = with lib; {
    description = "KDAB's Dock Widget Framework for Qt";
    homepage = "https://www.kdab.com/development-resources/qt-tools/kddockwidgets";
    license = with licenses; [ gpl2Only gpl3Only ];
    maintainers = with maintainers; [ _1000teslas ];
  };
}