dde-launchpad: init at 0.0.2

This commit is contained in:
rewine 2023-09-26 16:49:33 +08:00
parent 416ffd6826
commit b9ce06ae06
No known key found for this signature in database
GPG Key ID: 2964FF5514455F51
2 changed files with 59 additions and 0 deletions

View 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;
};
}

View File

@ -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 { };