deepin: format via nixfmt-rfc-style

This commit is contained in:
rewine 2024-08-24 14:07:01 +08:00
parent 53a541a222
commit 7b22b8c19e
80 changed files with 1583 additions and 1429 deletions

View File

@ -1,21 +1,22 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, dtkdeclarative
, qt5integration
, qt5platform-plugins
, qtbase
, qtsvg
, udisks2-qt5
, gio-qt
, freeimage
, ffmpeg
, ffmpegthumbnailer
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
dtkdeclarative,
qt5integration,
qt5platform-plugins,
qtbase,
qtsvg,
udisks2-qt5,
gio-qt,
freeimage,
ffmpeg,
ffmpegthumbnailer,
}:
stdenv.mkDerivation rec {

View File

@ -1,17 +1,18 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qt5integration
, qt5platform-plugins
, qtbase
, qtsvg
, dde-qt-dbus-factory
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, gtest
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
qtbase,
qtsvg,
dde-qt-dbus-factory,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
gtest,
}:
stdenv.mkDerivation rec {

View File

@ -1,26 +1,27 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, wayland
, dwayland
, qt5integration
, qt5platform-plugins
, image-editor
, qtbase
, qtmultimedia
, ffmpeg
, ffmpegthumbnailer
, libusb1
, libpciaccess
, portaudio
, libv4l
, gst_all_1
, systemd
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
wayland,
dwayland,
qt5integration,
qt5platform-plugins,
image-editor,
qtbase,
qtmultimedia,
ffmpeg,
ffmpegthumbnailer,
libusb1,
libpciaccess,
portaudio,
libv4l,
gst_all_1,
systemd,
}:
stdenv.mkDerivation rec {
@ -53,26 +54,28 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
dtkwidget
wayland
dwayland
qt5integration
qt5platform-plugins
image-editor
qtbase
qtmultimedia
ffmpeg
ffmpegthumbnailer
libusb1
libpciaccess
portaudio
libv4l
] ++ (with gst_all_1 ; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
buildInputs =
[
dtkwidget
wayland
dwayland
qt5integration
qt5platform-plugins
image-editor
qtbase
qtmultimedia
ffmpeg
ffmpegthumbnailer
libusb1
libpciaccess
portaudio
libv4l
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
cmakeFlags = [ "-DVERSION=${version}" ];
@ -84,7 +87,18 @@ stdenv.mkDerivation rec {
];
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base libusb1 libv4l portaudio systemd ]}"
"--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
ffmpeg
ffmpegthumbnailer
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
libusb1
libv4l
portaudio
systemd
]
}"
];
preFixup = ''

View File

@ -1,21 +1,22 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qt5integration
, qt5platform-plugins
, udisks2-qt5
, cmake
, qtbase
, qttools
, pkg-config
, kcodecs
, karchive
, wrapQtAppsHook
, minizip
, libzip
, libuuid
, libarchive
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
udisks2-qt5,
cmake,
qtbase,
qttools,
pkg-config,
kcodecs,
karchive,
wrapQtAppsHook,
minizip,
libzip,
libuuid,
libarchive,
}:
stdenv.mkDerivation rec {
@ -62,9 +63,7 @@ stdenv.mkDerivation rec {
];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
strictDeps = true;

View File

@ -1,15 +1,16 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, qtbase
, qtsvg
, dtkwidget
, qt5integration
, qt5platform-plugins
{
stdenv,
lib,
fetchFromGitHub,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
qtbase,
qtsvg,
dtkwidget,
qt5integration,
qt5platform-plugins,
}:
stdenv.mkDerivation rec {

View File

@ -1,22 +1,23 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, qt5integration
, qt5platform-plugins
, qtbase
, qtsvg
, dde-qt-dbus-factory
, kcodecs
, syntax-highlighting
, libchardet
, libuchardet
, libiconv
, gitUpdater
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
qt5integration,
qt5platform-plugins,
qtbase,
qtsvg,
dde-qt-dbus-factory,
kcodecs,
syntax-highlighting,
libchardet,
libuchardet,
libiconv,
gitUpdater,
}:
stdenv.mkDerivation rec {

View File

@ -1,22 +1,23 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, qt5platform-plugins
, qtbase
, dtkwidget
, dtkdeclarative
, deepin-ocr-plugin-manager
, gio-qt
, udisks2-qt5
, image-editor
, libraw
, libexif
, freeimage
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
qt5platform-plugins,
qtbase,
dtkwidget,
dtkdeclarative,
deepin-ocr-plugin-manager,
gio-qt,
udisks2-qt5,
image-editor,
libraw,
libexif,
freeimage,
}:
stdenv.mkDerivation rec {

View File

@ -1,33 +1,34 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, qttools
, qtx11extras
, qtmultimedia
, dtkwidget
, qt5integration
, qt5platform-plugins
, qtmpris
, qtdbusextended
, gsettings-qt
, elfutils
, ffmpeg
, ffmpegthumbnailer
, mpv
, xorg
, pcre
, libdvdread
, libdvdnav
, libunwind
, libva
, zstd
, glib
, gst_all_1
, gtest
, libpulseaudio
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
qttools,
qtx11extras,
qtmultimedia,
dtkwidget,
qt5integration,
qt5platform-plugins,
qtmpris,
qtdbusextended,
gsettings-qt,
elfutils,
ffmpeg,
ffmpegthumbnailer,
mpv,
xorg,
pcre,
libdvdread,
libdvdnav,
libunwind,
libva,
zstd,
glib,
gst_all_1,
gtest,
libpulseaudio,
}:
stdenv.mkDerivation rec {
@ -41,11 +42,12 @@ stdenv.mkDerivation rec {
hash = "sha256-1UbrNufetedla8TMFPze1hP/R2cZN7SEYEtrK4/5/RQ=";
};
patches = [
./dont_use_libPath.diff
];
patches = [ ./dont_use_libPath.diff ];
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
nativeBuildInputs = [
cmake
@ -54,34 +56,36 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
dtkwidget
qt5integration
qt5platform-plugins
qtx11extras
qtmultimedia
qtdbusextended
qtmpris
gsettings-qt
elfutils
ffmpeg
ffmpegthumbnailer
xorg.libXtst
xorg.libXdmcp
xorg.xcbproto
pcre.dev
libdvdread
libdvdnav
libunwind
libva
zstd
mpv
gtest
libpulseaudio
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
]);
buildInputs =
[
dtkwidget
qt5integration
qt5platform-plugins
qtx11extras
qtmultimedia
qtdbusextended
qtmpris
gsettings-qt
elfutils
ffmpeg
ffmpegthumbnailer
xorg.libXtst
xorg.libXdmcp
xorg.xcbproto
pcre.dev
libdvdread
libdvdnav
libunwind
libva
zstd
mpv
gtest
libpulseaudio
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
]);
propagatedBuildInputs = [
qtmultimedia
@ -94,14 +98,20 @@ stdenv.mkDerivation rec {
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
];
cmakeFlags = [
"-DVERSION=${version}"
];
cmakeFlags = [ "-DVERSION=${version}" ];
strictDeps = true;
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ mpv ffmpeg ffmpegthumbnailer gst_all_1.gstreamer gst_all_1.gst-plugins-base ]}"
"--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
mpv
ffmpeg
ffmpegthumbnailer
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
]
}"
];
preFixup = ''

View File

@ -1,24 +1,25 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, dtkdeclarative
, qt5integration
, qt5platform-plugins
, udisks2-qt5
, qtmpris
, qtmultimedia
, kcodecs
, ffmpeg
, libvlc
, taglib
, SDL2
, qtbase
, gst_all_1
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
dtkdeclarative,
qt5integration,
qt5platform-plugins,
udisks2-qt5,
qtmpris,
qtmultimedia,
kcodecs,
ffmpeg,
libvlc,
taglib,
SDL2,
qtbase,
gst_all_1,
}:
stdenv.mkDerivation rec {
@ -32,9 +33,7 @@ stdenv.mkDerivation rec {
hash = "sha256-MLfkSO8ru8MKiwgiQ0mPO3zGlnIeSHPc0Op5jjzJ6PE=";
};
patches = [
"${src}/patches/fix-library-path.patch"
];
patches = [ "${src}/patches/fix-library-path.patch" ];
nativeBuildInputs = [
cmake
@ -43,28 +42,28 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
dtkwidget
dtkdeclarative
qt5integration
qt5platform-plugins
udisks2-qt5
qtmpris
qtmultimedia
kcodecs
ffmpeg
libvlc
taglib
SDL2
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
buildInputs =
[
dtkwidget
dtkdeclarative
qt5integration
qt5platform-plugins
udisks2-qt5
qtmpris
qtmultimedia
kcodecs
ffmpeg
libvlc
taglib
SDL2
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
cmakeFlags = [
"-DVERSION=${version}"
];
cmakeFlags = [ "-DVERSION=${version}" ];
env.NIX_CFLAGS_COMPILE = toString [
"-I${libvlc}/include/vlc/plugins"

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, qttools
, pkg-config
, wrapQtAppsHook
, dtkwidget
, qtbase
, qtsvg
, xorg
{
stdenv,
lib,
fetchFromGitHub,
qmake,
qttools,
pkg-config,
wrapQtAppsHook,
dtkwidget,
qtbase,
qtsvg,
xorg,
}:
stdenv.mkDerivation rec {

View File

@ -1,23 +1,24 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, qt5integration
, qt5platform-plugins
, dde-qt-dbus-factory
, qtwebengine
, karchive
, poppler
, libchardet
, libspectre
, openjpeg
, djvulibre
, qtbase
, gtest
{
stdenv,
lib,
fetchFromGitHub,
qmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
qt5integration,
qt5platform-plugins,
dde-qt-dbus-factory,
qtwebengine,
karchive,
poppler,
libchardet,
libspectre,
openjpeg,
djvulibre,
qtbase,
gtest,
}:
stdenv.mkDerivation rec {
@ -63,9 +64,7 @@ stdenv.mkDerivation rec {
gtest
];
qmakeFlags = [
"DEFINES+=VERSION=${version}"
];
qmakeFlags = [ "DEFINES+=VERSION=${version}" ];
meta = with lib; {
description = "Simple memo software with texts and voice recordings";

View File

@ -1,27 +1,28 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, qt5integration
, dde-qt-dbus-factory
, qtbase
, qtmultimedia
, qtx11extras
, image-editor
, gsettings-qt
, xorg
, libusb1
, libv4l
, ffmpeg
, ffmpegthumbnailer
, portaudio
, kwayland
, udev
, gst_all_1
{
stdenv,
lib,
fetchFromGitHub,
qmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
qt5integration,
dde-qt-dbus-factory,
qtbase,
qtmultimedia,
qtx11extras,
image-editor,
gsettings-qt,
xorg,
libusb1,
libv4l,
ffmpeg,
ffmpegthumbnailer,
portaudio,
kwayland,
udev,
gst_all_1,
}:
stdenv.mkDerivation rec {
@ -35,9 +36,7 @@ stdenv.mkDerivation rec {
hash = "sha256-nE+axTUxWCcgrxQ5y2cjkVswW2rwv/We0m7XgB4shko=";
};
patches = [
./dont_use_libPath.diff
];
patches = [ ./dont_use_libPath.diff ];
# disable dock plugins, it's part of dde-shell now
postPatch = ''
@ -57,34 +56,44 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
dtkwidget
dde-qt-dbus-factory
qtbase
qtmultimedia
qtx11extras
image-editor
gsettings-qt
xorg.libXdmcp
xorg.libXtst
xorg.libXcursor
libusb1
libv4l
ffmpeg
ffmpegthumbnailer
portaudio
kwayland
udev
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
buildInputs =
[
dtkwidget
dde-qt-dbus-factory
qtbase
qtmultimedia
qtx11extras
image-editor
gsettings-qt
xorg.libXdmcp
xorg.libXtst
xorg.libXcursor
libusb1
libv4l
ffmpeg
ffmpegthumbnailer
portaudio
kwayland
udev
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev gst_all_1.gstreamer libv4l ffmpeg ffmpegthumbnailer ]}"
"--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
udev
gst_all_1.gstreamer
libv4l
ffmpeg
ffmpegthumbnailer
]
}"
];
preFixup = ''

View File

@ -1,17 +1,18 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, qttools
, pkg-config
, wrapQtAppsHook
, qtbase
, qtx11extras
, qtdeclarative
, dtkwidget
, dde-qt-dbus-factory
, xorg
, xscreensaver
{
stdenv,
lib,
fetchFromGitHub,
qmake,
qttools,
pkg-config,
wrapQtAppsHook,
qtbase,
qtx11extras,
qtdeclarative,
dtkwidget,
dde-qt-dbus-factory,
xorg,
xscreensaver,
}:
stdenv.mkDerivation rec {
@ -67,4 +68,3 @@ stdenv.mkDerivation rec {
maintainers = teams.deepin.members;
};
}

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qt5integration
, qt5platform-plugins
, qmake
, qtbase
, qttools
, pkg-config
, wrapQtAppsHook
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
qmake,
qtbase,
qttools,
pkg-config,
wrapQtAppsHook,
}:
stdenv.mkDerivation rec {
@ -50,4 +51,3 @@ stdenv.mkDerivation rec {
maintainers = teams.deepin.members;
};
}

View File

@ -1,29 +1,30 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, deepin-gettext-tools
, wrapQtAppsHook
, dtkwidget
, qt5integration
, qt5platform-plugins
, qtbase
, qtsvg
, qtx11extras
, dde-qt-dbus-factory
, dde-dock
, gsettings-qt
, polkit-qt
, procps
, libpcap
, libnl
, util-linux
, systemd
, polkit
, wayland
, dwayland
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
deepin-gettext-tools,
wrapQtAppsHook,
dtkwidget,
qt5integration,
qt5platform-plugins,
qtbase,
qtsvg,
qtx11extras,
dde-qt-dbus-factory,
dde-dock,
gsettings-qt,
polkit-qt,
procps,
libpcap,
libnl,
util-linux,
systemd,
polkit,
wayland,
dwayland,
}:
stdenv.mkDerivation rec {
@ -82,9 +83,7 @@ stdenv.mkDerivation rec {
dwayland
];
cmakeFlags = [
"-DVERSION=${version}"
];
cmakeFlags = [ "-DVERSION=${version}" ];
strictDeps = true;

View File

@ -1,20 +1,21 @@
{ stdenv
, lib
, fetchFromGitHub
, nixosTests
, dtkwidget
, qt5integration
, qt5platform-plugins
, cmake
, qtbase
, qtsvg
, qttools
, qtx11extras
, pkg-config
, wrapQtAppsHook
, libsecret
, chrpath
, lxqt
{
stdenv,
lib,
fetchFromGitHub,
nixosTests,
dtkwidget,
qt5integration,
qt5platform-plugins,
cmake,
qtbase,
qtsvg,
qttools,
qtx11extras,
pkg-config,
wrapQtAppsHook,
libsecret,
chrpath,
lxqt,
}:
stdenv.mkDerivation rec {

View File

@ -1,21 +1,22 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, qtbase
, dtkwidget
, qt5integration
, qt5platform-plugins
, qtsvg
, dde-qt-dbus-factory
, qtmultimedia
, qtwebengine
, libvlc
, gst_all_1
, gtest
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
qtbase,
dtkwidget,
qt5integration,
qt5platform-plugins,
qtsvg,
dde-qt-dbus-factory,
qtmultimedia,
qtwebengine,
libvlc,
gst_all_1,
gtest,
}:
stdenv.mkDerivation rec {
@ -29,9 +30,7 @@ stdenv.mkDerivation rec {
hash = "sha256-k6LFMs2/OQQyeGI5WXBGWkAAY4GeP8LaA8hTXFwbaCM=";
};
patches = [
./use_v23_dbus_interface.diff
];
patches = [ ./use_v23_dbus_interface.diff ];
postPatch = ''
substituteInPlace CMakeLists.txt \
@ -47,30 +46,30 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
qtbase
qtsvg
dtkwidget
qt5platform-plugins
dde-qt-dbus-factory
qtmultimedia
qtwebengine
libvlc
gtest
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
buildInputs =
[
qtbase
qtsvg
dtkwidget
qt5platform-plugins
dde-qt-dbus-factory
qtmultimedia
qtwebengine
libvlc
gtest
]
++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
]);
strictDeps = true;
cmakeFlags = [ "-DVERSION=${version}" ];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
preFixup = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")

View File

@ -1,6 +1,7 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
{
stdenvNoCC,
lib,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
@ -19,7 +20,10 @@ stdenvNoCC.mkDerivation rec {
meta = with lib; {
description = "Account faces of deepin desktop environment";
homepage = "https://github.com/linuxdeepin/dde-account-faces";
license = with licenses; [ gpl3Plus cc0 ];
license = with licenses; [
gpl3Plus
cc0
];
platforms = platforms.linux;
maintainers = teams.deepin.members;
};

View File

@ -1,13 +1,14 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, gtk3
, xcursorgen
, papirus-icon-theme
, breeze-icons
, hicolor-icon-theme
, deepin-icon-theme
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtk3,
xcursorgen,
papirus-icon-theme,
breeze-icons,
hicolor-icon-theme,
deepin-icon-theme,
}:
stdenv.mkDerivation rec {
@ -47,7 +48,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Provides a variety of well-designed theme resources";
homepage = "https://github.com/linuxdeepin/deepin-desktop-theme";
license = with licenses; [ gpl3Plus cc-by-sa-40 ];
license = with licenses; [
gpl3Plus
cc-by-sa-40
];
platforms = platforms.linux;
maintainers = teams.deepin.members;
};

View File

@ -1,7 +1,8 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, gtk-engine-murrine
{
stdenvNoCC,
lib,
fetchFromGitHub,
gtk-engine-murrine,
}:
stdenvNoCC.mkDerivation rec {
@ -15,9 +16,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-2B2BtbPeg3cEbnEIgdGFzy8MjCMWlbP/Sq4jzG5cjmc=";
};
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];

View File

@ -1,9 +1,10 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, gtk3
, xcursorgen
, papirus-icon-theme
{
stdenvNoCC,
lib,
fetchFromGitHub,
gtk3,
xcursorgen,
papirus-icon-theme,
}:
stdenvNoCC.mkDerivation rec {
@ -24,9 +25,7 @@ stdenvNoCC.mkDerivation rec {
xcursorgen
];
propagatedBuildInputs = [
papirus-icon-theme
];
propagatedBuildInputs = [ papirus-icon-theme ];
dontDropIconThemeCache = true;

View File

@ -1,6 +1,7 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
{
stdenvNoCC,
lib,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {

View File

@ -1,7 +1,8 @@
{ stdenv
, lib
, fetchFromGitHub
, dde-api
{
stdenv,
lib,
fetchFromGitHub,
dde-api,
}:
stdenv.mkDerivation rec {
@ -36,7 +37,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "deepin-wallpapers provides wallpapers of dde";
homepage = "https://github.com/linuxdeepin/deepin-wallpapers";
license = with licenses; [ gpl3Plus cc-by-sa-30 ];
license = with licenses; [
gpl3Plus
cc-by-sa-30
];
platforms = platforms.linux;
maintainers = teams.deepin.members;
};

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qt5integration
, qt5platform-plugins
, cmake
, wrapQtAppsHook
, qtbase
, qttools
, doxygen
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
cmake,
wrapQtAppsHook,
qtbase,
qttools,
doxygen,
}:
stdenv.mkDerivation rec {

View File

@ -1,18 +1,19 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, qtbase
, dtkgui
, gsettings-qt
, gtk3
, kconfig
, kwindowsystem
, kglobalaccel
, xorg
, iconv
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
qtbase,
dtkgui,
gsettings-qt,
gtk3,
kconfig,
kwindowsystem,
kglobalaccel,
xorg,
iconv,
}:
stdenv.mkDerivation rec {

View File

@ -1,10 +1,11 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qt6Packages
, dtk6core
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qt6Packages,
dtk6core,
}:
stdenv.mkDerivation rec {

View File

@ -1,19 +1,20 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, dtkwidget
, qt5integration
, qt5platform-plugins
, dde-qt-dbus-factory
, qtbase
, qtsvg
, libical
, sqlite
, runtimeShell
{
stdenv,
lib,
fetchFromGitHub,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
dtkwidget,
qt5integration,
qt5platform-plugins,
dde-qt-dbus-factory,
qtbase,
qtsvg,
libical,
sqlite,
runtimeShell,
}:
stdenv.mkDerivation rec {
@ -27,9 +28,7 @@ stdenv.mkDerivation rec {
hash = "sha256-08xkdiP0/haHY3jdHSoA1zXRxMi2t+qxLxbcRc7EO6Q=";
};
patches = [
./fix-wrapped-name-not-in-whitelist.diff
];
patches = [ ./fix-wrapped-name-not-in-whitelist.diff ];
postPatch = ''
for file in $(grep -rl "/bin/bash"); do
@ -68,4 +67,3 @@ stdenv.mkDerivation rec {
maintainers = teams.deepin.members;
};
}

View File

@ -1,18 +1,19 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, gio-qt
, cmake
, extra-cmake-modules
, qttools
, wayland
, kwayland
, dwayland
, pkg-config
, wrapQtAppsHook
, glibmm
, gtest
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
gio-qt,
cmake,
extra-cmake-modules,
qttools,
wayland,
kwayland,
dwayland,
pkg-config,
wrapQtAppsHook,
glibmm,
gtest,
}:
stdenv.mkDerivation rec {
@ -44,9 +45,7 @@ stdenv.mkDerivation rec {
gtest
];
cmakeFlags = [
"-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user"
];
cmakeFlags = [ "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" ];
meta = with lib; {
description = "DDE optional clipboard manager componment";

View File

@ -1,25 +1,26 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, doxygen
, wrapQtAppsHook
, wrapGAppsHook3
, dtkwidget
, qt5integration
, qt5platform-plugins
, deepin-pw-check
, qtbase
, qtx11extras
, qtmultimedia
, polkit-qt
, libxcrypt
, librsvg
, gtest
, runtimeShell
, dbus
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
doxygen,
wrapQtAppsHook,
wrapGAppsHook3,
dtkwidget,
qt5integration,
qt5platform-plugins,
deepin-pw-check,
qtbase,
qtx11extras,
qtmultimedia,
polkit-qt,
libxcrypt,
librsvg,
gtest,
runtimeShell,
dbus,
}:
stdenv.mkDerivation rec {
@ -89,7 +90,10 @@ stdenv.mkDerivation rec {
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
meta = with lib; {
description = "Control panel of Deepin Desktop Environment";

View File

@ -1,21 +1,22 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, extra-cmake-modules
, qttools
, pkg-config
, wrapQtAppsHook
, wrapGAppsHook3
, qtbase
, dtkwidget
, qt5integration
, qt5platform-plugins
, dwayland
, qtx11extras
, gsettings-qt
, libdbusmenu
, xorg
{
stdenv,
lib,
fetchFromGitHub,
cmake,
extra-cmake-modules,
qttools,
pkg-config,
wrapQtAppsHook,
wrapGAppsHook3,
qtbase,
dtkwidget,
qt5integration,
qt5platform-plugins,
dwayland,
qtx11extras,
gsettings-qt,
libdbusmenu,
xorg,
}:
stdenv.mkDerivation rec {
@ -39,7 +40,7 @@ stdenv.mkDerivation rec {
for file in $(grep -rl "/usr/lib/deepin-daemon"); do
substituteInPlace $file --replace "/usr/lib/deepin-daemon" "/run/current-system/sw/lib/deepin-daemon"
done
'';
'';
nativeBuildInputs = [
cmake
@ -65,14 +66,15 @@ stdenv.mkDerivation rec {
xorg.libXres
];
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
cmakeFlags = [ "-DVERSION=${version}" ];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")

View File

@ -1,44 +1,45 @@
{ stdenv
, lib
, fetchFromGitHub
, runtimeShell
, dtkwidget
, qt5integration
, qt5platform-plugins
, dde-qt-dbus-factory
, docparser
, dde-dock
, cmake
, qttools
, qtx11extras
, qtmultimedia
, kcodecs
, pkg-config
, ffmpegthumbnailer
, libsecret
, libmediainfo
, mediainfo
, libzen
, poppler
, polkit-qt
, polkit
, wrapQtAppsHook
, wrapGAppsHook3
, lucenepp
, boost
, taglib
, cryptsetup
, glib
, qtbase
, util-dfm
, deepin-pdfium
, libuuid
, libselinux
, glibmm
, pcre
, udisks2
, libisoburn
, gsettings-qt
{
stdenv,
lib,
fetchFromGitHub,
runtimeShell,
dtkwidget,
qt5integration,
qt5platform-plugins,
dde-qt-dbus-factory,
docparser,
dde-dock,
cmake,
qttools,
qtx11extras,
qtmultimedia,
kcodecs,
pkg-config,
ffmpegthumbnailer,
libsecret,
libmediainfo,
mediainfo,
libzen,
poppler,
polkit-qt,
polkit,
wrapQtAppsHook,
wrapGAppsHook3,
lucenepp,
boost,
taglib,
cryptsetup,
glib,
qtbase,
util-dfm,
deepin-pdfium,
libuuid,
libselinux,
glibmm,
pcre,
udisks2,
libisoburn,
gsettings-qt,
}:
stdenv.mkDerivation rec {
@ -61,9 +62,7 @@ stdenv.mkDerivation rec {
];
dontWrapGApps = true;
patches = [
./patch_check_v23_interface.diff
];
patches = [ ./patch_check_v23_interface.diff ];
postPatch = ''
patchShebangs .
@ -132,9 +131,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
@ -148,4 +145,3 @@ stdenv.mkDerivation rec {
maintainers = teams.deepin.members;
};
}

View File

@ -1,21 +1,22 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, dtkwidget
, dde-qt-dbus-factory
, dde-dock
, deepin-pdfium
, qt5integration
, qt5platform-plugins
, taglib
, ffmpeg
, ffmpegthumbnailer
, pcre
, dbus
{
stdenv,
lib,
fetchFromGitHub,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
dtkwidget,
dde-qt-dbus-factory,
dde-dock,
deepin-pdfium,
qt5integration,
qt5platform-plugins,
taglib,
ffmpeg,
ffmpegthumbnailer,
pcre,
dbus,
}:
stdenv.mkDerivation rec {

View File

@ -1,17 +1,18 @@
{ lib
, runCommand
, glib
, gtk3
, dde-grand-search
, startdde
, dde-session-shell
, dde-file-manager
, deepin-desktop-schemas
, deepin-movie-reborn
, deepin-system-monitor
, gsettings-desktop-schemas
, extraGSettingsOverrides ? ""
, extraGSettingsOverridePackages ? [ ]
{
lib,
runCommand,
glib,
gtk3,
dde-grand-search,
startdde,
dde-session-shell,
dde-file-manager,
deepin-desktop-schemas,
deepin-movie-reborn,
deepin-system-monitor,
gsettings-desktop-schemas,
extraGSettingsOverrides ? "",
extraGSettingsOverridePackages ? [ ],
}:
let

View File

@ -1,13 +1,14 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qt6Packages
, qt6integration
, qt6platform-plugins
, dtk6declarative
, dde-shell
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qt6Packages,
qt6integration,
qt6platform-plugins,
dtk6declarative,
dde-shell,
}:
stdenv.mkDerivation rec {
@ -28,21 +29,21 @@ stdenv.mkDerivation rec {
qt6Packages.wrapQtAppsHook
];
buildInputs = [
qt6integration
qt6platform-plugins
dtk6declarative
dde-shell
] ++ (with qt6Packages; [
qtbase
qtsvg
qtwayland
appstream-qt
]);
buildInputs =
[
qt6integration
qt6platform-plugins
dtk6declarative
dde-shell
]
++ (with qt6Packages; [
qtbase
qtsvg
qtwayland
appstream-qt
]);
cmakeFlags = [
"-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user"
];
cmakeFlags = [ "-DSYSTEMD_USER_UNIT_DIR=${placeholder "out"}/lib/systemd/user" ];
meta = with lib; {
description = "'launcher' or 'start menu' component for DDE";

View File

@ -1,19 +1,20 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, qtbase
, qtsvg
, dtkwidget
, dde-dock
, dde-control-center
, dde-session-shell
, networkmanager-qt
, glib
, gtest
{
stdenv,
lib,
fetchFromGitHub,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
qtbase,
qtsvg,
dtkwidget,
dde-dock,
dde-control-center,
dde-session-shell,
networkmanager-qt,
glib,
gtest,
}:
stdenv.mkDerivation rec {
@ -46,9 +47,7 @@ stdenv.mkDerivation rec {
gtest
];
cmakeFlags = [
"-DVERSION=${version}"
];
cmakeFlags = [ "-DVERSION=${version}" ];
strictDeps = true;

View File

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, qt5integration
, qt5platform-plugins
, dde-qt-dbus-factory
, pkg-config
, cmake
, qttools
, wrapQtAppsHook
, polkit-qt
, qtbase
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
qt5integration,
qt5platform-plugins,
dde-qt-dbus-factory,
pkg-config,
cmake,
qttools,
wrapQtAppsHook,
polkit-qt,
qtbase,
}:
stdenv.mkDerivation rec {
@ -39,9 +40,7 @@ stdenv.mkDerivation rec {
];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
postFixup = ''
wrapQtApp $out/lib/polkit-1-dde/dde-polkit-agent

View File

@ -1,26 +1,27 @@
{ stdenv
, lib
, fetchFromGitHub
, linkFarm
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, wrapGAppsHook3
, qtbase
, dtkwidget
, qt5integration
, qt5platform-plugins
, deepin-pw-check
, gsettings-qt
, lightdm_qt
, qtx11extras
, linux-pam
, xorg
, gtest
, xkeyboard_config
, dbus
, dde-session-shell
{
stdenv,
lib,
fetchFromGitHub,
linkFarm,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
wrapGAppsHook3,
qtbase,
dtkwidget,
qt5integration,
qt5platform-plugins,
deepin-pw-check,
gsettings-qt,
lightdm_qt,
qtx11extras,
linux-pam,
xorg,
gtest,
xkeyboard_config,
dbus,
dde-session-shell,
}:
stdenv.mkDerivation rec {
@ -85,21 +86,24 @@ stdenv.mkDerivation rec {
gtest
];
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.xgreeters = linkFarm "deepin-greeter-xgreeters" [{
path = "${dde-session-shell}/share/xgreeters/lightdm-deepin-greeter.desktop";
name = "lightdm-deepin-greeter.desktop";
}];
passthru.xgreeters = linkFarm "deepin-greeter-xgreeters" [
{
path = "${dde-session-shell}/share/xgreeters/lightdm-deepin-greeter.desktop";
name = "lightdm-deepin-greeter.desktop";
}
];
meta = with lib; {
description = "Deepin desktop-environment - session-shell module";

View File

@ -1,18 +1,19 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, qtbase
, dtkwidget
, qt5integration
, qt5platform-plugins
, dde-dock
, gsettings-qt
, qtx11extras
, gtest
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
qtbase,
dtkwidget,
qt5integration,
qt5platform-plugins,
dde-dock,
gsettings-qt,
qtx11extras,
gtest,
}:
stdenv.mkDerivation rec {
@ -55,14 +56,10 @@ stdenv.mkDerivation rec {
gtest
];
cmakeFlags = [
"-DDISABLE_SYS_UPDATE=ON"
];
cmakeFlags = [ "-DDISABLE_SYS_UPDATE=ON" ];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")

View File

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, qtbase
, dtkcore
, gsettings-qt
, libsecret
, xorg
, systemd
, dde-polkit-agent
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
qtbase,
dtkcore,
gsettings-qt,
libsecret,
xorg,
systemd,
dde-polkit-agent,
}:
stdenv.mkDerivation rec {

View File

@ -1,22 +1,23 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, extra-cmake-modules
, pkg-config
, wrapQtAppsHook
, wayland-scanner
, dtk6declarative
, dtk6widget
, dde-qt-dbus-factory
, qt6Packages
, qt6integration
, qt6platform-plugins
, kdePackages
, wayland
, wayland-protocols
, yaml-cpp
, xorg
{
stdenv,
lib,
fetchFromGitHub,
cmake,
extra-cmake-modules,
pkg-config,
wrapQtAppsHook,
wayland-scanner,
dtk6declarative,
dtk6widget,
dde-qt-dbus-factory,
qt6Packages,
qt6integration,
qt6platform-plugins,
kdePackages,
wayland,
wayland-protocols,
yaml-cpp,
xorg,
}:
stdenv.mkDerivation (finalAttrs: {
@ -73,15 +74,13 @@ stdenv.mkDerivation (finalAttrs: {
env.PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";
cmakeFlags = [
"-DQML_INSTALL_DIR=${placeholder "out"}/${qt6Packages.qtbase.qtQmlPrefix}"
];
cmakeFlags = [ "-DQML_INSTALL_DIR=${placeholder "out"}/${qt6Packages.qtbase.qtQmlPrefix}" ];
qtWrapperArgs = [
# qt6integration must be placed before qtsvg in QT_PLUGIN_PATH
"--prefix QT_PLUGIN_PATH : ${qt6integration}/${qt6Packages.qtbase.qtPluginPrefix}"
"--suffix DDE_SHELL_PLUGIN_PATH : /run/current-system/sw/lib/dde-shell"
"--suffix DDE_SHELL_PACKAGE_PATH : /run/current-system/sw/share/dde-shell"
# qt6integration must be placed before qtsvg in QT_PLUGIN_PATH
"--prefix QT_PLUGIN_PATH : ${qt6integration}/${qt6Packages.qtbase.qtPluginPrefix}"
"--suffix DDE_SHELL_PLUGIN_PATH : /run/current-system/sw/lib/dde-shell"
"--suffix DDE_SHELL_PACKAGE_PATH : /run/current-system/sw/share/dde-shell"
];
meta = {

View File

@ -1,15 +1,16 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, dde-qt-dbus-factory
, wrapQtAppsHook
, qtbase
, qtx11extras
, dtkwidget
, qt5integration
, gtest
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
dde-qt-dbus-factory,
wrapQtAppsHook,
qtbase,
qtx11extras,
dtkwidget,
qt5integration,
gtest,
}:
stdenv.mkDerivation rec {

View File

@ -1,37 +1,38 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wayland
, dwayland
, qtbase
, qttools
, qtx11extras
, wrapQtAppsHook
, extra-cmake-modules
, gsettings-qt
, libepoxy
, kconfig
, kconfigwidgets
, kcoreaddons
, kcrash
, kdbusaddons
, kiconthemes
, kglobalaccel
, kidletime
, knotifications
, kpackage
, plasma-framework
, kcmutils
, knewstuff
, kdecoration
, kscreenlocker
, breeze-qt5
, libinput
, mesa
, lcms2
, xorg
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wayland,
dwayland,
qtbase,
qttools,
qtx11extras,
wrapQtAppsHook,
extra-cmake-modules,
gsettings-qt,
libepoxy,
kconfig,
kconfigwidgets,
kcoreaddons,
kcrash,
kdbusaddons,
kiconthemes,
kglobalaccel,
kidletime,
knotifications,
kpackage,
plasma-framework,
kcmutils,
knewstuff,
kdecoration,
kscreenlocker,
breeze-qt5,
libinput,
mesa,
lcms2,
xorg,
}:
stdenv.mkDerivation rec {
@ -45,9 +46,7 @@ stdenv.mkDerivation rec {
hash = "sha256-EjPPjdxa+iL/nXhuccoM3NiLmGXh7Un2aGz8O3sP6xE=";
};
patches = [
./0001-hardcode-fallback-background.diff
];
patches = [ ./0001-hardcode-fallback-background.diff ];
# Avoid using absolute path to distinguish applications
postPatch = ''
@ -101,11 +100,12 @@ stdenv.mkDerivation rec {
xorg.libXScrnSaver
];
cmakeFlags = [
"-DKWIN_BUILD_RUNNERS=OFF"
];
cmakeFlags = [ "-DKWIN_BUILD_RUNNERS=OFF" ];
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
meta = with lib; {
description = "Fork of kwin, an easy to use, but flexible, composited Window Manager";

View File

@ -1,9 +1,10 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
}:
stdenv.mkDerivation rec {

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, dde-polkit-agent
, qt5integration
, libsecret
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
dtkwidget,
dde-polkit-agent,
qt5integration,
libsecret,
}:
stdenv.mkDerivation rec {

View File

@ -1,110 +1,118 @@
{ lib, pkgs, config, libsForQt5 }:
{
lib,
pkgs,
config,
libsForQt5,
}:
let
packages = self:
let
inherit (self) callPackage;
in {
#### LIBRARIES
dtkcommon = callPackage ./library/dtkcommon { };
dtkcore = callPackage ./library/dtkcore { };
dtkgui = callPackage ./library/dtkgui { };
dtkwidget = callPackage ./library/dtkwidget { };
dtkdeclarative = callPackage ./library/dtkdeclarative { };
dtklog = callPackage ./library/dtklog { };
deepin-pdfium = callPackage ./library/deepin-pdfium { };
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
qt5integration = callPackage ./library/qt5integration { };
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
deepin-ocr-plugin-manager = callPackage ./library/deepin-ocr-plugin-manager { };
dwayland = callPackage ./library/dwayland { };
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
disomaster = callPackage ./library/disomaster { };
docparser = callPackage ./library/docparser { };
gio-qt = callPackage ./library/gio-qt { };
image-editor = callPackage ./library/image-editor { };
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
util-dfm = callPackage ./library/util-dfm { };
dtk6core = callPackage ./library/dtk6core { };
dtk6gui = callPackage ./library/dtk6gui { };
dtk6widget = callPackage ./library/dtk6widget { };
dtk6declarative = callPackage ./library/dtk6declarative { };
dtk6systemsettings = callPackage ./library/dtk6systemsettings { };
dtk6log = callPackage ./library/dtk6log { };
qt6platform-plugins = callPackage ./library/qt6platform-plugins { };
qt6integration = callPackage ./library/qt6integration { };
packages =
self:
let
inherit (self) callPackage;
in
{
#### LIBRARIES
dtkcommon = callPackage ./library/dtkcommon { };
dtkcore = callPackage ./library/dtkcore { };
dtkgui = callPackage ./library/dtkgui { };
dtkwidget = callPackage ./library/dtkwidget { };
dtkdeclarative = callPackage ./library/dtkdeclarative { };
dtklog = callPackage ./library/dtklog { };
deepin-pdfium = callPackage ./library/deepin-pdfium { };
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
qt5integration = callPackage ./library/qt5integration { };
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
deepin-ocr-plugin-manager = callPackage ./library/deepin-ocr-plugin-manager { };
dwayland = callPackage ./library/dwayland { };
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
disomaster = callPackage ./library/disomaster { };
docparser = callPackage ./library/docparser { };
gio-qt = callPackage ./library/gio-qt { };
image-editor = callPackage ./library/image-editor { };
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
util-dfm = callPackage ./library/util-dfm { };
dtk6core = callPackage ./library/dtk6core { };
dtk6gui = callPackage ./library/dtk6gui { };
dtk6widget = callPackage ./library/dtk6widget { };
dtk6declarative = callPackage ./library/dtk6declarative { };
dtk6systemsettings = callPackage ./library/dtk6systemsettings { };
dtk6log = callPackage ./library/dtk6log { };
qt6platform-plugins = callPackage ./library/qt6platform-plugins { };
qt6integration = callPackage ./library/qt6integration { };
#### CORE
deepin-kwin = callPackage ./core/deepin-kwin { };
dde-appearance = callPackage ./core/dde-appearance { };
dde-app-services = callPackage ./core/dde-app-services { };
dde-application-manager = callPackage ./core/dde-application-manager { };
dde-control-center = callPackage ./core/dde-control-center { };
dde-calendar = callPackage ./core/dde-calendar { };
dde-clipboard = callPackage ./core/dde-clipboard { };
dde-dock = callPackage ./core/dde-dock { };
dde-file-manager = callPackage ./core/dde-file-manager { };
dde-launchpad = callPackage ./core/dde-launchpad { };
dde-network-core = callPackage ./core/dde-network-core { };
dde-session = callPackage ./core/dde-session { };
dde-session-shell = callPackage ./core/dde-session-shell { };
dde-session-ui = callPackage ./core/dde-session-ui { };
deepin-service-manager = callPackage ./core/deepin-service-manager { };
dde-polkit-agent = callPackage ./core/dde-polkit-agent { };
dpa-ext-gnomekeyring = callPackage ./core/dpa-ext-gnomekeyring { };
dde-gsettings-schemas = callPackage ./core/dde-gsettings-schemas { };
dde-widgets = callPackage ./core/dde-widgets { };
dde-shell = callPackage ./core/dde-shell { };
dde-grand-search = callPackage ./core/dde-grand-search { };
#### CORE
deepin-kwin = callPackage ./core/deepin-kwin { };
dde-appearance = callPackage ./core/dde-appearance { };
dde-app-services = callPackage ./core/dde-app-services { };
dde-application-manager = callPackage ./core/dde-application-manager { };
dde-control-center = callPackage ./core/dde-control-center { };
dde-calendar = callPackage ./core/dde-calendar { };
dde-clipboard = callPackage ./core/dde-clipboard { };
dde-dock = callPackage ./core/dde-dock { };
dde-file-manager = callPackage ./core/dde-file-manager { };
dde-launchpad = callPackage ./core/dde-launchpad { };
dde-network-core = callPackage ./core/dde-network-core { };
dde-session = callPackage ./core/dde-session { };
dde-session-shell = callPackage ./core/dde-session-shell { };
dde-session-ui = callPackage ./core/dde-session-ui { };
deepin-service-manager = callPackage ./core/deepin-service-manager { };
dde-polkit-agent = callPackage ./core/dde-polkit-agent { };
dpa-ext-gnomekeyring = callPackage ./core/dpa-ext-gnomekeyring { };
dde-gsettings-schemas = callPackage ./core/dde-gsettings-schemas { };
dde-widgets = callPackage ./core/dde-widgets { };
dde-shell = callPackage ./core/dde-shell { };
dde-grand-search = callPackage ./core/dde-grand-search { };
#### Dtk Application
deepin-album = callPackage ./apps/deepin-album { };
deepin-calculator = callPackage ./apps/deepin-calculator { };
deepin-camera = callPackage ./apps/deepin-camera { };
deepin-compressor = callPackage ./apps/deepin-compressor { };
deepin-draw = callPackage ./apps/deepin-draw { };
deepin-editor = callPackage ./apps/deepin-editor { };
deepin-image-viewer = callPackage ./apps/deepin-image-viewer { };
deepin-movie-reborn = callPackage ./apps/deepin-movie-reborn { };
deepin-music = callPackage ./apps/deepin-music { };
deepin-picker = callPackage ./apps/deepin-picker { };
deepin-screen-recorder = callPackage ./apps/deepin-screen-recorder { };
deepin-shortcut-viewer = callPackage ./apps/deepin-shortcut-viewer { };
deepin-system-monitor = callPackage ./apps/deepin-system-monitor { };
deepin-terminal = callPackage ./apps/deepin-terminal { };
deepin-reader = callPackage ./apps/deepin-reader { };
deepin-voice-note = callPackage ./apps/deepin-voice-note { };
deepin-screensaver = callPackage ./apps/deepin-screensaver { };
#### Dtk Application
deepin-album = callPackage ./apps/deepin-album { };
deepin-calculator = callPackage ./apps/deepin-calculator { };
deepin-camera = callPackage ./apps/deepin-camera { };
deepin-compressor = callPackage ./apps/deepin-compressor { };
deepin-draw = callPackage ./apps/deepin-draw { };
deepin-editor = callPackage ./apps/deepin-editor { };
deepin-image-viewer = callPackage ./apps/deepin-image-viewer { };
deepin-movie-reborn = callPackage ./apps/deepin-movie-reborn { };
deepin-music = callPackage ./apps/deepin-music { };
deepin-picker = callPackage ./apps/deepin-picker { };
deepin-screen-recorder = callPackage ./apps/deepin-screen-recorder { };
deepin-shortcut-viewer = callPackage ./apps/deepin-shortcut-viewer { };
deepin-system-monitor = callPackage ./apps/deepin-system-monitor { };
deepin-terminal = callPackage ./apps/deepin-terminal { };
deepin-reader = callPackage ./apps/deepin-reader { };
deepin-voice-note = callPackage ./apps/deepin-voice-note { };
deepin-screensaver = callPackage ./apps/deepin-screensaver { };
#### Go Packages
dde-api = callPackage ./go-package/dde-api { };
dde-daemon = callPackage ./go-package/dde-daemon { };
deepin-pw-check = callPackage ./go-package/deepin-pw-check { };
deepin-desktop-schemas = callPackage ./go-package/deepin-desktop-schemas { };
startdde = callPackage ./go-package/startdde { };
#### Go Packages
dde-api = callPackage ./go-package/dde-api { };
dde-daemon = callPackage ./go-package/dde-daemon { };
deepin-pw-check = callPackage ./go-package/deepin-pw-check { };
deepin-desktop-schemas = callPackage ./go-package/deepin-desktop-schemas { };
startdde = callPackage ./go-package/startdde { };
#### TOOLS
dde-device-formatter = callPackage ./tools/dde-device-formatter { };
deepin-gettext-tools = callPackage ./tools/deepin-gettext-tools { };
deepin-anything = callPackage ./tools/deepin-anything { };
#### TOOLS
dde-device-formatter = callPackage ./tools/dde-device-formatter { };
deepin-gettext-tools = callPackage ./tools/deepin-gettext-tools { };
deepin-anything = callPackage ./tools/deepin-anything { };
#### ARTWORK
dde-account-faces = callPackage ./artwork/dde-account-faces { };
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
deepin-wallpapers = callPackage ./artwork/deepin-wallpapers { };
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
deepin-desktop-theme = callPackage ./artwork/deepin-desktop-theme { };
#### ARTWORK
dde-account-faces = callPackage ./artwork/dde-account-faces { };
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
deepin-wallpapers = callPackage ./artwork/deepin-wallpapers { };
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
deepin-desktop-theme = callPackage ./artwork/deepin-desktop-theme { };
#### MISC
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
deepin-turbo = callPackage ./misc/deepin-turbo { };
} // lib.optionalAttrs config.allowAliases {
dde-kwin = throw "The 'deepin.dde-kwin' package was removed as it is outdated and no longer relevant."; # added 2023-09-27
dde-launcher = throw "The 'deepin.dde-launcher' is no longer maintained. Please use 'deepin.dde-launchpad' instead."; # added 2023-11-23
deepin-clone = throw "The 'deepin.deepin-clone' package was removed as it is broken and unmaintained."; # added 2024-08-23
go-lib = throw "Then 'deepin.go-lib' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-gir-generator = throw "Then 'deepin.go-gir-generator' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-dbus-factory = throw "Then 'deepin.go-dbus-factory' package was removed, use 'go mod' to manage it"; # added 2024-05-31
};
#### MISC
deepin-desktop-base = callPackage ./misc/deepin-desktop-base { };
deepin-turbo = callPackage ./misc/deepin-turbo { };
}
// lib.optionalAttrs config.allowAliases {
dde-kwin = throw "The 'deepin.dde-kwin' package was removed as it is outdated and no longer relevant."; # added 2023-09-27
dde-launcher = throw "The 'deepin.dde-launcher' is no longer maintained. Please use 'deepin.dde-launchpad' instead."; # added 2023-11-23
deepin-clone = throw "The 'deepin.deepin-clone' package was removed as it is broken and unmaintained."; # added 2024-08-23
go-lib = throw "Then 'deepin.go-lib' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-gir-generator = throw "Then 'deepin.go-gir-generator' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-dbus-factory = throw "Then 'deepin.go-dbus-factory' package was removed, use 'go mod' to manage it"; # added 2024-05-31
};
in
lib.makeScope libsForQt5.newScope packages

View File

@ -1,20 +1,21 @@
{ lib
, fetchFromGitHub
, buildGoModule
, pkg-config
, deepin-gettext-tools
, wrapQtAppsHook
, wrapGAppsHook3
, alsa-lib
, gtk3
, libcanberra
, libgudev
, librsvg
, poppler
, pulseaudio
, gdk-pixbuf-xlib
, coreutils
, dbus
{
lib,
fetchFromGitHub,
buildGoModule,
pkg-config,
deepin-gettext-tools,
wrapQtAppsHook,
wrapGAppsHook3,
alsa-lib,
gtk3,
libcanberra,
libgudev,
librsvg,
poppler,
pulseaudio,
gdk-pixbuf-xlib,
coreutils,
dbus,
}:
buildGoModule rec {

View File

@ -1,38 +1,39 @@
{ lib
, fetchFromGitHub
, substituteAll
, buildGoModule
, pkg-config
, deepin-gettext-tools
, gettext
, python3
, wrapGAppsHook3
, ddcutil
, alsa-lib
, glib
, gtk3
, libgudev
, libinput
, libnl
, librsvg
, linux-pam
, libxcrypt
, networkmanager
, pulseaudio
, gdk-pixbuf-xlib
, tzdata
, xkeyboard_config
, runtimeShell
, xorg
, xdotool
, getconf
, dbus
, util-linux
, dde-session-ui
, coreutils
, lshw
, dmidecode
, systemd
{
lib,
fetchFromGitHub,
substituteAll,
buildGoModule,
pkg-config,
deepin-gettext-tools,
gettext,
python3,
wrapGAppsHook3,
ddcutil,
alsa-lib,
glib,
gtk3,
libgudev,
libinput,
libnl,
librsvg,
linux-pam,
libxcrypt,
networkmanager,
pulseaudio,
gdk-pixbuf-xlib,
tzdata,
xkeyboard_config,
runtimeShell,
xorg,
xdotool,
getconf,
dbus,
util-linux,
dde-session-ui,
coreutils,
lshw,
dmidecode,
systemd,
}:
buildGoModule rec {
@ -133,7 +134,16 @@ buildGoModule rec {
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ util-linux dde-session-ui glib lshw dmidecode systemd ]}"
--prefix PATH : "${
lib.makeBinPath [
util-linux
dde-session-ui
glib
lshw
dmidecode
systemd
]
}"
)
'';

View File

@ -1,8 +1,9 @@
{ stdenv
, lib
, buildGoModule
, fetchFromGitHub
, glib
{
stdenv,
lib,
buildGoModule,
fetchFromGitHub,
glib,
}:
buildGoModule rec {

View File

@ -1,15 +1,16 @@
{ lib
, fetchFromGitHub
, buildGoModule
, pkg-config
, deepin-gettext-tools
, gtk3
, glib
, libxcrypt
, gettext
, iniparser
, cracklib
, linux-pam
{
lib,
fetchFromGitHub,
buildGoModule,
pkg-config,
deepin-gettext-tools,
gtk3,
glib,
libxcrypt,
gettext,
iniparser,
cracklib,
linux-pam,
}:
buildGoModule rec {
@ -23,9 +24,7 @@ buildGoModule rec {
hash = "sha256-kBrkcB0IWGUV4ZrkFzwdPglRgDcnVvYDFhTXS20pKOk=";
};
patches = [
"${src}/rpm/0001-Mangle-Suit-Cracklib2.9.6.patch"
];
patches = [ "${src}/rpm/0001-Mangle-Suit-Cracklib2.9.6.patch" ];
vendorHash = "sha256-L0vUEkUN70Hrx5roIvTfaZBHbbq7mf3WpQJeFAMU5HY=";

View File

@ -1,19 +1,20 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gettext
, pkg-config
, jq
, wrapGAppsHook3
, glib
, libgnome-keyring
, gtk3
, alsa-lib
, pulseaudio
, libgudev
, libsecret
, runtimeShell
, dbus
{
lib,
buildGoModule,
fetchFromGitHub,
gettext,
pkg-config,
jq,
wrapGAppsHook3,
glib,
libgnome-keyring,
gtk3,
alsa-lib,
pulseaudio,
libgudev,
libsecret,
runtimeShell,
dbus,
}:
buildGoModule rec {

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, qtbase
, wrapQtAppsHook
, python3
, dtkcore
{
stdenv,
lib,
fetchFromGitHub,
qmake,
qtbase,
wrapQtAppsHook,
python3,
dtkcore,
}:
stdenv.mkDerivation rec {

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, cmake
, qttools
, wrapQtAppsHook
, libisoburn
, ncnn
, opencv
, vulkan-headers
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
cmake,
qttools,
wrapQtAppsHook,
libisoburn,
ncnn,
opencv,
vulkan-headers,
}:
stdenv.mkDerivation rec {

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, pkg-config
, libchardet
, lcms2
, openjpeg
{
stdenv,
lib,
fetchFromGitHub,
qmake,
pkg-config,
libchardet,
lcms2,
openjpeg,
}:
stdenv.mkDerivation rec {

View File

@ -1,8 +1,9 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, extra-cmake-modules
{
stdenv,
lib,
fetchFromGitHub,
cmake,
extra-cmake-modules,
}:
stdenv.mkDerivation rec {

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, qmake
, qttools
, wrapQtAppsHook
, libisoburn
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
qmake,
qttools,
wrapQtAppsHook,
libisoburn,
}:
stdenv.mkDerivation rec {

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, qmake
, qttools
, wrapQtAppsHook
, poppler
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
qmake,
qttools,
wrapQtAppsHook,
poppler,
}:
stdenv.mkDerivation rec {

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, qt6Packages
, lshw
, libuchardet
, dtkcommon
, dtk6log
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
qt6Packages,
lshw,
libuchardet,
dtkcommon,
dtk6log,
}:
stdenv.mkDerivation (finalAttrs: {
@ -48,7 +49,10 @@ stdenv.mkDerivation (finalAttrs: {
libuchardet
];
propagatedBuildInputs = [ dtkcommon dtk6log ];
propagatedBuildInputs = [
dtkcommon
dtk6log
];
cmakeFlags = [
"-DDTK_VERSION=${finalAttrs.version}"
@ -66,7 +70,11 @@ stdenv.mkDerivation (finalAttrs: {
export QT_PLUGIN_PATH=${lib.getBin qt6Packages.qtbase}/${qt6Packages.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/libexec/dtk6/DCore/bin/*; do

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, qt6Packages
, dtk6gui
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
qt6Packages,
dtk6gui,
}:
stdenv.mkDerivation (finalAttrs: {
@ -32,14 +33,14 @@ stdenv.mkDerivation (finalAttrs: {
qt6Packages.wrapQtAppsHook
];
propagatedBuildInputs = [
dtk6gui
] ++ (with qt6Packages ; [
qtbase
qtdeclarative
qtshadertools
qt5compat
]);
propagatedBuildInputs =
[ dtk6gui ]
++ (with qt6Packages; [
qtbase
qtdeclarative
qtshadertools
qt5compat
]);
cmakeFlags = [
"-DDTK_VERSION=${finalAttrs.version}"
@ -57,7 +58,11 @@ stdenv.mkDerivation (finalAttrs: {
export QML2_IMPORT_PATH=${lib.getBin qt6Packages.qtdeclarative}/${qt6Packages.qtbase.qtQmlPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
meta = {
description = "Widget development toolkit based on QtQuick/QtQml";

View File

@ -1,12 +1,13 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, qt6Packages
, dtk6core
, librsvg
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
qt6Packages,
dtk6core,
librsvg,
}:
stdenv.mkDerivation (finalAttrs: {
@ -56,7 +57,11 @@ stdenv.mkDerivation (finalAttrs: {
export QT_PLUGIN_PATH=${lib.getBin qt6Packages.qtbase}/${qt6Packages.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/libexec/dtk6/DGui/bin/*; do

View File

@ -1,12 +1,13 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, qt6Packages
, dtk6core
, libxcrypt
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
qt6Packages,
dtk6core,
libxcrypt,
}:
stdenv.mkDerivation rec {
@ -50,7 +51,11 @@ stdenv.mkDerivation rec {
export QT_PLUGIN_PATH=${lib.getBin qt6Packages.qtbase}/${qt6Packages.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
meta = {
description = "Qt-based development library for system settings";

View File

@ -1,13 +1,14 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, qt6Packages
, dtk6gui
, cups
, libstartup_notification
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
qt6Packages,
dtk6gui,
cups,
libstartup_notification,
}:
stdenv.mkDerivation (finalAttrs: {
@ -40,14 +41,16 @@ stdenv.mkDerivation (finalAttrs: {
qt6Packages.wrapQtAppsHook
];
buildInputs = [
cups
libstartup_notification
] ++ (with qt6Packages; [
qtbase
qtmultimedia
qtsvg
]);
buildInputs =
[
cups
libstartup_notification
]
++ (with qt6Packages; [
qtbase
qtmultimedia
qtsvg
]);
propagatedBuildInputs = [ dtk6gui ];
@ -64,7 +67,11 @@ stdenv.mkDerivation (finalAttrs: {
export QT_PLUGIN_PATH=${lib.getBin qt6Packages.qtbase}/${qt6Packages.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/lib/dtk6/DWidget/bin/*; do

View File

@ -1,7 +1,8 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
{
stdenv,
lib,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
@ -15,9 +16,7 @@ stdenv.mkDerivation rec {
hash = "sha256-e+8kG9bB6iby2RgD8jn75GyefLRHNnjD+n04hXbi5ec=";
};
nativeBuildInputs = [
cmake
];
nativeBuildInputs = [ cmake ];
dontWrapQtApps = true;

View File

@ -1,15 +1,16 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, libsForQt5
, gsettings-qt
, lshw
, libuchardet
, dtkcommon
, dtklog
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
libsForQt5,
gsettings-qt,
lshw,
libuchardet,
dtkcommon,
dtklog,
}:
stdenv.mkDerivation rec {
@ -50,7 +51,10 @@ stdenv.mkDerivation rec {
libuchardet
];
propagatedBuildInputs = [ dtkcommon dtklog ];
propagatedBuildInputs = [
dtkcommon
dtklog
];
cmakeFlags = [
"-DDTK_VERSION=${version}"
@ -69,7 +73,11 @@ stdenv.mkDerivation rec {
export QT_PLUGIN_PATH=${libsForQt5.qtbase.bin}/${libsForQt5.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/libexec/dtk5/DCore/bin/*; do

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, libsForQt5
, dtkgui
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
libsForQt5,
dtkgui,
}:
stdenv.mkDerivation rec {
@ -55,7 +56,11 @@ stdenv.mkDerivation rec {
export QML2_IMPORT_PATH=${libsForQt5.qtdeclarative.bin}/${libsForQt5.qtbase.qtQmlPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
meta = with lib; {
description = "Widget development toolkit based on QtQuick/QtQml";

View File

@ -1,13 +1,14 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, cmake
, doxygen
, libsForQt5
, dtkcore
, lxqt
, librsvg
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
cmake,
doxygen,
libsForQt5,
dtkcore,
lxqt,
librsvg,
}:
stdenv.mkDerivation rec {
@ -58,7 +59,11 @@ stdenv.mkDerivation rec {
export QT_PLUGIN_PATH=${libsForQt5.qtbase.bin}/${libsForQt5.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/libexec/dtk5/DGui/bin/*; do

View File

@ -1,15 +1,16 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, doxygen
, libsForQt5
, dtkgui
, cups
, gsettings-qt
, libstartup_notification
, xorg
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
doxygen,
libsForQt5,
dtkgui,
cups,
gsettings-qt,
libstartup_notification,
xorg,
}:
stdenv.mkDerivation rec {
@ -68,7 +69,11 @@ stdenv.mkDerivation rec {
export QT_PLUGIN_PATH=${libsForQt5.qtbase.bin}/${libsForQt5.qtbase.qtPluginPrefix}
'';
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
postFixup = ''
for binary in $out/lib/dtk5/DWidget/bin/*; do

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, qtbase
, qtwayland
, wayland
, wayland-protocols
, extra-cmake-modules
, deepin-wayland-protocols
, qttools
{
stdenv,
lib,
fetchFromGitHub,
cmake,
qtbase,
qtwayland,
wayland,
wayland-protocols,
extra-cmake-modules,
deepin-wayland-protocols,
qttools,
}:
stdenv.mkDerivation rec {
@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
# cmake requires that the kf5 directory must not empty
postInstall = ''
mkdir $out/include/KF5
mkdir $out/include/KF5
'';
meta = with lib; {

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, glibmm
, doxygen
, qttools
, qtbase
, buildDocs ? true
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
glibmm,
doxygen,
qttools,
qtbase,
buildDocs ? true,
}:
stdenv.mkDerivation rec {
@ -29,11 +30,16 @@ stdenv.mkDerivation rec {
--replace "include(qt6.cmake)" " "
'';
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
] ++ lib.optionals buildDocs [ doxygen qttools.dev ];
nativeBuildInputs =
[
cmake
pkg-config
wrapQtAppsHook
]
++ lib.optionals buildDocs [
doxygen
qttools.dev
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"

View File

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, cmake
, qttools
, pkg-config
, wrapQtAppsHook
, opencv
, freeimage
, libmediainfo
, ffmpegthumbnailer
, pcre
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
cmake,
qttools,
pkg-config,
wrapQtAppsHook,
opencv,
freeimage,
libmediainfo,
ffmpegthumbnailer,
pcre,
}:
stdenv.mkDerivation rec {
@ -29,7 +30,12 @@ stdenv.mkDerivation rec {
substituteInPlace libimagevisualresult/CMakeLists.txt --replace '/usr' '$out'
'';
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
nativeBuildInputs = [
cmake
pkg-config
qttools
wrapQtAppsHook
];
buildInputs = [
dtkwidget
@ -40,9 +46,7 @@ stdenv.mkDerivation rec {
pcre
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
meta = with lib; {
description = "Image editor lib for dtk";

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, cmake
, pkg-config
, libsForQt5
, lxqt
, mtdev
, xorg
, gtest
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
cmake,
pkg-config,
libsForQt5,
lxqt,
mtdev,
xorg,
gtest,
}:
stdenv.mkDerivation rec {

View File

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, extra-cmake-modules
, pkg-config
, dtkcommon
, libsForQt5
, mtdev
, cairo
, xorg
, wayland
, dwayland
{
stdenv,
lib,
fetchFromGitHub,
cmake,
extra-cmake-modules,
pkg-config,
dtkcommon,
libsForQt5,
mtdev,
cairo,
xorg,
wayland,
dwayland,
}:
stdenv.mkDerivation rec {

View File

@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, dtk6widget
, qt6Packages
, gtest
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
dtk6widget,
qt6Packages,
gtest,
}:
stdenv.mkDerivation rec {

View File

@ -1,13 +1,14 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, mtdev
, cairo
, xorg
, qt6Packages
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
mtdev,
cairo,
xorg,
qt6Packages,
}:
stdenv.mkDerivation rec {

View File

@ -1,10 +1,11 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, pkg-config
, wrapQtAppsHook
, udisks
{
stdenv,
lib,
fetchFromGitHub,
qmake,
pkg-config,
wrapQtAppsHook,
udisks,
}:
stdenv.mkDerivation rec {
@ -18,7 +19,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-WS4fmqEYXi5dkn8RvyJBzy3+r+UgFcGDFFpQlbblLu4=";
};
nativeBuildInputs = [ qmake pkg-config wrapQtAppsHook ];
nativeBuildInputs = [
qmake
pkg-config
wrapQtAppsHook
];
buildInputs = [ udisks ];

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qtbase
, libmediainfo
, libsecret
, libisoburn
, libuuid
, udisks
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
qtbase,
libmediainfo,
libsecret,
libisoburn,
libuuid,
udisks,
}:
stdenv.mkDerivation rec {

View File

@ -1,7 +1,8 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, nixos-icons
{
stdenvNoCC,
lib,
fetchFromGitHub,
nixos-icons,
}:
stdenvNoCC.mkDerivation rec {
pname = "deepin-desktop-base";
@ -39,7 +40,10 @@ stdenvNoCC.mkDerivation rec {
meta = with lib; {
description = "Base assets and definitions for Deepin Desktop Environment";
homepage = "https://github.com/linuxdeepin/deepin-desktop-base";
license = with licenses; [ gpl3Plus cc-by-40 ];
license = with licenses; [
gpl3Plus
cc-by-40
];
platforms = platforms.linux;
maintainers = teams.deepin.members;
};

View File

@ -1,10 +1,11 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, dtkwidget
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
dtkwidget,
}:
stdenv.mkDerivation rec {
@ -24,9 +25,7 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [
dtkwidget
];
buildInputs = [ dtkwidget ];
postPatch = ''
substituteInPlace src/{booster-dtkwidget/CMakeLists.txt,booster-desktop/{CMakeLists.txt,desktop.conf},booster-generic/CMakeLists.txt} --replace "/usr" "$out"

View File

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
, deepin-gettext-tools
, qt5integration
, qmake
, qtbase
, qttools
, qtx11extras
, pkg-config
, wrapQtAppsHook
, udisks2-qt5
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
deepin-gettext-tools,
qt5integration,
qmake,
qtbase,
qttools,
qtx11extras,
pkg-config,
wrapQtAppsHook,
udisks2-qt5,
}:
stdenv.mkDerivation rec {
@ -49,9 +50,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DVERSION=${version}" ];
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
];
qtWrapperArgs = [ "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" ];
meta = with lib; {
description = "Simple graphical interface for creating file system in a block device";

View File

@ -1,14 +1,15 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, udisks2-qt5
, util-linux
, libnl
, glib
, pcre
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
udisks2-qt5,
util-linux,
libnl,
glib,
pcre,
}:
stdenv.mkDerivation rec {

View File

@ -1,9 +1,10 @@
{ stdenv
, lib
, fetchFromGitHub
, gettext
, python3Packages
, perlPackages
{
stdenv,
lib,
fetchFromGitHub,
gettext,
python3Packages,
perlPackages,
}:
stdenv.mkDerivation rec {
@ -30,9 +31,7 @@ stdenv.mkDerivation rec {
perlPackages.XMLLibXML
];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postFixup = ''
wrapPythonPrograms