Commit 69724e0d authored by K900's avatar K900
Browse files

kddockwidgets: 1.7.0 -> 2.0.0

parent 5cf39845
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
{ lib
, mkDerivation
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qtdeclarative
, qtquickcontrols2
, qtx11extras
, spdlog
, fmt
, nlohmann_json
}:

mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "KDDockWidgets";
  version = "1.7.0";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "KDAB";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-k5Hn9kxq1+tH5kV/ZeD4xzQLDgcY4ACC+guP7YJD4C8=";
    sha256 = "sha256-V4BMD1kYyaMlqNBo8otpV5yBt/PICzhBTkEMX9N3lbk=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ qtbase qtx11extras ];
  buildInputs = [ spdlog fmt nlohmann_json ];
  propagatedBuildInputs = [ qtbase qtdeclarative qtquickcontrols2 qtx11extras ];

  dontWrapQtApps = true;

  meta = with lib; {
    description = "KDAB's Dock Widget Framework for Qt";