depot/third_party/nixpkgs/pkgs/development/libraries/kddockwidgets/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
833 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qtdeclarative
, qtquickcontrols2
, qtx11extras
, spdlog
, fmt
, nlohmann_json
}:
stdenv.mkDerivation rec {
pname = "KDDockWidgets";
version = "2.1.0";
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
sha256 = "sha256-gKtW4UjeMUVzBIbV3GuSMtgzIy+N/VlaCc7PPZEHmmg=";
};
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 ];
};
}