Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 50 lines 894 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 qtbase, 7 qtdeclarative, 8 qtquickcontrols2, 9 qtx11extras, 10 spdlog, 11 fmt, 12 nlohmann_json, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "KDDockWidgets"; 17 version = "2.2.5"; 18 19 src = fetchFromGitHub { 20 owner = "KDAB"; 21 repo = pname; 22 rev = "v${version}"; 23 sha256 = "sha256-4xaTfNwfAIQox2YcusEZJt5f9/Kld+zveFEiIVw5dRc="; 24 }; 25 26 nativeBuildInputs = [ cmake ]; 27 buildInputs = [ 28 spdlog 29 fmt 30 nlohmann_json 31 ]; 32 propagatedBuildInputs = [ 33 qtbase 34 qtdeclarative 35 qtquickcontrols2 36 qtx11extras 37 ]; 38 39 dontWrapQtApps = true; 40 41 meta = with lib; { 42 description = "KDAB's Dock Widget Framework for Qt"; 43 homepage = "https://www.kdab.com/development-resources/qt-tools/kddockwidgets"; 44 license = with licenses; [ 45 gpl2Only 46 gpl3Only 47 ]; 48 maintainers = with maintainers; [ _1000teslas ]; 49 }; 50}