nixpkgs/pkgs/development/libraries/kddockwidgets/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
833 B
Nix
Raw Permalink Normal View History

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-05-09 01:34:04 +00:00
version = "2.1.0";
2021-08-16 14:15:24 +00:00
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
2024-05-09 01:34:04 +00:00
sha256 = "sha256-gKtW4UjeMUVzBIbV3GuSMtgzIy+N/VlaCc7PPZEHmmg=";
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 ];
};
}