depot/pkgs/development/libraries/kddockwidgets/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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 ];
};
}