2021-09-18 10:52:07 +00:00
|
|
|
{ lib
|
2024-05-15 15:35:15 +00:00
|
|
|
, stdenv
|
2021-09-18 10:52:07 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
2024-05-15 15:35:15 +00:00
|
|
|
, qtdeclarative
|
|
|
|
, qtquickcontrols2
|
2021-09-18 10:52:07 +00:00
|
|
|
, qtx11extras
|
2024-05-15 15:35:15 +00:00
|
|
|
, spdlog
|
|
|
|
, fmt
|
|
|
|
, nlohmann_json
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-09-18 10:52:07 +00:00
|
|
|
pname = "KDDockWidgets";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.1.0";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDAB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
sha256 = "sha256-gKtW4UjeMUVzBIbV3GuSMtgzIy+N/VlaCc7PPZEHmmg=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2024-05-15 15:35:15 +00:00
|
|
|
buildInputs = [ spdlog fmt nlohmann_json ];
|
|
|
|
propagatedBuildInputs = [ qtbase qtdeclarative qtquickcontrols2 qtx11extras ];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|