dde-launchpad: init at 0.0.2
This commit is contained in:
parent
416ffd6826
commit
b9ce06ae06
58
pkgs/desktops/deepin/core/dde-launchpad/default.nix
Normal file
58
pkgs/desktops/deepin/core/dde-launchpad/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, qttools
|
||||
, pkg-config
|
||||
, wrapQtAppsHook
|
||||
, dtkwidget
|
||||
, dtkdeclarative
|
||||
, qtbase
|
||||
, appstream-qt
|
||||
, kitemmodels
|
||||
, qt5integration
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dde-launchpad";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tWlh7BS+qUgzZIDGxI/giDZnU54jMtRxzRSOX76DAzk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qttools
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dtkwidget
|
||||
dtkdeclarative
|
||||
qtbase
|
||||
appstream-qt
|
||||
kitemmodels
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user"
|
||||
];
|
||||
|
||||
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
|
||||
qtWrapperArgs = [
|
||||
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The 'launcher' or 'start menu' component for DDE";
|
||||
homepage = "https://github.com/linuxdeepin/dde-launchpad";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.deepin.members;
|
||||
};
|
||||
}
|
@ -32,6 +32,7 @@ let
|
||||
dde-dock = callPackage ./core/dde-dock { };
|
||||
dde-file-manager = callPackage ./core/dde-file-manager { };
|
||||
dde-launcher = callPackage ./core/dde-launcher { };
|
||||
dde-launchpad = callPackage ./core/dde-launchpad { };
|
||||
dde-network-core = callPackage ./core/dde-network-core { };
|
||||
dde-session-shell = callPackage ./core/dde-session-shell { };
|
||||
dde-session-ui = callPackage ./core/dde-session-ui { };
|
||||
|
Loading…
Reference in New Issue
Block a user