Merge pull request #221621 from wineee/deepin-shortcut-viewer

deepin.deepin-shortcut-viewer: init at 5.0.7

authored by

Nick Cao and committed by
GitHub
d586805a 520e52af

+57
+56
pkgs/desktops/deepin/apps/deepin-shortcut-viewer/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , dtkwidget 5 + , qt5integration 6 + , qt5platform-plugins 7 + , qmake 8 + , qtbase 9 + , qttools 10 + , pkg-config 11 + , wrapQtAppsHook 12 + }: 13 + 14 + stdenv.mkDerivation rec { 15 + pname = "deepin-shortcut-viewer"; 16 + version = "5.0.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "linuxdeepin"; 20 + repo = pname; 21 + rev = version; 22 + sha256 = "sha256-r/ZhA9yiPnJNTrBkVOvaTqfRvGO/NTod5tiQCquG5Gw="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + qmake 27 + qttools 28 + pkg-config 29 + wrapQtAppsHook 30 + ]; 31 + 32 + buildInputs = [ 33 + qtbase 34 + dtkwidget 35 + qt5platform-plugins 36 + ]; 37 + 38 + qmakeFlags = [ 39 + "VERSION=${version}" 40 + "PREFIX=${placeholder "out"}" 41 + ]; 42 + 43 + # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 44 + qtWrapperArgs = [ 45 + "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" 46 + ]; 47 + 48 + meta = with lib; { 49 + description = "Deepin Shortcut Viewer"; 50 + homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer"; 51 + license = licenses.gpl3Plus; 52 + platforms = platforms.linux; 53 + maintainers = teams.deepin.members; 54 + }; 55 + } 56 +
+1
pkgs/desktops/deepin/default.nix
··· 45 45 deepin-movie-reborn = callPackage ./apps/deepin-movie-reborn { }; 46 46 deepin-music = callPackage ./apps/deepin-music { }; 47 47 deepin-picker = callPackage ./apps/deepin-picker { }; 48 + deepin-shortcut-viewer = callPackage ./apps/deepin-shortcut-viewer { }; 48 49 deepin-terminal = callPackage ./apps/deepin-terminal { }; 49 50 deepin-reader = callPackage ./apps/deepin-reader { }; 50 51 deepin-voice-note = callPackage ./apps/deepin-voice-note { };