forked from mirrors/nixpkgs
deepin-turbo: init at 0.0.6.3
This commit is contained in:
parent
8304c7138e
commit
70d75c24e4
|
@ -38,6 +38,7 @@ let
|
||||||
|
|
||||||
#### MISC
|
#### MISC
|
||||||
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
|
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
|
||||||
|
deepin-turbo = callPackage ./misc/deepin-turbo { };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
lib.makeScope libsForQt5.newScope packages
|
lib.makeScope libsForQt5.newScope packages
|
||||||
|
|
42
pkgs/desktops/deepin/misc/deepin-turbo/default.nix
Normal file
42
pkgs/desktops/deepin/misc/deepin-turbo/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, dtkwidget
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "deepin-turbo";
|
||||||
|
version = "0.0.6.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linuxdeepin";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-t6/Ws/Q8DO0zBzrUr/liD61VkxbOv4W4x6VgMWr+Ozk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
dtkwidget
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/{booster-dtkwidget/CMakeLists.txt,booster-desktop/{CMakeLists.txt,desktop.conf},booster-generic/CMakeLists.txt} --replace "/usr" "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A daemon that helps to launch dtk applications faster";
|
||||||
|
homepage = "https://github.com/linuxdeepin/deepin-turbo";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = teams.deepin.members;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue