depot/third_party/nixpkgs/pkgs/development/libraries/kddockwidgets/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02: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.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 ];
};
}