nixpkgs/pkgs/desktops/deepin/core/dde-widgets/default.nix
rewine d93fee8b20 deepin: don't inherit libsForQt5 scope
The deepin desktop environment requires both qt5 and qt6, deepin scope should not inherit from qt5
2024-11-08 21:34:44 +08:00

49 lines
899 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
dde-qt-dbus-factory,
dtkwidget,
libsForQt5,
qt5integration,
gtest,
}:
stdenv.mkDerivation rec {
pname = "dde-widgets";
version = "6.0.23";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-aeWQdWi1mMche7AJhAvchRXu89hiZ+CM/RR9HvvbXTw=";
};
nativeBuildInputs = [
cmake
pkg-config
dde-qt-dbus-factory
libsForQt5.wrapQtAppsHook
];
buildInputs = [
libsForQt5.qtbase
libsForQt5.qtx11extras
dtkwidget
qt5integration
gtest
];
meta = with lib; {
description = "Desktop widgets service/implementation for DDE";
mainProgram = "dde-widgets";
homepage = "https://github.com/linuxdeepin/dde-widgets";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}