Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 992 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 dtkwidget, 6 cmake, 7 pkg-config, 8 libsForQt5, 9 lxqt, 10 mtdev, 11 xorg, 12 gtest, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "qt5integration"; 17 version = "5.6.32"; 18 19 src = fetchFromGitHub { 20 owner = "linuxdeepin"; 21 repo = pname; 22 rev = version; 23 hash = "sha256-WRMeH66X21Z6TBKPEabnWqzC95+OR9M5azxvAp6K7T4="; 24 }; 25 26 nativeBuildInputs = [ 27 cmake 28 pkg-config 29 ]; 30 31 buildInputs = [ 32 dtkwidget 33 libsForQt5.qtbase 34 libsForQt5.qtsvg 35 libsForQt5.qtx11extras 36 mtdev 37 lxqt.libqtxdg_3_12 38 xorg.xcbutilrenderutil 39 gtest 40 ]; 41 42 cmakeFlags = [ 43 "-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${libsForQt5.qtbase.qtPluginPrefix}" 44 ]; 45 46 dontWrapQtApps = true; 47 48 meta = with lib; { 49 description = "Qt platform theme integration plugins for DDE"; 50 homepage = "https://github.com/linuxdeepin/qt5integration"; 51 license = licenses.lgpl3Plus; 52 platforms = platforms.linux; 53 teams = [ teams.deepin ]; 54 }; 55}