deepin-turbo: init at 0.0.6.3

authored by rewine and committed by rewine 70d75c24 8304c713

+43
+1
pkgs/desktops/deepin/default.nix
··· 38 39 #### MISC 40 deepin-desktop-base = callPackage ./misc/deepin-desktop-base { }; 41 }; 42 in 43 lib.makeScope libsForQt5.newScope packages
··· 38 39 #### MISC 40 deepin-desktop-base = callPackage ./misc/deepin-desktop-base { }; 41 + deepin-turbo = callPackage ./misc/deepin-turbo { }; 42 }; 43 in 44 lib.makeScope libsForQt5.newScope packages
+42
pkgs/desktops/deepin/misc/deepin-turbo/default.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , wrapQtAppsHook 7 + , dtkwidget 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "deepin-turbo"; 12 + version = "0.0.6.3"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "linuxdeepin"; 16 + repo = pname; 17 + rev = version; 18 + sha256 = "sha256-t6/Ws/Q8DO0zBzrUr/liD61VkxbOv4W4x6VgMWr+Ozk="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + cmake 23 + pkg-config 24 + wrapQtAppsHook 25 + ]; 26 + 27 + buildInputs = [ 28 + dtkwidget 29 + ]; 30 + 31 + postPatch = '' 32 + substituteInPlace src/{booster-dtkwidget/CMakeLists.txt,booster-desktop/{CMakeLists.txt,desktop.conf},booster-generic/CMakeLists.txt} --replace "/usr" "$out" 33 + ''; 34 + 35 + meta = with lib; { 36 + description = "A daemon that helps to launch dtk applications faster"; 37 + homepage = "https://github.com/linuxdeepin/deepin-turbo"; 38 + license = licenses.gpl3Plus; 39 + platforms = platforms.linux; 40 + maintainers = teams.deepin.members; 41 + }; 42 + }