2021-08-16 14:15:24 +00:00
|
|
|
{ lib
|
2024-04-26 11:44:40 +00:00
|
|
|
, stdenv
|
2021-08-16 14:15:24 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
2024-04-26 11:44:40 +00:00
|
|
|
, qtdeclarative
|
|
|
|
, qtquickcontrols2
|
2021-08-16 14:15:24 +00:00
|
|
|
, qtx11extras
|
2024-04-26 11:44:40 +00:00
|
|
|
, spdlog
|
|
|
|
, fmt
|
|
|
|
, nlohmann_json
|
2021-08-16 14:15:24 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-26 11:44:40 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-16 14:15:24 +00:00
|
|
|
pname = "KDDockWidgets";
|
2024-04-26 11:44:40 +00:00
|
|
|
version = "2.0.0";
|
2021-08-16 14:15:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDAB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-26 11:44:40 +00:00
|
|
|
sha256 = "sha256-V4BMD1kYyaMlqNBo8otpV5yBt/PICzhBTkEMX9N3lbk=";
|
2021-08-16 14:15:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2024-04-26 11:44:40 +00:00
|
|
|
buildInputs = [ spdlog fmt nlohmann_json ];
|
|
|
|
propagatedBuildInputs = [ qtbase qtdeclarative qtquickcontrols2 qtx11extras ];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
2021-08-16 14:15:24 +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 ];
|
|
|
|
};
|
|
|
|
}
|