{ stdenv, lib, fetchFromGitHub, dtkwidget, gio-qt, cmake, extra-cmake-modules, libsForQt5, wayland, dwayland, pkg-config, glibmm, gtest, }: stdenv.mkDerivation rec { pname = "dde-clipboard"; version = "6.0.11"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; hash = "sha256-VSwip3WgpOYvqGw7/A8bqsYrVSACrVgoIp/pjXSAKcU="; }; nativeBuildInputs = [ cmake extra-cmake-modules pkg-config libsForQt5.qttools libsForQt5.wrapQtAppsHook ]; buildInputs = [ dtkwidget gio-qt wayland dwayland glibmm gtest ]; cmakeFlags = [ "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" ]; meta = with lib; { description = "DDE optional clipboard manager componment"; homepage = "https://github.com/linuxdeepin/dde-clipboard"; license = licenses.gpl3Plus; platforms = platforms.linux; teams = [ teams.deepin ]; }; }