dde-clipboard: 5.4.25 -> 6.0.7

rewine 16c60c99 fdc46fb8

+9 -24
+9 -24
pkgs/desktops/deepin/core/dde-clipboard/default.nix
··· 2 , lib 3 , fetchFromGitHub 4 , dtkwidget 5 - , qt5integration 6 - , qt5platform-plugins 7 - , dde-qt-dbus-factory 8 , gio-qt 9 , cmake 10 , qttools 11 , kwayland 12 , pkg-config 13 , wrapQtAppsHook 14 , glibmm ··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-clipboard"; 20 - version = "5.4.25"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 - sha256 = "sha256-oFATOBXf4NvGxjVMlfxwfQkBffeKut8ao+X6T9twb/I="; 27 }; 28 29 - postPatch = '' 30 - substituteInPlace CMakeLists.txt \ 31 - --replace "/etc/xdg" "$out/etc/xdg" \ 32 - --replace "/lib/systemd/user" "$out/lib/systemd/user" \ 33 - --replace "/usr/share" "$out/share" 34 - 35 - substituteInPlace misc/com.deepin.dde.Clipboard.service \ 36 - --replace "/usr/bin/qdbus" "${lib.getBin qttools}/bin/qdbus" 37 - 38 - substituteInPlace misc/{dde-clipboard.desktop,dde-clipboard-daemon.service,com.deepin.dde.Clipboard.service} \ 39 - --replace "/usr" "$out" 40 - 41 - patchShebangs translate_generation.sh generate_gtest_report.sh 42 - ''; 43 - 44 nativeBuildInputs = [ 45 cmake 46 pkg-config 47 qttools 48 wrapQtAppsHook ··· 50 51 buildInputs = [ 52 dtkwidget 53 - qt5integration 54 - qt5platform-plugins 55 - dde-qt-dbus-factory 56 gio-qt 57 kwayland 58 glibmm 59 gtest 60 ]; 61 62 cmakeFlags = [ 63 - "-DUSE_DEEPIN_WAYLAND=OFF" 64 ]; 65 66 meta = with lib; {
··· 2 , lib 3 , fetchFromGitHub 4 , dtkwidget 5 , gio-qt 6 , cmake 7 + , extra-cmake-modules 8 , qttools 9 + , wayland 10 , kwayland 11 + , dwayland 12 , pkg-config 13 , wrapQtAppsHook 14 , glibmm ··· 17 18 stdenv.mkDerivation rec { 19 pname = "dde-clipboard"; 20 + version = "6.0.7"; 21 22 src = fetchFromGitHub { 23 owner = "linuxdeepin"; 24 repo = pname; 25 rev = version; 26 + hash = "sha256-6CbCor0vgVMsMt8KY2uWrNqOsBEIaz7s2nViiHz+m1g="; 27 }; 28 29 nativeBuildInputs = [ 30 cmake 31 + extra-cmake-modules 32 pkg-config 33 qttools 34 wrapQtAppsHook ··· 36 37 buildInputs = [ 38 dtkwidget 39 gio-qt 40 + wayland 41 kwayland 42 + dwayland 43 glibmm 44 gtest 45 ]; 46 47 cmakeFlags = [ 48 + "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" 49 ]; 50 51 meta = with lib; {